Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AutotestSuiteBase Interface Reference

Collection of game tests. More...

Inheritance diagram for SCR_AutotestSuiteBase:
SCR_TEST_Example1SubjectSuite

Public Member Functions

ResourceName GetWorldFile ()
 Override in your user test suites to specify the world the test will run in.
 
void Print (string msg, LogLevel level=LogLevel.NORMAL)
 Prints content of variable to console/log and autotest/log.
 
void PrintFormat (string fmt, string param1="", string param2="", string param3="", LogLevel level=LogLevel.NORMAL)
 Prints formated text to console/log and autotest/log.
 
bool ShouldSkipInGroup ()
 

Protected Attributes

bool m_bEnabled
 

Detailed Description

Collection of game tests.

Ensures the world is loaded before tests will run. Provides integration with test specific logger for improved output.

Member Function Documentation

◆ GetWorldFile()

ResourceName SCR_AutotestSuiteBase.GetWorldFile ( )

Override in your user test suites to specify the world the test will run in.

Implemented in SCR_TEST_Example1SubjectSuite.

◆ Print()

void SCR_AutotestSuiteBase.Print ( string msg,
LogLevel level = LogLevel::NORMAL )

Prints content of variable to console/log and autotest/log.

Shadows global Print to force the logs to go through SCR_AutotestPrinter.

◆ PrintFormat()

void SCR_AutotestSuiteBase.PrintFormat ( string fmt,
string param1 = "",
string param2 = "",
string param3 = "",
LogLevel level = LogLevel::NORMAL )

Prints formated text to console/log and autotest/log.

Shadows global PrintFormat to force the logs to go through SCR_AutotestPrinter.

◆ ShouldSkipInGroup()

bool SCR_AutotestSuiteBase.ShouldSkipInGroup ( )

Member Data Documentation

◆ m_bEnabled

bool SCR_AutotestSuiteBase.m_bEnabled
protected

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