Home
last modified time | relevance | path

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

123456

/external/junit/src/main/java/org/junit/internal/runners/model/
DEachTestNotifier.java10 private final RunNotifier notifier; field in EachTestNotifier
14 public EachTestNotifier(RunNotifier notifier, Description description) { in EachTestNotifier() argument
15 this.notifier = notifier; in EachTestNotifier()
23 notifier.fireTestFailure(new Failure(description, targetException)); in addFailure()
34 notifier.fireTestAssumptionFailed(new Failure(description, e)); in addFailedAssumption()
38 notifier.fireTestFinished(description); in fireTestFinished()
42 notifier.fireTestStarted(description); in fireTestStarted()
46 notifier.fireTestIgnored(description); in fireTestIgnored()
57 notifier.fireTestSuiteStarted(description); in fireTestSuiteStarted()
69 notifier.fireTestSuiteFinished(description); in fireTestSuiteFinished()
/external/junit/src/main/java/org/junit/internal/runners/
DJUnit4ClassRunner.java49 public void run(final RunNotifier notifier) { in run() argument
50 new ClassRoadie(notifier, testClass, getDescription(), new Runnable() { in run()
52 runMethods(notifier); in run()
57 protected void runMethods(final RunNotifier notifier) { in runMethods() argument
59 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 …]
DJUnit38ClassRunner.java30 private final RunNotifier notifier; field in JUnit38ClassRunner.OldTestClassAdaptingListener
32 private OldTestClassAdaptingListener(RunNotifier notifier) { in OldTestClassAdaptingListener() argument
33 this.notifier = notifier; in OldTestClassAdaptingListener()
37 notifier.fireTestFinished(asDescription(test)); in endTest()
41 notifier.fireTestStarted(asDescription(test)); in startTest()
47 notifier.fireTestFailure(failure); in addError()
87 public void run(RunNotifier notifier) { in run() argument
89 result.addListener(createAdaptingListener(notifier)); in run()
93 public TestListener createAdaptingListener(final RunNotifier notifier) { in createAdaptingListener() argument
94 return new OldTestClassAdaptingListener(notifier); in createAdaptingListener()
DMethodRoadie.java28 private final RunNotifier notifier; field in MethodRoadie
32 …public MethodRoadie(Object test, TestMethod method, RunNotifier notifier, Description description)… in MethodRoadie() argument
34 this.notifier = notifier; in MethodRoadie()
41 notifier.fireTestIgnored(description); in run()
44 notifier.fireTestStarted(description); in run()
53 notifier.fireTestFinished(description); in run()
160 notifier.fireTestFailure(new Failure(description, e)); in addFailure()
DErrorReportingRunner.java47 public void run(RunNotifier notifier) { in run() argument
49 runCause(each, notifier); in run()
86 private void runCause(Throwable child, RunNotifier notifier) { in runCause() argument
88 notifier.fireTestStarted(description); in runCause()
89 notifier.fireTestFailure(new Failure(description, child)); in runCause()
90 notifier.fireTestFinished(description); in runCause()
DClassRoadie.java20 private RunNotifier notifier; field in ClassRoadie
25 public ClassRoadie(RunNotifier notifier, TestClass testClass, in ClassRoadie() argument
27 this.notifier = notifier; in ClassRoadie()
38 notifier.fireTestFailure(new Failure(description, targetException)); in addFailure()
/external/junit/src/main/java/org/junit/runner/
DJUnitCore.java25 private final RunNotifier notifier = new RunNotifier(); field in JUnitCore
134 notifier.addFirstListener(listener); in run()
136 notifier.fireTestRunStarted(runner.getDescription()); in run()
137 runner.run(notifier); in run()
138 notifier.fireTestRunFinished(result); in run()
152 notifier.addListener(listener); in addListener()
161 notifier.removeListener(listener); in removeListener()
/external/mockito/src/test/java/org/mockito/internal/handler/
DInvocationNotifierHandlerTest.java49 private InvocationNotifierHandler<ArrayList<Answer<?>>> notifier; field in InvocationNotifierHandlerTest
53 notifier = new InvocationNotifierHandler<ArrayList<Answer<?>>>( in setUp()
65 notifier.handle(invocation); in should_notify_all_listeners_when_calling_delegate_handler()
79 notifier.handle(invocation); in should_notify_all_listeners_when_called_delegate_handler_returns_ex()
94 notifier.handle(invocation); in should_notify_all_listeners_when_called_delegate_handler_throws_exception_and_rethrow_it()
108 notifier.handle(invocation); in should_report_listener_exception()
121 notifier.getInvocationContainer(); in should_delegate_all_MockHandlerInterface_to_the_parameterized_MockHandler()
122 notifier.getMockSettings(); in should_delegate_all_MockHandlerInterface_to_the_parameterized_MockHandler()
/external/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPRunner.java38 private static void Fail(Description desc, RunNotifier notifier, String failure) { in Fail() argument
39 notifier.fireTestFailure(new Failure(desc, new SkQPFailure(failure))); in Fail()
102 public void run(RunNotifier notifier) { in run() argument
113 notifier.fireTestStarted(desc); in run()
123 SkQPRunner.Fail(desc, notifier, String.format("Exception: %s", error)); in run()
127 SkQPRunner.Fail(desc, notifier, String.format( in run()
132 notifier.fireTestFinished(desc); in run()
144 notifier.fireTestStarted(desc); in run()
150 SkQPRunner.Fail(desc, notifier, error); in run()
155 notifier.fireTestFinished(desc); in run()
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPRunner.java38 private static void Fail(Description desc, RunNotifier notifier, String failure) { in Fail() argument
39 notifier.fireTestFailure(new Failure(desc, new SkQPFailure(failure))); in Fail()
102 public void run(RunNotifier notifier) { in run() argument
113 notifier.fireTestStarted(desc); in run()
123 SkQPRunner.Fail(desc, notifier, String.format("Exception: %s", error)); in run()
127 SkQPRunner.Fail(desc, notifier, String.format( in run()
132 notifier.fireTestFinished(desc); in run()
144 notifier.fireTestStarted(desc); in run()
150 SkQPRunner.Fail(desc, notifier, error); in run()
155 notifier.fireTestFinished(desc); in run()
/external/mockito/src/main/java/org/mockito/internal/runners/
DDefaultInternalRunner.java43 public void run(final RunNotifier notifier) { in DefaultInternalRunner()
74 notifier.fireTestFailure(new Failure(description, t)); in DefaultInternalRunner()
78 notifier.addListener(listener); in DefaultInternalRunner()
79 super.run(notifier); in DefaultInternalRunner()
84 public void run(final RunNotifier notifier) { in run() argument
85 runner.run(notifier); in run()
DStrictRunner.java30 public void run(RunNotifier notifier) { in run() argument
38 notifier.addListener(listener); in run()
39 runner.run(notifier); in run()
49 reporter.validateUnusedStubs(testClass, notifier); in run()
/external/junit-params/src/main/java/junitparams/
DJUnitParamsRunner.java409 protected void runChild(FrameworkMethod method, RunNotifier notifier) { in runChild() argument
411 if (handleIgnored(describableMethod, notifier)) in runChild()
420 frameworkMethod.run(methodBlockSupplier, notifier); in runChild()
424 ((InvokableFrameworkMethod) describableMethod).run(methodBlockSupplier, notifier); in runChild()
451 private boolean handleIgnored(DescribableFrameworkMethod method, RunNotifier notifier) { in handleIgnored() argument
457 notifier.fireTestIgnored(method.getDescription()); in handleIgnored()
/external/rust/crates/futures-util/src/future/future/
Dshared.rs21 notifier: Arc<Notifier>, field
87 notifier: Arc::new(Notifier { in new()
111 match inner.notifier.state.load(SeqCst) { in peek()
172 let mut wakers_guard = self.notifier.wakers.lock().unwrap(); in record_waker()
232 if inner.notifier.state.load(Acquire) == COMPLETE { in poll()
240 .notifier in poll()
262 let waker = waker_ref(&inner.notifier); in poll()
277 let _reset = Reset(&inner.notifier.state); in poll()
290 .notifier in poll()
311 inner.notifier.state.store(COMPLETE, SeqCst); in poll()
[all …]
/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()
151 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()
153 notifier.notifyListener(list[i]); in run()
/external/libcups/notifier/
DMakefile67 echo Installing notifiers in $(SERVERBIN)/notifier...
68 $(INSTALL_DIR) -m 755 $(SERVERBIN)/notifier
70 $(INSTALL_BIN) $$file $(SERVERBIN)/notifier; \
101 $(RM) $(SERVERBIN)/notifier/$$file; \
103 -$(RMDIR) $(SERVERBIN)/notifier
/external/vogar/src/vogar/target/junit/
DErrorRunner.java61 public void run(RunNotifier notifier) { in run() argument
62 notifier.fireTestStarted(description); in run()
63 notifier.fireTestFailure(new Failure(description, throwable)); in run()
64 notifier.fireTestFinished(description); in run()
DParentRunnerHelper.java41 Statement statement, Description description, RunNotifier notifier) { in abortingRunLeaf() argument
42 EachTestNotifier eachNotifier = new EachTestNotifier(notifier, description); in abortingRunLeaf()
50 notifier.pleaseStop(); in abortingRunLeaf()
/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 …]
/external/junit/src/main/java/org/junit/runners/
DParentRunner.java135 protected abstract void runChild(T child, RunNotifier notifier); in runChild() argument
212 protected Statement classBlock(final RunNotifier notifier) { in classBlock() argument
213 Statement statement = childrenInvoker(notifier); in classBlock()
289 protected Statement childrenInvoker(final RunNotifier notifier) { in childrenInvoker() argument
293 runChildren(notifier); in childrenInvoker()
325 private void runChildren(final RunNotifier notifier) {
331 ParentRunner.this.runChild(each, notifier);
362 RunNotifier notifier) {
363 EachTestNotifier eachNotifier = new EachTestNotifier(notifier, description);
407 public void run(final RunNotifier notifier) {
[all …]
/external/junit-params/src/main/java/junitparams/internal/
DDeferredErrorFrameworkMethod.java34 public void run(MethodBlockSupplier supplier, RunNotifier notifier) {
37 runMethodInvoker(notifier, getInvokeStatement(notifier), getDescription());
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerTest.java47 private RunNotifier notifier; field in RobolectricTestRunnerTest
54 notifier = new RunNotifier(); in setUp()
56 notifier.addListener(new RunListener() { in setUp()
85 runner.run(notifier); in ignoredTestCanSpecifyUnsupportedSdkWithoutExploding()
103 runner.run(notifier); in failureInResetterDoesntBreakAllTests()
113 runner.run(notifier); in failureInAppOnCreateDoesntBreakAllTests()
181 runner.run(notifier); in shouldReportPerfStats()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/
DBaseJUnit4ClassRunner.java206 public void run(RunNotifier notifier) { in run() argument
211 notifier.fireTestStarted(child); in run()
212 notifier.fireTestFinished(child); in run()
220 super.run(notifier); in run()
231 protected void runChild(FrameworkMethod method, RunNotifier notifier) { in runChild() argument
237 super.runChild(method, notifier); in runChild()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DFailureListener.java15 RunNotifier notifier = new RunNotifier(); in runTests() local
17 notifier.addListener(failureListener); in runTests()
18 new RobolectricTestRunner(testClass).run(notifier); in runTests()

123456