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.
 
ResourceName GetWorldSystemsConfigFile ()
 Override in your user test suites to specify the world systems config the test will run with.
 
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.
 

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.

◆ GetWorldSystemsConfigFile()

ResourceName SCR_AutotestSuiteBase.GetWorldSystemsConfigFile ( )

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

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


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