Searched refs:candidateFieldToBeInjected (Results 1 – 4 of 4) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/filter/ |
D | NameBasedCandidateFilter.java | 22 final Field candidateFieldToBeInjected, in filterCandidate() argument 26 …&& anotherCandidateMatchesMockName(mocks, candidateFieldToBeInjected, allRemainingCandidateFields)… in filterCandidate() 30 …ext.filterCandidate(tooMany(mocks) ? selectMatchingName(mocks, candidateFieldToBeInjected) : mocks, in filterCandidate() 31 candidateFieldToBeInjected, in filterCandidate() 40 …ivate List<Object> selectMatchingName(Collection<Object> mocks, Field candidateFieldToBeInjected) { in selectMatchingName() argument 43 if (candidateFieldToBeInjected.getName().equals(getMockName(mock).toString())) { in selectMatchingName() 60 final Field candidateFieldToBeInjected, in anotherCandidateMatchesMockName() argument 65 if (!otherCandidateField.equals(candidateFieldToBeInjected) in anotherCandidateMatchesMockName() 66 && otherCandidateField.getType().equals(candidateFieldToBeInjected.getType()) in anotherCandidateMatchesMockName()
|
D | TerminalMockCandidateFilter.java | 26 final Field candidateFieldToBeInjected, in filterCandidate() argument 35 … if (!new BeanPropertySetter(injectee, candidateFieldToBeInjected).set(matchingMock)) { in filterCandidate() 36 setField(injectee, candidateFieldToBeInjected,matchingMock); in filterCandidate() 39 throw cannotInjectDependency(candidateFieldToBeInjected, matchingMock, e); in filterCandidate()
|
D | TypeBasedCandidateFilter.java | 21 final Field candidateFieldToBeInjected, in filterCandidate() argument 26 if (candidateFieldToBeInjected.getType().isAssignableFrom(mock.getClass())) { in filterCandidate() 31 …return next.filterCandidate(mockTypeMatches, candidateFieldToBeInjected, allRemainingCandidateFiel… in filterCandidate()
|
D | MockCandidateFilter.java | 14 Field candidateFieldToBeInjected, in filterCandidate() argument
|