Home
last modified time | relevance | path

Searched refs:mockDependentFields (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
DInjectMocksScanner.java39 public void addTo(Set<Field> mockDependentFields) { in addTo() argument
40 mockDependentFields.addAll(scan()); in addTo()
50 Set<Field> mockDependentFields = new HashSet<Field>(); in scan() local
55 mockDependentFields.add(field); in scan()
59 return mockDependentFields; in scan()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DInjectingAnnotationEngine.java77 Set<Field> mockDependentFields = new HashSet<Field>(); in injectMocks() local
81 new InjectMocksScanner(clazz).addTo(mockDependentFields); in injectMocks()
83 onInjection(testClassInstance, clazz, mockDependentFields, mocks); in injectMocks()
87 … new DefaultInjectionEngine().injectMocksOnFields(mockDependentFields, mocks, testClassInstance); in injectMocks()
90 …d onInjection(Object testClassInstance, Class<?> clazz, Set<Field> mockDependentFields, Set<Object… in onInjection() argument
/external/mockito/src/test/java/org/mockitousage/configuration/
DCustomizedAnnotationForSmartMockTest.java44 …d onInjection(Object testClassInstance, Class<?> clazz, Set<Field> mockDependentFields, Set<Object… in onInjection() argument