Searched refs:doNothing (Results 1 - 3 of 3) sorted by relevance

/external/littlemock/tests/com/google/testing/littlemock/
H A DLittleMockTest.java36 import static com.google.testing.littlemock.LittleMock.doNothing;
517 doNothing().when(mFoo).add("first");
604 doNothing().when(mFoo).add(mCaptureString.capture());
605 doNothing().when(mFoo).getResultLater(mCaptureCallback.capture());
733 doNothing().when(mFoo).add(mCaptureString.capture());
1614 // TODO(hugohudson): 6. Again we can chain things like doNothing() then doThrow() I suppose.
1615 // doNothing().doThrow(new RuntimeException()).when(mock).someVoidMethod();
/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

Completed in 133 milliseconds