Home
last modified time | relevance | path

Searched refs:RunListener (Results 1 – 18 of 18) sorted by relevance

/external/junit/src/main/java/org/junit/runner/notification/
DRunNotifier.java22 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 …]
DSynchronizedRunListener.java22 @RunListener.ThreadSafe
23 final class SynchronizedRunListener extends RunListener {
24 private final RunListener listener;
27 SynchronizedRunListener(RunListener listener, Object monitor) { in SynchronizedRunListener()
DRunListener.java52 public class RunListener { class
/external/junit/src/main/java/org/junit/runner/
DJUnitCore.java8 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()
DResult.java17 import org.junit.runner.notification.RunListener;
110 @RunListener.ThreadSafe
111 private class Listener extends RunListener {
147 public RunListener createListener() { in createListener()
/external/mockito/src/main/java/org/mockito/runners/
DVerboseMockitoJUnitRunner.java14 import org.junit.runner.notification.RunListener;
44 RunListener listener = new RunListener() { in run()
DConsoleSpammingMockitoJUnitRunner.java13 import org.junit.runner.notification.RunListener;
46 RunListener listener = new RunListener() { in run()
/external/vogar/src/vogar/target/
DTestEnvironmentRunListener.java20 import org.junit.runner.notification.RunListener;
25 public class TestEnvironmentRunListener extends RunListener {
DTargetMonitorRunListener.java22 import org.junit.runner.notification.RunListener;
30 public class TargetMonitorRunListener extends RunListener {
/external/mockito/src/main/java/org/mockito/internal/runners/util/
DFailureDetector.java8 import org.junit.runner.notification.RunListener;
13 public class FailureDetector extends RunListener {
/external/mockito/src/main/java/org/mockito/internal/runners/
DDefaultInternalRunner.java11 import org.junit.runner.notification.RunListener;
44 RunListener listener = new RunListener() { in DefaultInternalRunner()
/external/junit/src/main/java/org/junit/experimental/results/
DFailureList.java7 import org.junit.runner.notification.RunListener;
18 RunListener listener = result.createListener(); in result()
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/testing/
DInstallUncaughtExceptionHandlerListener.java20 import org.junit.runner.notification.RunListener;
31 public class InstallUncaughtExceptionHandlerListener extends RunListener {
/external/junit/src/main/java/org/junit/experimental/max/
DMaxHistory.java17 import org.junit.runner.notification.RunListener;
104 private final class RememberingListener extends RunListener {
162 public RunListener listener() { in listener()
/external/junit/src/main/java/junit/framework/
DJUnit4TestAdapterCache.java10 import org.junit.runner.notification.RunListener;
46 notifier.addListener(new RunListener() { in getNotifier()
/external/junit/src/main/java/org/junit/internal/
DTextListener.java10 import org.junit.runner.notification.RunListener;
12 public class TextListener extends RunListener {
/external/junit-params/src/main/java/junitparams/internal/
DInstanceFrameworkMethod.java8 import org.junit.runner.notification.RunListener;
/external/testng/src/main/java/org/testng/junit/
DJUnit4TestRunner.java11 import org.junit.runner.notification.RunListener;
111 private class RL extends RunListener {