Enfusion Script API
Loading...
Searching...
No Matches
TestSuite Interface Reference

Collection of tests. More...

Inheritance diagram for TestSuite:
Managed

Public Member Functions

proto native void SetResult (TestResultBase res)
 Sets the suite result.
 
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!
 
- 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 of tests.

Member Function Documentation

◆ GetName()

proto string TestSuite.GetName ( )

Suite class name getter. Strictly for UI porposes!

◆ GetNTests()

proto native int TestSuite.GetNTests ( )

Returns the number for tests within this suite.

◆ GetTest()

proto native TestBase TestSuite.GetTest ( int handle)

Returns a test.

◆ IsEnabled()

proto native bool TestSuite.IsEnabled ( )

Enabled flag getter.

◆ SetEnabled()

proto native void TestSuite.SetEnabled ( bool val)

Enables/Disables the suites. Disabled suites won't run at all.

◆ SetResult()

proto native void TestSuite.SetResult ( TestResultBase res)

Sets the suite result.

Failure can result in specialized behavior described in TestResultBase.


The documentation for this interface was generated from the following file: