public class IlrRBTScenarioReport
extends java.lang.Object
| Constructor and Description |
|---|
IlrRBTScenarioReport(java.lang.String executionId,
java.lang.String scenarioName)
Creates a new
IlrRBTScenarioReport instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
failOrSkip(java.lang.String testName,
java.lang.String messageKey,
java.lang.Object[] messageParameters,
java.lang.String messageLocale,
boolean fail)
Adds a test failure or a test skipped report.
|
java.lang.String |
getExecutionId()
Returns the execution ID.
|
java.lang.String |
getScenarioName()
Returns the name of the scenario.
|
java.util.List<IlrTestResult> |
getTestResults()
Returns the results for the tests run in this scenario.
|
void |
succeed(java.lang.String testName,
java.lang.String messageKey,
java.lang.Object[] messageParameters,
java.lang.String messageLocale)
Adds a test success report.
|
public IlrRBTScenarioReport(java.lang.String executionId,
java.lang.String scenarioName)
IlrRBTScenarioReport instance.executionId - The execution ID.scenarioName - The name of the scenario.public java.lang.String getExecutionId()
public java.lang.String getScenarioName()
public void failOrSkip(java.lang.String testName,
java.lang.String messageKey,
java.lang.Object[] messageParameters,
java.lang.String messageLocale,
boolean fail)
testName - The name of the test.messageKey - The message key in the messages bundle.messageParameters - The message parameters.messageLocale - The locale for the message in the following format: [language][_COUNTRY[_variant]]. Tokens between the brackets [] are optional.fail - Set to true if this is a failure report. Set to false for a skip report.public void succeed(java.lang.String testName,
java.lang.String messageKey,
java.lang.Object[] messageParameters,
java.lang.String messageLocale)
testName - The name of the test.messageKey - The message key in the messages bundle.messageParameters - The message parameters.messageLocale - The locale for the message in the following format: [language][_COUNTRY[_variant]]. Tokens between the brackets [] are optional.public java.util.List<IlrTestResult> getTestResults()
© Copyright IBM Corp. 1987, 2017