Home
last modified time | relevance | path

Searched refs:Mockito (Results 1 – 25 of 38) sorted by relevance

12

/external/mockito/src/org/mockito/internal/configuration/injection/
DSpyOnInjectedFieldsHandler.java8 import org.mockito.Mockito;
18 import static org.mockito.Mockito.withSettings;
41 Mockito.reset(instance); in processInjection()
44 Mockito.mock(instance.getClass(), withSettings() in processInjection()
46 .defaultAnswer(Mockito.CALLS_REAL_METHODS) in processInjection()
/external/mockito/src/org/mockito/
DBDDMockito.java58 public class BDDMockito extends Mockito {
178 return new BDDOngoingStubbingImpl<T>(Mockito.when(methodCall)); in given()
292 return new BDDStubberImpl(Mockito.doThrow(toBeThrown)); in willThrow()
300 return new BDDStubberImpl(Mockito.doThrow(toBeThrown)); in willThrow()
308 return new BDDStubberImpl(Mockito.doAnswer(answer)); in willAnswer()
316 return new BDDStubberImpl(Mockito.doNothing()); in willDoNothing()
324 return new BDDStubberImpl(Mockito.doReturn(toBeReturned)); in willReturn()
332 return new BDDStubberImpl(Mockito.doCallRealMethod()); in willCallRealMethod()
DArgumentCaptor.java98 Mockito.argThat(capturingMatcher); in capture()
113 Mockito.argThat(varargCapturingMatcher); in captureVararg()
/external/mockito/src/org/mockito/internal/configuration/
DMockAnnotationProcessor.java9 import org.mockito.Mockito;
18 MockSettings mockSettings = Mockito.withSettings(); in process()
33 return Mockito.mock(field.getType(), mockSettings); in process()
DSpyAnnotationEngine.java18 import static org.mockito.Mockito.withSettings;
62 Mockito.reset(instance); in process()
65 field.set(testInstance, Mockito.mock(instance.getClass(), withSettings() in process()
67 .defaultAnswer(Mockito.CALLS_REAL_METHODS) in process()
DMockitoAnnotationsMockAnnotationProcessor.java7 import org.mockito.Mockito;
19 return Mockito.mock(field.getType(), field.getName()); in process()
/external/mockito/
DREADME.android1 Mockito is a mocking framework with a clean and simple API.
4 For Android, we need to combine Mockito with a MockMaker provided by the
/external/mockito/src/org/mockito/internal/runners/util/
DFrameworkUsageValidator.java11 import org.mockito.Mockito;
25 Mockito.validateMockitoUsage(); in testFinished()
/external/mockito/cglib-and-asm/
DREADME.TXT8 has been included in the Mockito builds since 2008 in Mockito 1.5.
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCursorWrapperTest.java11 import org.mockito.Mockito;
18 import static org.mockito.Mockito.*;
46 Mockito.verifyNoMoreInteractions(mockCursor); in verifyForward()
DArrayAdapterTest.java6 import static org.mockito.Mockito.mock;
7 import static org.mockito.Mockito.verify;
8 import static org.mockito.Mockito.verifyNoMoreInteractions;
DEditTextTest.java8 import static org.mockito.Mockito.mock;
9 import static org.mockito.Mockito.when;
DFragmentTransactionTest.java9 import static org.mockito.Mockito.mock;
10 import static org.mockito.Mockito.never;
11 import static org.mockito.Mockito.verify;
12 import static org.mockito.Mockito.when;
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
DWebSocketResponseHandlerTest.java19 import static org.mockito.Mockito.atLeast;
20 import static org.mockito.Mockito.verify;
21 import static org.mockito.Mockito.when;
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
DReturnsSmartNulls.java10 import org.mockito.Mockito;
50 return Mockito.mock(type, new ThrowsSmartNullPointer(invocation, location)); in answer()
DAnswers.java7 import org.mockito.Mockito;
/external/mockito/src/org/mockito/verification/
DVerificationMode.java8 import org.mockito.Mockito;
DVerificationWithTimeout.java8 import org.mockito.Mockito;
/external/mockito/src/org/mockito/stubbing/
DVoidMethodStubbable.java7 import org.mockito.Mockito;
DDeprecatedOngoingStubbing.java7 import org.mockito.Mockito;
DStubber.java7 import org.mockito.Mockito;
DOngoingStubbing.java7 import org.mockito.Mockito;
/external/mockito/src/org/mockito/runners/
DMockitoJUnit44Runner.java9 import org.mockito.Mockito;
/external/objenesis/
DREADME.android3 is used in particular by Mockito.
/external/littlemock/
DREADME10 Mocking framework. Looks very like Mockito (see http://mockito.org).

12