public abstract class AbstractInTestLinkRunListener extends RunListener
getCurrentFailure() may be used in
RunListener.testFinished(Description) as there is no other way to determine whether a test
failed at this point.| Constructor and Description |
|---|
AbstractInTestLinkRunListener() |
| Modifier and Type | Method and Description |
|---|---|
protected Failure |
getCurrentFailure()
Returns the failure of the current
Thread. |
protected boolean |
hasPassed()
Has the the current test passed or failed (was an assumption)?
|
protected void |
resetCurrentFailure()
Resets the current failure, eg there is none.
|
protected void |
setCurrentFailure(Failure currentFailure)
Sets the failure of the current
Thread. |
testAssumptionFailure, testFailure, testFinished, testIgnored, testRunFinished, testRunStarted, testStartedprotected final Failure getCurrentFailure()
Thread.protected final void setCurrentFailure(Failure currentFailure)
Thread.currentFailure - the currentFailure to setprotected final void resetCurrentFailure()
protected boolean hasPassed()
Copyright © 2012–2013 1&1. All rights reserved.