Home
last modified time | relevance | path

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

12

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DRunnablesTest.java31 assertSame(Runnables.doNothing(), Runnables.doNothing()); in testDoNothingRunnableIsSingleton()
DWrappingExecutorServiceTest.java20 import static com.google.common.util.concurrent.Runnables.doNothing;
66 testExecutor.execute(doNothing()); in testExecute()
74 Future<?> f = testExecutor.submit(doNothing()); in testSubmit()
81 Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE); in testSubmit()
DFuturesTest.java1162 final Runnable doNothing = new Runnable() {
1197 ImmutableList.of(new TestFuture(doneSuccess, "doneSuccess", doNothing),
1198 new TestFuture(doneFailed, "doneFailed", doNothing),
1199 new TestFuture(doneCancelled, "doneCancelled", doNothing),
1201 doneRuntimeException, "doneRuntimeException", doNothing),
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingConsecutiveAnswersTest.java214 .doNothing() in should_stub_void_method_and_continue_throwing()
238 doNothing() in should_stub_void_method()
240 .doNothing() in should_stub_void_method()
257 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/guice/core/test/com/google/inject/
DMembersInjectorTest.java35 @Override void doNothing() {
41 @Override void doNothing() {
257 @Inject void doNothing() {} in doNothing() method in MembersInjectorTest.A
262 @Inject void doNothing() {} in doNothing() method in MembersInjectorTest.B
DBindingTest.java77 bind(Runnable.class).toInstance(Runnables.doNothing()); in configure()
/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/mockito/src/test/java/org/mockitousage/matchers/
DInvalidUseOfMatchersTest.java23 import static org.mockito.Mockito.doNothing;
126 doNothing().when(mock) in fails_with_NPE()
/external/guava/guava/src/com/google/common/util/concurrent/
DRunnables.java40 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/
DStubber.java148 Stubber doNothing(); in doNothing() method
/external/mockito/src/main/java/org/mockito/
DMockito.java2225 public static Stubber doNothing() { in doNothing() method in Mockito
2226 return MOCKITO_CORE.stubber().doNothing(); in doNothing()
DBDDMockito.java429 return new BDDStubberImpl(mockitoStubber.doNothing()); in willDoNothing()
502 return new BDDStubberImpl(Mockito.doNothing()); in willDoNothing()
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DStubberImpl.java92 public Stubber doNothing() { in doNothing() method in StubberImpl
/external/mockito/src/test/java/org/mockitousage/spies/
DSpyingOnRealObjectsTest.java73 doNothing() in shouldStubVoid()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h172 static Error doNothing() { return Error::success(); } in doNothing() function
DOrcRemoteTargetClient.h807 static Error doNothing() { return Error::success(); } in doNothing() function
/external/robolectric/v1/lib/test/
Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/ ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12