2020-04-10 11:15:17 +02:00
|
|
|
' Gambas test file
|
|
|
|
|
2020-04-26 11:01:48 +02:00
|
|
|
'' Can be executed to test a summary. Will fail.
|
2020-04-10 11:15:17 +02:00
|
|
|
|
|
|
|
Public Sub DoSomeAsserts()
|
|
|
|
|
|
|
|
Assert.Pass("Bla 1")
|
|
|
|
Assert.Pass("Bla 2")
|
|
|
|
Assert.Pass("Bla 3")
|
|
|
|
|
|
|
|
End
|
|
|
|
|
|
|
|
Public Sub DoSomeSkips()
|
|
|
|
|
|
|
|
Assert.Skip("Skip1")
|
|
|
|
Assert.Skip("Skip2")
|
|
|
|
|
|
|
|
End
|
|
|
|
|
|
|
|
Public Sub DoSomeTodo()
|
|
|
|
|
|
|
|
Assert.Todo("Todo1")
|
|
|
|
|
|
|
|
End
|
|
|
|
|
|
|
|
Public Sub DoOneFailure()
|
|
|
|
|
|
|
|
Assert.Ok(False, "Intentional failure")
|
|
|
|
|
2020-04-26 11:01:48 +02:00
|
|
|
End
|