HomeSort by relevance Sort by last modified time
    Searched defs:InjectMocks (Results 1 - 10 of 10) sorted by null

  /external/mockito/src/main/java/org/mockito/
InjectMocks.java 42 * <p><u>Note 2:</u> If &#064;InjectMocks instance wasn't initialized before and have a no-arg constructor,
50 * <p><u>Note 2:</u> If &#064;InjectMocks instance wasn't initialized before and have a no-arg constructor,
64 * &#064;InjectMocks private ArticleManager manager;
82 * In the above example the field <code>ArticleManager</code> annotated with <code>&#064;InjectMocks</code> can have
140 * Again, note that &#064;InjectMocks will only inject mocks/spies created using the &#64;Spy or &#64;Mock annotation.
165 public @interface InjectMocks {}
  /external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
InjectMocksScanner.java 8 import org.mockito.InjectMocks;
35 * Add the fields annotated by @{@link InjectMocks}
37 * @param mockDependentFields Set of fields annotated by @{@link InjectMocks}
44 * Scan fields annotated by &#064;InjectMocks
53 if (null != field.getAnnotation(InjectMocks.class)) {
65 throw unsupportedCombinationOfAnnotations(annotation.getSimpleName(), InjectMocks.class.getSimpleName());
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.2.5/
mockito-core-2.2.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.7.1/
mockito-core-2.7.1.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.7.6/
mockito-core-2.7.6.jar 
  /external/robolectric/v1/lib/test/
mockito-core-1.8.5.jar 
  /prebuilts/misc/common/robolectric/lib/
mockito-core-1.10.19.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.10.19/
mockito-core-1.10.19.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar 

Completed in 3471 milliseconds