Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
testingframework.c File Reference

Go to the source code of this file.

Classes

class  Test
 Attribute used for tests annotation and assignment to Suites. More...
 
class  TestHarness
 Collection and main interface of the Testing framework. More...
 
class  TestBase
 Test base class. More...
 

Functions

void Step (EStage stage=EStage.Main)
 
TestHarness Managed SetResult (TestResultBase res)
 Collection of tests.
 
proto native int GetNTests ()
 Returns the number for tests within this suite.
 
proto native TestBase GetTest (int handle)
 Returns a test.
 
proto native void SetEnabled (bool val)
 Enables/Disables the suites. Disabled suites won't run at all.
 
proto native bool IsEnabled ()
 Enabled flag getter.
 
proto string GetName ()
 Suite class name getter. Strictly for UI porposes!
 
void OnInit ()
 Callback for user defined initialization. Called for all suites during TestHarness.Begin().
 
TestBase Managed Failure ()
 Return true of the result means failure.
 
proto native TestResultBase GetResult ()
 Result getter.
 
string FailureText ()
 Text used for xml report output.
 
proto native bool NativeFailure ()
 
proto native string NativeFailureText ()
 

Variables

class Test Setup
 Stage definition used in conjunction with Step attribute.
 
class Test Main
 
class Test Stage
 Attribute which marks a method as part of the testing process.
 

Function Documentation

◆ GetResult()

proto native TestResultBase Failure::GetResult ( )

Result getter.