public abstract class AbstractWebTestListener extends Object implements WebTestListener
WebTestListener
. Subclasses
only need to override required methods.Constructor and Description |
---|
AbstractWebTestListener() |
Modifier and Type | Method and Description |
---|---|
void |
suiteFinished(WebTestDescription suiteDescription)
Called when the whole web test suite is going finishing.
|
void |
suiteStarted(WebTestDescription suiteDescription)
Called when the whole web test suite is going to start.
|
void |
testError(WebTestDescription description,
Throwable error)
Called when test ends with an error
|
void |
testFailure(WebTestDescription description,
Throwable failure)
Called on test finished with an assertion failure.
|
void |
testFinished(WebTestDescription description)
Called on finished web test.
|
void |
testStarted(WebTestDescription description)
Called on start of a single web test.
|
public void suiteStarted(WebTestDescription suiteDescription)
WebTestListener
suiteStarted
in interface WebTestListener
suiteDescription
- description of the whole suitepublic void suiteFinished(WebTestDescription suiteDescription)
WebTestListener
suiteFinished
in interface WebTestListener
suiteDescription
- description of the whole suitepublic void testStarted(WebTestDescription description)
WebTestListener
testStarted
in interface WebTestListener
description
- test descriptionpublic void testFinished(WebTestDescription description)
WebTestListener
testFinished
in interface WebTestListener
description
- test descriptionpublic void testError(WebTestDescription description, Throwable error)
WebTestListener
testError
in interface WebTestListener
description
- test descriptionerror
- errorpublic void testFailure(WebTestDescription description, Throwable failure)
WebTestListener
testFailure
in interface WebTestListener
description
- test descriptionfailure
- failureCopyright © 2002-2015 Atlassian. All Rights Reserved.