Game test result.
More...
◆ SCR_AutotestResult()
| void SCR_AutotestResult.SCR_AutotestResult |
( |
bool | isSuccess, |
|
|
string | reason = "" ) |
◆ AsFailure()
| static SCR_AutotestResult SCR_AutotestResult.AsFailure |
( |
string | reason, |
|
|
string | param1 = "", |
|
|
string | param2 = "", |
|
|
string | param3 = "" ) |
|
static |
Create new result indicating that the test failed.
- Parameters
-
| [in] | reason | Reason for the failure, supports string interpolation. |
| [in] | param1 | String param |
| [in] | param2 | String param |
| [in] | param3 | String param |
- Returns
- Failure result
◆ AsSuccess()
Create new result indicating that the test succeeded.
- Returns
- Success result
◆ Failure()
| override bool SCR_AutotestResult.Failure |
( |
| ) |
|
Is failure.
- Returns
- true means failure
◆ FailureText()
| override string SCR_AutotestResult.FailureText |
( |
| ) |
|
Text used for xml report output.
◆ GetFailureReason()
| string SCR_AutotestResult.GetFailureReason |
( |
| ) |
|
◆ m_bIsSuccess
| bool SCR_AutotestResult.m_bIsSuccess |
|
protected |
◆ m_sFailureReason
| string SCR_AutotestResult.m_sFailureReason |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Tests/TestFramework/SCR_AutotestResult.c