Loading...
Searching...
No Matches
TestSuite Interface Reference

Collection of tests. Provides API for environment preparation. More...

Inheritance diagram for TestSuite:
Managed MyTestSuite

Public Member Functions

proto external void SetResult (TestResultBase res)
 Sets the suite result.
 
proto external void SetEnabled (bool val)
 Enables/Disables the suites. Disabled suites won't run at all.
 
proto external bool IsEnabled ()
 Enabled flag getter.
 
proto external int GetNTests ()
 Returns the number for tests within this suite.
 
proto external TestBase GetTest (int handle)
 Returns a test.
 
proto external string GetName ()
 Suite class name getter. Strictly for UI porposes!
 
proto external void AddTest (notnull TestBase test)
 
- 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. Provides API for environment preparation.

Member Function Documentation

◆ AddTest()

proto external void TestSuite.AddTest ( notnull TestBase test)

◆ GetName()

proto external string TestSuite.GetName ( )

Suite class name getter. Strictly for UI porposes!

◆ GetNTests()

proto external int TestSuite.GetNTests ( )

Returns the number for tests within this suite.

◆ GetTest()

proto external TestBase TestSuite.GetTest ( int handle)

Returns a test.

◆ IsEnabled()

proto external bool TestSuite.IsEnabled ( )

Enabled flag getter.

◆ SetEnabled()

proto external void TestSuite.SetEnabled ( bool val)

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

◆ SetResult()

proto external 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: