Enfusion Script API
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
TestHarness Interface Reference

Collection and main interface of the Testing framework. More...

Inheritance diagram for TestHarness:
[legend]

Static Public Member Functions

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.
 

Additional Inherited Members

- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Detailed Description

Collection and main interface of the Testing framework.

Member Function Documentation

◆ 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

Returns a test suite.

◆ Report()

static proto string TestHarness.Report ( )
static

Generates a xml report.

◆ 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: