Searched refs:RunListener (Results 1 – 18 of 18) sorted by relevance
22 private final List<RunListener> listeners = new CopyOnWriteArrayList<RunListener>();28 public void addListener(RunListener listener) { in addListener()38 public void removeListener(RunListener listener) { in removeListener()49 RunListener wrapIfNotThreadSafe(RunListener listener) { in wrapIfNotThreadSafe()50 return listener.getClass().isAnnotationPresent(RunListener.ThreadSafe.class) ? in wrapIfNotThreadSafe()56 private final List<RunListener> currentListeners;62 SafeNotifier(List<RunListener> currentListeners) { in SafeNotifier()68 ArrayList<RunListener> safeListeners = new ArrayList<RunListener>(capacity); in run()70 for (RunListener listener : currentListeners) { in run()81 abstract protected void notifyListener(RunListener each) throws Exception; in notifyListener()[all …]
22 @RunListener.ThreadSafe23 final class SynchronizedRunListener extends RunListener {24 private final RunListener listener;27 SynchronizedRunListener(RunListener listener, Object monitor) { in SynchronizedRunListener()
52 public class RunListener { class
8 import org.junit.runner.notification.RunListener;74 RunListener listener = new TextListener(system); in runMain()133 RunListener listener = result.createListener(); in run()151 public void addListener(RunListener listener) { in addListener()160 public void removeListener(RunListener listener) { in removeListener()
17 import org.junit.runner.notification.RunListener;110 @RunListener.ThreadSafe111 private class Listener extends RunListener {147 public RunListener createListener() { in createListener()
14 import org.junit.runner.notification.RunListener;44 RunListener listener = new RunListener() { in run()
13 import org.junit.runner.notification.RunListener;46 RunListener listener = new RunListener() { in run()
20 import org.junit.runner.notification.RunListener;25 public class TestEnvironmentRunListener extends RunListener {
22 import org.junit.runner.notification.RunListener;30 public class TargetMonitorRunListener extends RunListener {
8 import org.junit.runner.notification.RunListener;13 public class FailureDetector extends RunListener {
11 import org.junit.runner.notification.RunListener;44 RunListener listener = new RunListener() { in DefaultInternalRunner()
7 import org.junit.runner.notification.RunListener;18 RunListener listener = result.createListener(); in result()
20 import org.junit.runner.notification.RunListener;31 public class InstallUncaughtExceptionHandlerListener extends RunListener {
17 import org.junit.runner.notification.RunListener;104 private final class RememberingListener extends RunListener {162 public RunListener listener() { in listener()
10 import org.junit.runner.notification.RunListener;46 notifier.addListener(new RunListener() { in getNotifier()
10 import org.junit.runner.notification.RunListener;12 public class TextListener extends RunListener {
8 import org.junit.runner.notification.RunListener;
11 import org.junit.runner.notification.RunListener;111 private class RL extends RunListener {