Home
last modified time | relevance | path

Searched refs:mockCandidates (Results 1 – 4 of 4) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DMockInjectionStrategy.java21 … protected boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) { in nop()
67 public boolean process(Field onField, Object fieldOwnedBy, Set<Object> mockCandidates) {
68 if(processInjection(onField, fieldOwnedBy, mockCandidates)) {
71 return relayProcessToNextStrategy(onField, fieldOwnedBy, mockCandidates);
86 …cted abstract boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates);
88 …te boolean relayProcessToNextStrategy(Field field, Object fieldOwner, Set<Object> mockCandidates) {
89 return nextStrategy != null && nextStrategy.process(field, fieldOwner, mockCandidates);
DConstructorInjection.java43 public boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) { in processInjection() argument
45 … SimpleArgumentResolver simpleArgumentResolver = new SimpleArgumentResolver(mockCandidates); in processInjection()
DPropertyAndSetterInjection.java79 …rocessInjection(Field injectMocksField, Object injectMocksFieldOwner, Set<Object> mockCandidates) { in processInjection() argument
87 …njectMockCandidates(fieldClass, fieldInstanceNeedingInjection, newMockSafeHashSet(mockCandidates)); in processInjection()
DSpyOnInjectedFieldsHandler.java31 protected boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) { in processInjection() argument