![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| void | PrintTestSuitePrelude (TestSuite suite) |
| void | PrintTestSuiteEpilogue (TestSuite suite) |
| void | Log (string msg, LogLevel level=LogLevel.NORMAL, bool forceFileWrite=false, bool consoleLog=true) |
| Should be used in tests instead of global Print. Forwards test output to separate file. | |
| void | LogOnce (string msg, LogLevel level=LogLevel.NORMAL) |
| Prevents duplicate printing of the same message. Intended to be used with messages printed many times a second. | |
| void | LogTestCaseResult (TestBase test) |
Protected Attributes | |
| bool | m_bLogVerbose |
| ref FileHandle | m_LogFile |
| ref map< typename, ref array< string > > | m_mLogBuffer = new map<typename, ref array<string>>() |
| string | m_sLogOnceLastMsg |
| int | m_iLogOnceLastMsgCount |
Specialized logging class for tests. Outputs logs to console and also buffers them for later output to autotest log file. Should be used instead of Print and PrintFormat inside the SCR_AutotestSuite and SCR_AutotestCase classes.
Definition at line 6 of file SCR_AutotestPrinter.c.
|
inlineprotected |
Should be used in tests instead of global Print. Forwards test output to separate file.
Definition at line 36 of file SCR_AutotestPrinter.c.
Prevents duplicate printing of the same message. Intended to be used with messages printed many times a second.
Definition at line 74 of file SCR_AutotestPrinter.c.
|
inlineprotected |
Writes test result to console and autotest log files. If test is failed or verbose logging is enabled will additionaly print test log output for debugging.
Definition at line 99 of file SCR_AutotestPrinter.c.
|
inlineprotected |
Definition at line 28 of file SCR_AutotestPrinter.c.
|
inlineprotected |
Definition at line 20 of file SCR_AutotestPrinter.c.
|
protected |
Definition at line 11 of file SCR_AutotestPrinter.c.
|
protected |
Definition at line 17 of file SCR_AutotestPrinter.c.
|
protected |
Definition at line 12 of file SCR_AutotestPrinter.c.
|
protected |
Definition at line 14 of file SCR_AutotestPrinter.c.
|
protected |
Definition at line 16 of file SCR_AutotestPrinter.c.