Home
last modified time | relevance | path

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

/external/mockito/src/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.java49 public boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) { in processInjection() argument
51 … SimpleArgumentResolver simpleArgumentResolver = new SimpleArgumentResolver(mockCandidates); in processInjection()
DPropertyAndSetterInjection.java71 …rocessInjection(Field injectMocksField, Object injectMocksFieldOwner, Set<Object> mockCandidates) { in processInjection() argument
80 …injectionOccurred |= injectMockCandidates(fieldClass, newMockSafeHashSet(mockCandidates), fieldIns… in processInjection()
DSpyOnInjectedFieldsHandler.java31 protected boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) { in processInjection() argument