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

Test base class. More...

Inheritance diagram for TestBase:
[legend]

Public Member Functions

proto native void SetResult (TestResultBase res)
 Sets the test result.
 
proto native TestResultBase GetResult ()
 Result getter.
 
proto native void SetEnabled (bool val)
 Enables/Disables the test. Disabled tests won't run at all.
 
proto native bool IsEnabled ()
 Enabled flag getter.
 
proto string GetName ()
 Test 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

Test base class.

Member Function Documentation

◆ GetName()

proto string TestBase.GetName ( )

Test name getter. Strictly for UI porposes!

◆ GetResult()

proto native TestResultBase TestBase.GetResult ( )

Result getter.

◆ IsEnabled()

proto native bool TestBase.IsEnabled ( )

Enabled flag getter.

◆ SetEnabled()

proto native void TestBase.SetEnabled ( bool  val)

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

◆ SetResult()

proto native void TestBase.SetResult ( TestResultBase  res)

Sets the test result.

Failure can result in specialized behavior described in TestResultBase.


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