Package | Description |
---|---|
org.junit.experimental.max | |
org.junit.internal | |
org.junit.runner |
Provides classes used to describe, collect, run and analyze multiple tests.
|
org.junit.runner.notification |
Provides information about a test run.
|
Modifier and Type | Class and Description |
---|---|
private class |
MaxHistory.RememberingListener |
Modifier and Type | Method and Description |
---|---|
RunListener |
MaxHistory.listener() |
Modifier and Type | Class and Description |
---|---|
class |
TextListener |
Modifier and Type | Class and Description |
---|---|
private class |
Result.Listener |
Modifier and Type | Method and Description |
---|---|
RunListener |
Result.createListener()
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
void |
JUnitCore.addListener(RunListener listener)
Add a listener to be notified as the tests run.
|
void |
JUnitCore.removeListener(RunListener listener)
Remove a listener.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
SynchronizedRunListener
Thread-safe decorator for
RunListener implementations that synchronizes
calls to the delegate. |
Modifier and Type | Field and Description |
---|---|
private RunListener |
SynchronizedRunListener.listener |
Modifier and Type | Field and Description |
---|---|
private java.util.List<RunListener> |
RunNotifier.SafeNotifier.currentListeners |
private java.util.List<RunListener> |
RunNotifier.listeners |
Modifier and Type | Method and Description |
---|---|
(package private) RunListener |
RunNotifier.wrapIfNotThreadSafe(RunListener listener)
Wraps the given listener with
SynchronizedRunListener if
it is not annotated with RunListener.ThreadSafe . |
Modifier and Type | Method and Description |
---|---|
void |
RunNotifier.addFirstListener(RunListener listener)
Internal use only.
|
void |
RunNotifier.addListener(RunListener listener)
Internal use only
|
protected abstract void |
RunNotifier.SafeNotifier.notifyListener(RunListener each) |
void |
RunNotifier.removeListener(RunListener listener)
Internal use only
|
(package private) RunListener |
RunNotifier.wrapIfNotThreadSafe(RunListener listener)
Wraps the given listener with
SynchronizedRunListener if
it is not annotated with RunListener.ThreadSafe . |
Modifier and Type | Method and Description |
---|---|
private void |
RunNotifier.fireTestFailures(java.util.List<RunListener> listeners,
java.util.List<Failure> failures) |
Constructor and Description |
---|
SynchronizedRunListener(RunListener listener,
java.lang.Object monitor) |
Constructor and Description |
---|
SafeNotifier(java.util.List<RunListener> currentListeners) |