public class CompositeSuiteListener extends Object implements WebTestListener
Modifier and Type | Method and Description |
---|---|
static WebTestListener |
of(WebTestListener... listeners) |
static WebTestListener |
of(WebTestListener listener) |
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 test,
Throwable t)
Called when test ends with an error
|
void |
testFailure(WebTestDescription test,
Throwable t)
Called on test finished with an assertion failure.
|
void |
testFinished(WebTestDescription test)
Called on finished web test.
|
void |
testStarted(WebTestDescription test)
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 testError(WebTestDescription test, Throwable t)
WebTestListener
testError
in interface WebTestListener
test
- test descriptiont
- errorpublic void testFailure(WebTestDescription test, Throwable t)
WebTestListener
testFailure
in interface WebTestListener
test
- test descriptiont
- failurepublic void testFinished(WebTestDescription test)
WebTestListener
testFinished
in interface WebTestListener
test
- test descriptionpublic void testStarted(WebTestDescription test)
WebTestListener
testStarted
in interface WebTestListener
test
- test descriptionpublic static WebTestListener of(WebTestListener listener)
public static WebTestListener of(WebTestListener... listeners)
Copyright © 2002-2019 Atlassian. All Rights Reserved.