Home
last modified time | relevance | path

Searched refs:addListener (Results 1 – 25 of 223) sorted by relevance

123456789

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowRenderNodeAnimatorTest.java37 animator.addListener(listener); in normal()
47 animator.addListener(listener); in canceled()
62 animator.addListener(listener); in delayed()
73 animator.addListener(listener); in neverStartedCanceled()
92 animator.addListener(listener); in neverStartedEnded()
110 animator.addListener(listener); in doubleCanceled()
125 animator.addListener(listener); in doubleEnded()
140 animator.addListener(listener); in delayedAndCanceled()
/external/mockito/src/test/java/org/mockito/internal/framework/
DDefaultMockitoFrameworkTest.java34 framework.addListener(null); in prevents_adding_null_listener()
53 framework.addListener(listener); in ok_to_remove_listener_multiple_times()
64 framework.addListener(listener); in adds_creation_listener()
82 framework.addListener(listener); in removes_creation_listener()
98 framework.addListener(new MyListener()); in prevents_duplicate_listeners_of_the_same_type()
103 framework.addListener(new MyListener()); in prevents_duplicate_listeners_of_the_same_type()
/external/testng/src/test/java/test/annotationtransformer/
DAnnotationTransformerTest.java41 tng.addListener(tla); in verifyAnnotationWithoutTransformer()
68 tng.addListener(tla); in verifyAnnotationTransformerMethod()
135 tng.addListener(tla); in runTest()
170 tng.addListener(tla); in verifyConfigurationTransformer()
183 tng.addListener(tla); in verifyDataProviderTransformer()
196 tng.addListener(tla); in verifyFactoryTransformer()
208 tng.addListener(tla); in verifyInvocationCountTransformer()
218 tng.addListener(tla); in verifyInvocationCountTransformer()
245 tng.addListener(tla); in annotationTransformerInXmlShouldBeRun()
/external/mockito/src/test/java/org/mockitousage/debugging/
DVerificationListenerCallBackTest.java39 mockitoFramework.addListener(listener); in should_call_single_listener_on_verify()
57 Mockito.framework().addListener(listener1).addListener(listener2); in should_call_all_listeners_on_verify()
75 framework().addListener(listener); in should_not_call_listener_when_verify_was_called_incorrectly()
92 mockitoFramework.addListener(listener); in should_notify_when_verification_throws_type_error()
110 mockitoFramework.addListener(listener); in should_notify_when_verification_throws_runtime_exception()
128 mockitoFramework.addListener(listener); in should_call_verification_listeners()
/external/testng/src/test/java/test/name/
DNameTest.java22 tng.addListener(adapter); in itestTest()
39 tng.addListener(adapter); in itestTestWithXml()
56 tng.addListener(adapter); in testNameTest()
73 tng.addListener(adapter); in testNameTestWithXml()
90 tng.addListener(adapter); in noNameTest()
107 tng.addListener(adapter); in noNameTestWithXml()
124 tng.addListener(adapter); in complexITestTest()
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dmain.js21 chrome.app.runtime.onLaunched.addListener(tcpUI.create);
38 var addListener=function(listener) { function
46 return {output: output, addListener: addListener};
Dtcp-server.js125 socket.onAccept.addListener(this._onAccept);
126 socket.onAcceptError.addListener(this._onAcceptError);
227 chrome.sockets.tcp.onReceive.addListener(this._onReceive);
228 chrome.sockets.tcp.onReceiveError.addListener(this._onReceiveError);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DServiceManagerTest.java157 manager.addListener(listener); in testServiceStartStop()
181 manager.addListener(listener); in testFailStart()
205 manager.addListener(listener); in testFailRun()
228 manager.addListener(listener); in testFailStop()
278 manager.addListener(listener); in testSingleFailedServiceCallsStopped()
295 manager.addListener(listener); in testFailStart_singleServiceCallsHealthy()
314 manager.addListener(new Listener() { in testFailStart_stopOthers()
345 manager.addListener(listener); in testEmptyServiceManager()
397 manager.addListener(new ServiceManager.Listener() { in testListenerDeadlock()
454 @Override public final void addListener(Listener listener, Executor executor) { in testPartiallyConstructedManager_transitionAfterAddListenerBeforeStateIsReady()
[all …]
DJdkFutureAdaptersTest.java72 listenableFuture.addListener(singleCallListener, directExecutor()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone()
98 listenableFuture.addListener(singleCallListener, executorService); in testListenInPoolThreadUsesGivenExecutor()
131 listenableFuture.addListener(singleCallListener, directExecutor()); in testListenInPoolThreadCustomExecutorInterrupted()
238 listenable.addListener(earlyListener, directExecutor()); in testListenInPoolThreadRunsListenerAfterRuntimeException()
246 listenable.addListener(lateListener, directExecutor()); in testListenInPoolThreadRunsListenerAfterRuntimeException()
/external/testng/src/test/java/test/listeners/
DExecutionListenerTest.java48 private void runTest(Class<?> listenerClass, boolean addListener, boolean expected) { in runTest() argument
52 if (addListener) { in runTest()
53 s.addListener(ExecutionListener.class.getName()); in runTest()
DAlterSuiteListenerTest.java40 boolean addListener = (listenerName != null); in runTest()
42 if (addListener) { in runTest()
43 s.addListener(listenerName); in runTest()
/external/testng/src/test/java/test/alwaysrun/
DAlwaysRunTest.java20 testng.addListener(tla); in withAlwaysRunAfter()
31 testng.addListener(tla); in withoutAlwaysRunAfter()
43 testng.addListener(tla); in withoutAlwaysRunBefore()
/external/testng/src/main/java/org/testng/
DSuiteRunner.java179 tr.addListener(m_textReporter); in init()
410 protected void addListener(ISuiteListener reporter) { in addListener() method in SuiteRunner
415 public void addListener(ITestNGListener listener) { in addListener() method in SuiteRunner
421 addListener((ISuiteListener) listener); in addListener()
560 testRunner.addListener(new TestHTMLReporter()); in newTestRunner()
561 testRunner.addListener(new JUnitXMLReporter()); in newTestRunner()
568 testRunner.addListener(new TextReporter(testRunner.getName(), TestRunner.getVerbose())); in newTestRunner()
572 testRunner.addListener(itl); in newTestRunner()
596 testRunner.addListener(new TextReporter(testRunner.getName(), TestRunner.getVerbose())); in newTestRunner()
599 testRunner.addListener(itl); in newTestRunner()
DTestNG.java698 addListener(ClassHelper.newInstance(cls)); in setListenerClasses()
702 public void addListener(Object listener) { in addListener() method in TestNG
711 addListener((ISuiteListener) listener); in addListener()
714 addListener((ITestListener) listener); in addListener()
717 addListener((IClassListener) listener); in addListener()
720 addListener((IReporter) listener); in addListener()
749 public void addListener(IInvokedMethodListener listener) { in addListener() method in TestNG
753 public void addListener(ISuiteListener listener) { in addListener() method in TestNG
759 public void addListener(ITestListener listener) { in addListener() method in TestNG
765 public void addListener(IClassListener listener) { in addListener() method in TestNG
[all …]
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DContextTest.java137 root.addListener(cancellationListener, MoreExecutors.directExecutor()); in rootCanNeverHaveAListener()
288 base.addListener(new SetContextCancellationListener(observed1), MoreExecutors.directExecutor()); in notifyListenersOnCancel()
290 base.addListener(new SetContextCancellationListener(observed2), MoreExecutors.directExecutor()); in notifyListenersOnCancel()
298 base.addListener(new SetContextCancellationListener(observed3), MoreExecutors.directExecutor()); in notifyListenersOnCancel()
330 base.addListener(cancellationListener, new Executor() { in exceptionOfExecutorDoesntThrow()
346 base.addListener(cancellationListener, new Executor() { in exceptionOfExecutorDoesntThrow()
367 child.addListener(cancellationListener, MoreExecutors.directExecutor()); in cascadingCancellationNotifiesChild()
410 attached.addListener(cancellationListener, MoreExecutors.directExecutor()); in cancellableContextIsAttached()
425 child.addListener(cancellationListener, MoreExecutors.directExecutor()); in cancellableContextCascadesFromCancellableParent()
443 fork.addListener(cancellationListener, MoreExecutors.directExecutor()); in nonCascadingCancellationDoesNotNotifyForked()
[all …]
/external/junit/src/main/java/org/junit/runner/
DJUnitCore.java75 addListener(listener); in runMain()
151 public void addListener(RunListener listener) { in addListener() method in JUnitCore
152 notifier.addListener(listener); in addListener()
/external/testng/src/test/java/test/sanitycheck/
DCheckTestNamesTest.java42 tng.addListener(tla); in runSuite()
61 tng.addListener(tla); in checkNoError()
75 tng.addListener(tla); in checkNoErrorWtihChildSuites()
/external/testng/src/test/java/test/thread/
DParallelSuiteTest.java36 tng.addListener(tla); in suitesShouldRunInParallel3()
49 tng.addListener(tla); in runTest()
90 tng.addListener(tla); in suitesShouldRunInOrder()
/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingListenableFuture.java46 public void addListener(Runnable listener, Executor exec) { in addListener() method in ForwardingListenableFuture
47 delegate().addListener(listener, exec); in addListener()
/external/testng/src/test/java/test/enable/
DEnableTest.java16 tng.addListener(listener); in disabled_methods_should_not_be_run()
35 tng.addListener(listener); in issue420()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTestSample.java44 HelloService.addListener(this); in HelloServiceClient()
169 public static void addListener(HelloServiceListener l) { in addListener() method in ICUServiceTestSample.HelloService
170 registry().addListener(l); in addListener()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceTestSample.java47 HelloService.addListener(this); in HelloServiceClient()
172 public static void addListener(HelloServiceListener l) { in addListener() method in ICUServiceTestSample.HelloService
173 registry().addListener(l); in addListener()
/external/mockito/src/main/java/org/mockito/internal/framework/
DDefaultMockitoFramework.java19 public MockitoFramework addListener(MockitoListener listener) { in addListener() method in DefaultMockitoFramework
21 mockingProgress().addListener(listener); in addListener()
/external/testng/src/test/java/test/conffailure/
DConfigurationFailure.java28 testng.addListener(tla); in beforeTestClassFails()
41 testng.addListener(tla); in beforeTestSuiteFails()
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/
DMultipleInterceptorsTest.java21 tng.addListener(tla); in testMultipleInterceptors()
33 tng.addListener(tla); in testMultipleInterceptorsWithPreserveOrder()

123456789