Searched defs:initMocks (Results 1 - 6 of 6) sorted by relevance

/external/mockito/src/org/mockito/
H A DMockitoAnnotations.java25 * MockitoAnnotations.initMocks(this); initializes fields annotated with Mockito annotations.
50 * @Before public void initMocks() {
51 * MockitoAnnotations.initMocks(this);
58 * <b><code>MockitoAnnotations.initMocks(this)</code></b> method has to called to initialize annotated fields.
60 * In above example, <code>initMocks()</code> is called in &#064;Before (JUnit4) method of test's base class.
61 * For JUnit3 <code>initMocks()</code> can go to <code>setup()</code> method of a base class.
62 * You can also put initMocks() in your JUnit runner (&#064;RunWith) or use built-in runner: {@link MockitoJUnitRunner}
89 public static void initMocks(Object testClass) { method in class:MockitoAnnotations
/external/dagger2/producers/src/test/java/dagger/producers/internal/
H A DAbstractProducerTest.java52 public void initMocks() { method in class:AbstractProducerTest
53 MockitoAnnotations.initMocks(this);
/external/dagger2/producers/src/test/java/dagger/producers/monitoring/internal/
H A DMonitorsTest.java53 public void initMocks() { method in class:MonitorsTest
54 MockitoAnnotations.initMocks(this);
/external/littlemock/src/com/google/testing/littlemock/
H A DLittleMock.java333 public static void initMocks(Object instance) throws Exception { method in class:LittleMock
355 * {@link #initMocks(Object)}.
441 * Creates a mock, more easily done via the {@link #initMocks(Object)} method.
456 /** Creates a mock, more easily done via the {@link #initMocks(Object)} method. */
/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/v1/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 187 milliseconds