![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | Test |
| Attribute used for tests annotation and assignment to Suites. More... | |
| class | TestBase |
| Test base class. More... | |
| class | TestHarness |
| Collection and main interface of the Testing framework. More... | |
Functions | |
| proto static native TestSuite | ActiveSuite () |
| Returns currently active TestSuite or null when none is active. | |
| proto static native void | Begin () |
| Starts up the testing process and initializes the structures. | |
| proto static native void | End () |
| Finalizes the testing process. | |
| TestBase Managed | Failure () |
| Base class for test results. This way you report back to the system. More complex failure types with descriptions can be reported by implementation of FailureText in format of junit [https://llg.cubic.org/docs/junit/]. | |
| string | FailureText () |
| Text used for xml report output. | |
| proto static native bool | Finished () |
| Returns true when all tests and suites finished. | |
| proto string | GetName () |
| Suite class name getter. Strictly for UI porposes! | |
| proto static native int | GetNSuites () |
| Returns number of test suites. | |
| proto native int | GetNTests () |
| Returns the number for tests within this suite. | |
| proto native TestResultBase | GetResult () |
| Result getter. | |
| proto static native TestSuite | GetSuite (int handle) |
| Returns a test suite. | |
| proto native TestBase | GetTest (int handle) |
| Returns a test. | |
| proto native bool | IsEnabled () |
| Enabled flag getter. | |
| proto native bool | NativeFailure () |
| proto native string | NativeFailureText () |
| void | OnInit () |
| Callback for user defined initialization. Called for all suites during TestHarness.Begin(). | |
| static proto string | Report () |
| Generates a xml report. | |
| proto static native bool | Run () |
| Starts the testing process. Returns true when all tests have finished. If some of them are still in progress false is reported. | |
| proto native void | SetEnabled (bool val) |
| Enables/Disables the suites. Disabled suites won't run at all. | |
| TestHarness Managed | SetResult (TestResultBase res) |
| Collection of tests. | |
| void | Step (EStage stage=EStage.Main) |
Variables | |
| class Test | Main |
| class Test | Setup |
| Stage definition used in conjunction with Step attribute. | |
| class Test | Stage |
| Attribute which marks a method as part of the testing process. | |
|
static |
Returns currently active TestSuite or null when none is active.
|
static |
Starts up the testing process and initializes the structures.
|
static |
Finalizes the testing process.
Referenced by DeactivateFishing(), ActionBase::Interrupt(), AnimatedActionBase::Interrupt(), FirearmActionDetachMagazine::OnStageStart(), ActionGetInTransport::OnUpdate(), ActionGetOutTransport::OnUpdate(), ActionSwitchSeats::OnUpdate(), FirearmActionBase::OnUpdate(), and Pulling().
|
static |
Returns true when all tests and suites finished.
|
static |
Returns number of test suites.
| proto native TestResultBase GetResult | ( | ) |
Result getter.
|
static |
Returns a test suite.
|
static |
Generates a xml report.
|
static |
Starts the testing process. Returns true when all tests have finished. If some of them are still in progress false is reported.
Definition at line 69 of file dayztools.c.
References MissionBatPath.