Declarations
Public Only
enum LogType {
IOFailure,
UnknownFailure,
Information,
ConfigFailure,
Warning,
Success,
Error,
Panic,
NetworkFailure,
MemoryFailure,
RuntimeFailure,
OutOfBoundFailure,
ResourceFailure,
TodoFailure,
SecurityFailure,
WTFFailure
}
interface TestEnv
this interface is exposed to client testing environment
tests use this interface to send messages to the parent executable
func get_test_id(self : &TestEnv) : int
* get the current test id
* less than zero when not known due to a failure
* get the group name this test belongs to
* empty when belongs to no group
* this function logs it
func quit_current_group(self : &TestEnv, reason : *char) : void
* quits the current group of tests
func quit_all_tests(self : &TestEnv, reason : *char) : void
* quit all the tests running
func info(env : &TestEnv, msg : *char) : void
func warning(env : &TestEnv, msg : *char) : void
func warn(env : &TestEnv, msg : *char) : void
func success(env : &TestEnv, msg : *char) : void
func error(env : &TestEnv, msg : *char) : void
func panic(env : &TestEnv, msg : *char) : void