Home
last modified time | relevance | path

Searched refs:doNothing (Results 1 – 25 of 61) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DRunnablesTest.java30 assertSame(Runnables.doNothing(), Runnables.doNothing()); in testDoNothingRunnableIsSingleton()
DWrappingExecutorServiceTest.java21 import static com.google.common.util.concurrent.Runnables.doNothing;
65 testExecutor.execute(doNothing()); in testExecute()
73 Future<?> f = testExecutor.submit(doNothing()); in testSubmit()
80 Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE); in testSubmit()
DSequentialExecutorTest.java335 executor.execute(Runnables.doNothing()); in testRejectedExecutionThrownWithMultipleCalls()
340 executor.execute(Runnables.doNothing()); in testRejectedExecutionThrownWithMultipleCalls()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DRunnablesTest.java30 assertSame(Runnables.doNothing(), Runnables.doNothing()); in testDoNothingRunnableIsSingleton()
DWrappingExecutorServiceTest.java21 import static com.google.common.util.concurrent.Runnables.doNothing;
65 testExecutor.execute(doNothing()); in testExecute()
73 Future<?> f = testExecutor.submit(doNothing()); in testSubmit()
80 Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE); in testSubmit()
/external/llvm-project/lldb/test/API/functionalities/thread/state/
Dmain.cpp16 int doNothing() in doNothing() function
31 int result = doNothing(); in main()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingConsecutiveAnswersTest.java242 .doNothing() in should_stub_void_method_and_continue_throwing()
266 doNothing() in should_stub_void_method()
268 .doNothing() in should_stub_void_method()
285 doNothing() in should_validate_consecutive_exception_for_void_method()
DStubbingUsingDoReturnTest.java175 doNothing() in should_allow_chained_stubbing_on_void_methods()
176 .doNothing() in should_allow_chained_stubbing_on_void_methods()
207 doNothing().when(mock).simpleMethod(); in should_not_allow_do_nothing_on_non_voids()
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DDefaultLenientStubber.java39 public Stubber doNothing() { in doNothing() method in DefaultLenientStubber
40 return stubber().doNothing(); in doNothing()
/external/mockito/src/test/java/org/mockito/verification/
DTimeoutTest.java34 doNothing().when(mode).verify(data); in should_pass_when_verification_passes()
68 doNothing(). in should_pass_even_if_first_verification_fails()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/
DStaticCapableStubber.java182 public StaticCapableStubber doNothing() { in doNothing() method in StaticCapableStubber
183 instanceStubber = instanceStubber.doNothing(); in doNothing()
DExtendedMockito.java95 public static StaticCapableStubber doNothing() { in doNothing() method in ExtendedMockito
96 return new StaticCapableStubber(Mockito.doNothing()); in doNothing()
/external/guice/core/test/com/google/inject/
DMembersInjectorTest.java42 void doNothing() {
51 void doNothing() {
411 void doNothing() {} in doNothing() method in MembersInjectorTest.A
418 void doNothing() {} in doNothing() method in MembersInjectorTest.B
/external/mockito/src/test/java/org/mockitousage/matchers/
DInvalidUseOfMatchersTest.java23 import static org.mockito.Mockito.doNothing;
126 doNothing().when(mock) in fails_with_NPE()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/dependency/
DMavenDependencyResolverTest.java7 import static org.mockito.Mockito.doNothing;
42 doNothing().when(dependenciesTask).execute(); in setUp()
/external/guava/guava/src/com/google/common/util/concurrent/
DRunnables.java36 public static Runnable doNothing() { in doNothing() method in Runnables
/external/guava/android/guava/src/com/google/common/util/concurrent/
DRunnables.java36 public static Runnable doNothing() { in doNothing() method in Runnables
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DLenientCopyToolTest.java148 doNothing(). in shouldContinueEvenIfThereAreProblemsCopyingSingleFieldValue()
150 doNothing(). in shouldContinueEvenIfThereAreProblemsCopyingSingleFieldValue()
/external/mockito/src/main/java/org/mockito/stubbing/
DBaseStubber.java93 Stubber doNothing(); in doNothing() method
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/
DAsynchronousMediaCodecBufferEnqueuerTest.java193 .doNothing() in flush_onInterruptedException_throwsIllegalStateException()
230 .doNothing() in shutdown_onInterruptedException_throwsIllegalStateException()
/external/mockito/src/main/java/org/mockito/
DBDDMockito.java429 return new BDDStubberImpl(mockitoStubber.doNothing()); in willDoNothing()
502 return new BDDStubberImpl(Mockito.doNothing()); in willDoNothing()
DMockito.java2430 public static Stubber doNothing() { in doNothing() method in Mockito
2431 return MOCKITO_CORE.stubber().doNothing(); in doNothing()
/external/llvm-project/llvm/unittests/ADT/
DSimpleIListTest.cpp21 void doNothing(Node *) {} in doNothing() function
157 L.removeAndDispose(B, doNothing); in TEST()
226 L.eraseAndDispose(B.getIterator(), doNothing); in TEST()
300 L.eraseAndDispose(B.getIterator(), E.getIterator(), doNothing)); in TEST()
332 L.clearAndDispose(doNothing); in TEST()
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/
DAbstractFutureFootprintBenchmark.java84 f.addListener(Runnables.doNothing(), directExecutor()); in measureSize()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DAbstractFutureFootprintBenchmark.java84 f.addListener(Runnables.doNothing(), directExecutor()); in measureSize()

123