Searched defs:doNothing (Results 1 - 7 of 7) sorted by relevance

/external/mockito/src/org/mockito/stubbing/
H A DStubber.java10 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
34 * {@link Mockito#doNothing()}
45 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
62 * {@link Mockito#doNothing()}
117 * Use it for stubbing consecutive calls in {@link Mockito#doNothing()} style:
119 * doNothing().
123 * See javadoc for {@link Mockito#doNothing()}
127 Stubber doNothing(); method in interface:Stubber
/external/mockito/src/org/mockito/internal/stubbing/
H A DStubberImpl.java52 public Stubber doNothing() { method in class:StubberImpl
/external/mockito/src/org/mockito/
H A DMockito.java42 * <a href="#12">12. <code>doReturn()</code>|<code>doThrow()</code>|<code>doAnswer()</code>|<code>doNothing()</code>|<code>doCallRealMethod()</code> family of methods</a><br/>
442 * <code>doAnswer()</code>|<code>doNothing()</code>|<code>doCallRealMethod()</code> family of methods</a></h3>
459 * You can use <code>doThrow()</code>, <code>doAnswer()</code>, <code>doNothing()</code>, <code>doReturn()</code>
479 * {@link Mockito#doNothing()}
1736 * Use <code>doNothing()</code> for setting void methods to do nothing. <b>Beware that void methods on mocks do nothing by default!</b>
1737 * However, there are rare situations when doNothing() comes handy:
1742 * doNothing().
1759 * doNothing().when(spy).clear();
1773 public static Stubber doNothing() { method in class:Mockito
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DFuturesTest.java807 final Runnable doNothing = new Runnable() { field in class:FuturesTest.TestFutureBatch
842 ImmutableList.of(new TestFuture(doneSuccess, "doneSuccess", doNothing),
843 new TestFuture(doneFailed, "doneFailed", doNothing),
844 new TestFuture(doneCancelled, "doneCancelled", doNothing),
846 doneRuntimeException, "doneRuntimeException", doNothing),
/external/littlemock/src/com/google/testing/littlemock/
H A DLittleMock.java114 public static Behaviour doNothing() { return doReturn(null); } method in class:LittleMock
/external/dexmaker/lib/
H A Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/robolectric/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...

Completed in 336 milliseconds