Home
last modified time | relevance | path

Searched refs:notifier (Results 1 – 25 of 44) 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()
DMethodRoadie.java31 …public MethodRoadie(Object test, TestMethod method, RunNotifier notifier, Description description)… in MethodRoadie() argument
33 fNotifier= notifier; in MethodRoadie()
/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/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/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/v8/test/mjsunit/es7/
Dobject-observe.js138 var notifier = Object.getNotifier(obj);
139 assertSame(notifier, Object.getNotifier(obj));
142 assertFalse(notifier.hasOwnProperty('notify'));
143 assertEquals([], Object.keys(notifier));
144 var notifyDesc = Object.getOwnPropertyDescriptor(notifier.__proto__, 'notify');
148 assertThrows(function() { notifier.notify({}); }, TypeError);
149 assertThrows(function() { notifier.notify({ type: 4 }); }, TypeError);
151 assertThrows(function() { notifier.performChange(1, function(){}); }, TypeError);
152 assertThrows(function() { notifier.performChange(undefined, function(){}); }, TypeError);
153 assertThrows(function() { notifier.performChange('foo', undefined); }, TypeError);
[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/v8/src/
Dobject-observe.js203 notifier: null, property
216 function ObjectInfoGetFromNotifier(notifier) { argument
217 return GetNotifierObjectInfoMap().get(notifier);
221 if (IS_NULL(objectInfo.notifier)) {
222 objectInfo.notifier = { __proto__: notifierPrototype };
223 GetNotifierObjectInfoMap().set(objectInfo.notifier, objectInfo);
226 return objectInfo.notifier;
/external/junit/src/org/junit/internal/runners/model/
DEachTestNotifier.java17 public EachTestNotifier(RunNotifier notifier, Description description) { in EachTestNotifier() argument
18 fNotifier= notifier; in EachTestNotifier()
/external/junit/src/org/junit/runner/
DRunner.java32 public abstract void run(RunNotifier notifier); in run() argument

12