gambas-source-code/main/lib/test/gb.test/.src/TestMyself/TestCrashes.test
gambas 5004f20609 Move 'gb.test' sources in '/main/lib'.
[INTERPRETER]
* NEW: Remove the now useless testing specific code.
* NEW: 'gbx3 -T' now just loads the 'gb.test' component and calls Test.Main() passing it the '-T' option argument.

[GB.TEST]
* NEW: Move 'gb.test' sources in '/main/lib'.
* NEW: 'gb.test' has now a part written in C that allows him to load project classes on demand.
2020-05-25 21:24:28 +02:00

22 lines
No EOL
317 B
Text

' Gambas test file
' Gambas test module file
''' Every test in this class crashes.
''' But the test system has to report it
''' and shall not crash itself
Public Sub TestErrorTwo()
Error.Raise("I shot the sheriff.")
End
Public Sub TestDoACrash()
Dim a As Long
'This is a crash
a = 3 / 0
End