Collection and main interface of the Testing framework.
More...
|
proto static native bool | Run () |
| Starts the testing process.
|
|
static proto string | Report () |
| Generates a xml report.
|
|
proto static native int | GetNSuites () |
| Returns number of test suites.
|
|
proto static native TestSuite | GetSuite (int handle) |
| Returns a test suite.
|
|
proto static native TestSuite | ActiveSuite () |
| Returns currently active TestSuite or null when none is active.
|
|
proto static native bool | Finished () |
| Returns true when all tests and suites finished.
|
|
proto static native void | Begin () |
| Starts up the testing process and initializes the structures.
|
|
proto static native void | End () |
| Finalizes the testing process.
|
|
|
proto external ref Managed | Clone () |
| Return shallow copy of object, or null if it is not allowed (not public constructor)
|
|
Collection and main interface of the Testing framework.
◆ ActiveSuite()
proto static native TestSuite TestHarness.ActiveSuite |
( |
| ) |
|
|
static |
Returns currently active TestSuite or null when none is active.
◆ Begin()
proto static native void TestHarness.Begin |
( |
| ) |
|
|
static |
Starts up the testing process and initializes the structures.
◆ End()
proto static native void TestHarness.End |
( |
| ) |
|
|
static |
Finalizes the testing process.
◆ Finished()
proto static native bool TestHarness.Finished |
( |
| ) |
|
|
static |
Returns true when all tests and suites finished.
◆ GetNSuites()
proto static native int TestHarness.GetNSuites |
( |
| ) |
|
|
static |
Returns number of test suites.
◆ GetSuite()
proto static native TestSuite TestHarness.GetSuite |
( |
int |
handle | ) |
|
|
static |
◆ Report()
static proto string TestHarness.Report |
( |
| ) |
|
|
static |
◆ Run()
proto static native bool TestHarness.Run |
( |
| ) |
|
|
static |
Starts the testing process.
Returns true when all tests have finished. If some of them are still in progress false is reported.
The documentation for this interface was generated from the following file:
- GameLib/tests/TestingFramework.c