Home
last modified time | relevance | path

Searched refs:notifier (Results 1 – 25 of 43) sorted by relevance

12

/external/junit/src/org/junit/internal/runners/
DJUnit4ClassRunner.java51 public void run(final RunNotifier notifier) { in run() argument
52 new ClassRoadie(notifier, fTestClass, getDescription(), new Runnable() { in run()
54 runMethods(notifier); in run()
59 protected void runMethods(final RunNotifier notifier) { in runMethods() argument
61 invokeTestMethod(method, notifier); in runMethods()
85 protected void invokeTestMethod(Method method, RunNotifier notifier) { in invokeTestMethod() argument
91 testAborted(notifier, description, e.getCause()); in invokeTestMethod()
94 testAborted(notifier, description, e); in invokeTestMethod()
98 new MethodRoadie(test, testMethod, notifier, description).run(); in invokeTestMethod()
101 private void testAborted(RunNotifier notifier, Description description, in testAborted() argument
[all …]
DErrorReportingRunner.java32 public void run(RunNotifier notifier) { in run() argument
34 runCause(each, notifier); in run()
54 private void runCause(Throwable child, RunNotifier notifier) { in runCause() argument
56 notifier.fireTestStarted(description); in runCause()
57 notifier.fireTestFailure(new Failure(description, child)); in runCause()
58 notifier.fireTestFinished(description); in runCause()
DJUnit38ClassRunner.java26 private OldTestClassAdaptingListener(RunNotifier notifier) { in OldTestClassAdaptingListener() argument
27 fNotifier= notifier; in OldTestClassAdaptingListener()
80 public void run(RunNotifier notifier) { in run() argument
82 result.addListener(createAdaptingListener(notifier)); in run()
86 public TestListener createAdaptingListener(final RunNotifier notifier) { in createAdaptingListener() argument
87 return new OldTestClassAdaptingListener(notifier); in createAdaptingListener()
DClassRoadie.java25 public ClassRoadie(RunNotifier notifier, TestClass testClass, in ClassRoadie() argument
27 fNotifier= notifier; in ClassRoadie()
/external/mockito/src/org/mockito/internal/runners/util/
DFrameworkUsageValidator.java15 private final RunNotifier notifier; field in FrameworkUsageValidator
17 public FrameworkUsageValidator(RunNotifier notifier) { in FrameworkUsageValidator() argument
18 this.notifier = notifier; in FrameworkUsageValidator()
27 notifier.fireTestFailure(new Failure(description, t)); in testFinished()
/external/junit/src/org/junit/runners/
DParentRunner.java98 protected abstract void runChild(T child, RunNotifier notifier); in runChild() argument
155 protected Statement classBlock(final RunNotifier notifier) { in classBlock() argument
156 Statement statement= childrenInvoker(notifier); in classBlock()
218 protected Statement childrenInvoker(final RunNotifier notifier) { in childrenInvoker() argument
222 runChildren(notifier); in childrenInvoker()
227 private void runChildren(final RunNotifier notifier) {
231 ParentRunner.this.runChild(each, notifier);
259 RunNotifier notifier) {
260 EachTestNotifier eachNotifier= new EachTestNotifier(notifier, description);
295 public void run(final RunNotifier notifier) {
[all …]
DSuite.java127 protected void runChild(Runner runner, final RunNotifier notifier) { in runChild() argument
128 runner.run(notifier); in runChild()
DParameterized.java118 protected Statement classBlock(RunNotifier notifier) { in classBlock() argument
119 return childrenInvoker(notifier); in classBlock()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUNotifier.java117 private final ICUNotifier notifier; field in ICUNotifier.NotifyThread
120 NotifyThread(ICUNotifier notifier) { in NotifyThread() argument
121 this.notifier = notifier; in NotifyThread()
150 notifier.notifyListener(list[i]); in run()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUNotifier.java119 private final ICUNotifier notifier; field in ICUNotifier.NotifyThread
122 NotifyThread(ICUNotifier notifier) { in NotifyThread() argument
123 this.notifier = notifier; in NotifyThread()
152 notifier.notifyListener(list[i]); in run()
/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/
DErrorReportingRunner.java61 public void run(RunNotifier notifier) { in run() argument
63 runCause(each, notifier); in run()
117 private void runCause(Throwable child, RunNotifier notifier) { in runCause() argument
119 notifier.fireTestStarted(description); in runCause()
120 notifier.fireTestFailure(new Failure(description, child)); in runCause()
121 notifier.fireTestFinished(description); in runCause()
DIcuTestGroupRunner.java95 protected void runChild(Runner child, RunNotifier notifier) { in runChild() argument
96 child.run(notifier); in runChild()
DIcuTestFmwkRunner.java117 protected void runChild(final IcuFrameworkTest child, RunNotifier notifier) { in runChild() argument
130 runLeaf(statement, description, notifier); in runChild()
/external/mockito/src/org/mockito/internal/runners/
DJUnit44RunnerImpl.java33 public void run(RunNotifier notifier) { in run() argument
35 notifier.addListener(new FrameworkUsageValidator(notifier)); in run()
37 runner.run(notifier); in run()
DJUnit45AndHigherRunnerImpl.java33 public void run(final RunNotifier notifier) { in run() argument
35 notifier.addListener(new FrameworkUsageValidator(notifier)); in run()
37 runner.run(notifier); in run()
/external/ppp/pppd/
Dpppd.h204 struct notifier { struct
205 struct notifier *next; argument
257 extern struct notifier *pidchange; /* for notifications of pid changing */
258 extern struct notifier *phasechange; /* for notifications of phase changes */
259 extern struct notifier *exitnotify; /* for notification that we're exiting */
260 extern struct notifier *sigreceived; /* notification of received signal */
261 extern struct notifier *ip_up_notifier; /* IPCP has come up */
262 extern struct notifier *ip_down_notifier; /* IPCP has gone down */
263 extern struct notifier *ipv6_up_notifier; /* IPV6CP has come up */
264 extern struct notifier *ipv6_down_notifier; /* IPV6CP has gone down */
[all …]
Dmain.c141 struct notifier *pidchange = NULL;
142 struct notifier *phasechange = NULL;
143 struct notifier *exitnotify = NULL;
144 struct notifier *sigreceived = NULL;
145 struct notifier *fork_notifier = NULL;
2022 struct notifier **notif; in add_notifier()
2026 struct notifier *np;
2028 np = malloc(sizeof(struct notifier));
2043 struct notifier **notif; in remove_notifier()
2047 struct notifier *np;
[all …]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DDynamicXYPlotActivity.java146 private MyObservable notifier; field in DynamicXYPlotActivity.SampleDynamicXYDatasource
150 notifier = new MyObservable();
177 notifier.notifyObservers(); in run()
212 notifier.addObserver(observer); in addObserver()
216 notifier.deleteObserver(observer); in removeObserver()
/external/mockito/src/org/mockito/runners/
DVerboseMockitoJUnitRunner.java51 public void run(RunNotifier notifier) { in run() argument
70 notifier.addFirstListener(listener); in run()
72 runner.run(notifier); in run()
DConsoleSpammingMockitoJUnitRunner.java104 public void run(RunNotifier notifier) { in run() argument
118 notifier.addListener(listener); in run()
120 runner.run(notifier); in run()
DMockitoJUnitRunner.java61 public void run(final RunNotifier notifier) { in run() argument
62 runner.run(notifier); in run()
/external/junit/src/junit/framework/
DJUnit4TestAdapterCache.java47 RunNotifier notifier = new RunNotifier(); in getNotifier() local
48 notifier.addListener(new RunListener() { in getNotifier()
66 return notifier; in getNotifier()
/external/mockito/src/org/mockito/internal/handler/
DMockHandlerFactory.java18 InternalMockHandler notifier = new InvocationNotifierHandler(nullResultGuardian, settings); in create() local
20 return notifier; in create()
/external/junit/src/org/junit/internal/builders/
DIgnoredClassRunner.java18 public void run(RunNotifier notifier) { in run() argument
19 notifier.fireTestIgnored(getDescription()); in run()
/external/junit/src/org/junit/internal/runners/model/
DEachTestNotifier.java17 public EachTestNotifier(RunNotifier notifier, Description description) { in EachTestNotifier() argument
18 fNotifier= notifier; in EachTestNotifier()

12