public class LogTestInformationListener extends Object implements WebTestListener
WebTestListener that logs information about running
tests.| Constructor and Description |
|---|
LogTestInformationListener() |
LogTestInformationListener(String logPrefix) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
log(String logMessage) |
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 LogTestInformationListener()
public LogTestInformationListener(String logPrefix)
protected void log(String logMessage)
public void suiteStarted(WebTestDescription suiteDescription)
WebTestListenersuiteStarted in interface WebTestListenersuiteDescription - description of the whole suitepublic void suiteFinished(WebTestDescription suiteDescription)
WebTestListenersuiteFinished in interface WebTestListenersuiteDescription - description of the whole suitepublic void testStarted(WebTestDescription description)
WebTestListenertestStarted in interface WebTestListenerdescription - test descriptionpublic void testFinished(WebTestDescription description)
WebTestListenertestFinished in interface WebTestListenerdescription - test descriptionpublic void testError(WebTestDescription description, Throwable error)
WebTestListenertestError in interface WebTestListenerdescription - test descriptionerror - errorpublic void testFailure(WebTestDescription description, Throwable failure)
WebTestListenertestFailure in interface WebTestListenerdescription - test descriptionfailure - failureCopyright © 2002-2015 Atlassian. All Rights Reserved.