@Component @Order(value=-5000) public class TestExecutionListener extends Object implements ExecutionListener
ExecutionListener which collects the results of all execution model elements and
provides them via getResults().| Constructor and Description |
|---|
TestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
classFailed(TestClass testClass,
Throwable throwable) |
void |
classSkipped(TestClass testClass) |
void |
classStarted(TestClass testClass) |
void |
classSucceeded(TestClass testClass) |
void |
executionFailed(ExecutionPlan executionPlan,
Throwable throwable) |
void |
executionStarted(ExecutionPlan executionPlan) |
void |
executionSucceeded(ExecutionPlan executionPlan) |
List<ExecutionResult> |
getResults() |
void |
stepFailed(TestStep testStep,
Throwable throwable) |
void |
stepSkipped(TestStep testStep) |
void |
stepStarted(TestStep testStep) |
void |
stepSucceeded(TestStep testStep) |
void |
suiteFailed(TestSuite testSuite,
Throwable throwable) |
void |
suiteSkipped(TestSuite testSuite) |
void |
suiteStarted(TestSuite testSuite) |
void |
suiteSucceeded(TestSuite testSuite) |
public void suiteStarted(TestSuite testSuite)
suiteStarted in interface ExecutionListenerpublic void suiteSucceeded(TestSuite testSuite)
suiteSucceeded in interface ExecutionListenerpublic void suiteFailed(TestSuite testSuite, Throwable throwable)
suiteFailed in interface ExecutionListenerpublic void suiteSkipped(TestSuite testSuite)
suiteSkipped in interface ExecutionListenerpublic void classStarted(TestClass testClass)
classStarted in interface ExecutionListenerpublic void classSucceeded(TestClass testClass)
classSucceeded in interface ExecutionListenerpublic void classFailed(TestClass testClass, Throwable throwable)
classFailed in interface ExecutionListenerpublic void classSkipped(TestClass testClass)
classSkipped in interface ExecutionListenerpublic void stepStarted(TestStep testStep)
stepStarted in interface ExecutionListenerpublic void stepSucceeded(TestStep testStep)
stepSucceeded in interface ExecutionListenerpublic void stepFailed(TestStep testStep, Throwable throwable)
stepFailed in interface ExecutionListenerpublic void stepSkipped(TestStep testStep)
stepSkipped in interface ExecutionListenerpublic void executionStarted(ExecutionPlan executionPlan)
executionStarted in interface ExecutionListenerpublic void executionSucceeded(ExecutionPlan executionPlan)
executionSucceeded in interface ExecutionListenerpublic void executionFailed(ExecutionPlan executionPlan, Throwable throwable)
executionFailed in interface ExecutionListener@Pure public List<ExecutionResult> getResults()
Copyright © 2018–2020 b+m Informatik AG. All rights reserved.