java.lang.Object |
↳ |
org.junit.runner.notification.RunNotifier |
|
↳ |
com.atlassian.jira.local.runner.GlobalRunNotifier |
Class Overview
A global container of TestListener objects to allow us to spy on our own test code
Summary
[Expand]
Inherited Methods |
From class
org.junit.runner.notification.RunNotifier
void
|
addFirstListener(RunListener arg0)
|
void
|
addListener(RunListener arg0)
|
void
|
fireTestAssumptionFailed(Failure arg0)
|
void
|
fireTestFailure(Failure arg0)
|
void
|
fireTestFinished(Description arg0)
|
void
|
fireTestIgnored(Description arg0)
|
void
|
fireTestRunFinished(Result arg0)
|
void
|
fireTestRunStarted(Description arg0)
|
void
|
fireTestStarted(Description arg0)
|
void
|
pleaseStop()
|
void
|
removeListener(RunListener arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
GlobalRunNotifier
()
Public Methods
public
void
fireTestFailure
(TestCase test, Throwable thrownException)
public
void
fireTestFinished
(TestCase test)
public
void
fireTestRunFinished
(Result result)
public
void
fireTestRunStarted
(Description description)
public
void
fireTestStarted
(TestCase test)
public
void
fireTestStarted
(Description description)
public
Result
getResult
()
At any time you can ask for the live result object of the test suite run.
Returns
- a org.junit.runner.Result object. Its alive!