|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILightestTestListener
| Method Summary | |
|---|---|
void |
addEnvironmentMapping(Class testClass,
ITestEnvironment env)
Records the mapping between a test class and the environment in which the test was performed. |
TestRegistry |
getRegistry()
Returns the registry of pending tests. |
void |
initializeReporters(String configText)
Invokes generateBaseReport() on all registered reporters that are instances of ILightestReporter. |
void |
onTaskComplete(ITaskResult taskResult,
ITestResult testResult)
Invoked each time a task finishes performing. |
void |
onTestFinish(ITestResult result)
Invoked when a test finishes, whether successfully or not (or skipped). |
void |
registerReporter(Object reporter)
Registers a new reporter to be notified of reportable events. |
void |
setDispatcherAssignmentStrategy(IDispatcherAssignmentStrategy strategy)
This listener is the mechanism through which the dispatcher assignment strategy is communicated to each testcase. |
void |
setOutputDir(String outputDir)
Sets the output directory to be propagated to all registered reporters. |
void |
setRegistry(TestRegistry registry)
Sets the registry of pending tests, which are tests that will be run that have not yet been reported on. |
| Methods inherited from interface org.testng.ISuiteListener |
|---|
onFinish, onStart |
| Methods inherited from interface org.testng.ITestListener |
|---|
onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestFailure, onTestSkipped, onTestStart, onTestSuccess |
| Methods inherited from interface org.testng.IReporter |
|---|
generateReport |
| Method Detail |
|---|
void setRegistry(TestRegistry registry)
registry - TestRegistry getRegistry()
void addEnvironmentMapping(Class testClass,
ITestEnvironment env)
testClass - env - void setDispatcherAssignmentStrategy(IDispatcherAssignmentStrategy strategy)
strategy - void onTestFinish(ITestResult result)
result -
void onTaskComplete(ITaskResult taskResult,
ITestResult testResult)
taskResult - the result of performing the tasktestResult - the ITestResult associated with the currently
executing testvoid registerReporter(Object reporter)
reporter - void initializeReporters(String configText)
configText - the textual configuration that was used to configure
this run, if any. May be null.void setOutputDir(String outputDir)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||