HomeSort by relevance Sort by last modified time
    Searched refs:onField (Results 1 - 4 of 4) sorted by null

  /external/mockito/src/main/java/org/mockito/internal/configuration/injection/
MockInjectionStrategy.java 62 * @param onField Field needing injection.
67 public boolean process(Field onField, Object fieldOwnedBy, Set<Object> mockCandidates) {
68 if(processInjection(onField, fieldOwnedBy, mockCandidates)) {
71 return relayProcessToNextStrategy(onField, fieldOwnedBy, mockCandidates);
MockInjection.java 35 public static OngoingMockInjection onField(Field field, Object ofInstance) {
  /external/mockito/src/test/java/org/mockito/internal/configuration/
MockInjectionTest.java 34 MockInjection.onField((Field) null, this);
44 MockInjection.onField(field("withConstructor"), null);
49 MockInjection.onField(field("withConstructor"), this).withMocks(null);
55 MockInjection.onField(field("withConstructor"), this).withMocks(oneSetMock()).tryConstructorInjection().apply();
62 MockInjection.onField(field("withoutConstructor"), this).withMocks(otherKindOfMocks()).tryConstructorInjection().apply();
69 MockInjection.onField(field("withoutConstructor"), this).withMocks(oneSetMock()).tryPropertyOrFieldInjection().apply();
76 MockInjection.onField(field("withoutConstructor"), this).withMocks(otherKindOfMocks()).tryPropertyOrFieldInjection().apply();
  /external/mockito/lib/
byte-buddy-1.8.15.jar 

Completed in 73 milliseconds