Home
last modified time | relevance | path

Searched refs:RunListener (Results 1 – 23 of 23) 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 List<RunListener> safeListeners = new ArrayList<RunListener>(capacity); in run()
70 for (RunListener listener : currentListeners) { in run()
81 protected abstract 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;
127 @RunListener.ThreadSafe
128 private class Listener extends RunListener {
164 public RunListener createListener() { in createListener()
/external/mockito/src/test/java/org/mockito/internal/runners/
DDefaultInternalRunnerTest.java10 import org.junit.runner.notification.RunListener;
24 private final RunListener runListener = mock(RunListener.class);
61 private RunNotifier newNotifier(RunListener listener) { in newNotifier()
/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/libchrome/base/test/android/junit/src/org/chromium/base/test/util/
DTestRunnerTestRule.java20 import org.junit.runner.notification.RunListener;
83 RunListener runListener = new RunListener() { in runTest()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DFailureListener.java7 import org.junit.runner.notification.RunListener;
12 public class FailureListener extends RunListener {
/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;
109 private final class RememberingListener extends RunListener {
167 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 {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerTest.java26 import org.junit.runner.notification.RunListener;
56 notifier.addListener(new RunListener() { in setUp()
DRobolectricTestRunnerMultiApiTest.java23 import org.junit.runner.notification.RunListener;
323 private static class MyRunListener extends RunListener {