Searched refs:MockitoAnnotations (Results 1 - 17 of 17) sorted by relevance

/external/mockito/src/org/mockito/configuration/
H A DAnnotationEngine.java7 import org.mockito.MockitoAnnotations;
15 * If you are interested then see implementations or source code of {@link MockitoAnnotations#initMocks(Object)}
/external/mockito/src/org/mockito/internal/configuration/
H A DMockitoAnnotationsMockAnnotationProcessor.java8 import org.mockito.MockitoAnnotations.Mock;
H A DDefaultAnnotationEngine.java9 import org.mockito.MockitoAnnotations;
26 * @see MockitoAnnotations
34 registerAnnotationProcessor(MockitoAnnotations.Mock.class, new MockitoAnnotationsMockAnnotationProcessor());
H A DSpyAnnotationEngine.java45 @SuppressWarnings("deprecation") // for MockitoAnnotations.Mock
50 assertNoIncompatibleAnnotations(Spy.class, field, Mock.class, org.mockito.MockitoAnnotations.Mock.class, Captor.class);
61 // for example happens when MockitoAnnotations.initMocks is called two times.
/external/mockito/src/org/mockito/runners/
H A DMockitoJUnit44Runner.java10 import org.mockito.MockitoAnnotations;
21 * so that explicit usage of {@link MockitoAnnotations#initMocks(Object)} is not necessary.
31 * Read more about @Mock annotation in javadoc for {@link MockitoAnnotations}
H A DMockitoJUnitRunner.java15 import org.mockito.MockitoAnnotations;
27 * so that explicit usage of {@link MockitoAnnotations#initMocks(Object)} is not necessary.
37 * Read more about @Mock annotation in javadoc for {@link MockitoAnnotations}
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/
H A DInjectMocksScanner.java10 import org.mockito.MockitoAnnotations;
53 assertNoAnnotations(field, Mock.class, MockitoAnnotations.Mock.class, Captor.class);
H A DMockScanner.java8 import org.mockito.MockitoAnnotations;
82 || null != field.getAnnotation(MockitoAnnotations.Mock.class);
/external/mockito/src/org/mockito/internal/runners/
H A DJUnit44RunnerImpl.java14 import org.mockito.MockitoAnnotations;
27 MockitoAnnotations.initMocks(test);
H A DJUnit45AndHigherRunnerImpl.java15 import org.mockito.MockitoAnnotations;
27 MockitoAnnotations.initMocks(target);
/external/dagger2/producers/src/test/java/dagger/producers/internal/
H A DAbstractProducerTest.java29 import org.mockito.MockitoAnnotations;
53 MockitoAnnotations.initMocks(this);
/external/mockito/src/org/mockito/
H A DMockitoAnnotations.java25 * MockitoAnnotations.initMocks(this); initializes fields annotated with Mockito annotations.
51 * MockitoAnnotations.initMocks(this);
58 * <b><code>MockitoAnnotations.initMocks(this)</code></b> method has to called to initialize annotated fields.
64 public class MockitoAnnotations { class
73 * Typically, you can just <b>search:</b> import org.mockito.MockitoAnnotations.Mock; <b>and replace with:</b> import org.mockito.Mock;
87 * See examples in javadoc for {@link MockitoAnnotations} class.
91 throw new MockitoException("testClass cannot be null. For info how to use @Mock annotations see examples in javadoc for MockitoAnnotations class");
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/
H A DProducerFactoryTest.java34 import org.mockito.MockitoAnnotations;
50 MockitoAnnotations.initMocks(this);
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/monitoring/
H A DMonitoringTest.java35 import org.mockito.MockitoAnnotations;
57 MockitoAnnotations.initMocks(this);
/external/dagger2/producers/src/test/java/dagger/producers/monitoring/internal/
H A DMonitorsTest.java28 import org.mockito.MockitoAnnotations;
54 MockitoAnnotations.initMocks(this);
/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/ ...
/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/ ...

Completed in 191 milliseconds