/external/mockito/src/test/java/org/mockito/internal/util/collections/ |
D | HashCodeAndEqualsSafeSetTest.java | 41 HashCodeAndEqualsSafeSet mocks = new HashCodeAndEqualsSafeSet(); in mock_with_failing_equals_method_can_be_used() local 52 HashCodeAndEqualsSafeSet mocks = new HashCodeAndEqualsSafeSet(); in can_remove() local 63 HashCodeAndEqualsSafeSet mocks = HashCodeAndEqualsSafeSet.of( in can_add_a_collection() local 76 HashCodeAndEqualsSafeSet mocks = HashCodeAndEqualsSafeSet.of( in can_retain_a_collection() local 91 HashCodeAndEqualsSafeSet mocks = HashCodeAndEqualsSafeSet.of( in can_remove_a_collection() local 106 HashCodeAndEqualsSafeSet mocks = HashCodeAndEqualsSafeSet.of( in can_iterate() local 119 HashCodeAndEqualsSafeSet mocks = HashCodeAndEqualsSafeSet.of(mock1); in toArray_just_work() local
|
/external/mockito/src/main/java/org/mockito/internal/ |
D | MockitoCore.java | 107 public <T> void reset(T... mocks) { in reset() 118 public <T> void clearInvocations(T... mocks) { in clearInvocations() 129 public void verifyNoMoreInteractions(Object... mocks) { in verifyNoMoreInteractions() 146 public void verifyNoMoreInteractionsInOrder(List<Object> mocks, InOrderContext inOrderContext) { in verifyNoMoreInteractionsInOrder() 152 private void assertMocksNotEmpty(Object[] mocks) { in assertMocksNotEmpty() 158 public InOrder inOrder(Object... mocks) { in inOrder() 199 public Object[] ignoreStubs(Object... mocks) { in ignoreStubs()
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/filter/ |
D | NameBasedCandidateFilter.java | 21 public OngoingInjector filterCandidate(final Collection<Object> mocks, in filterCandidate() 36 private boolean tooMany(Collection<Object> mocks) { in tooMany() 40 …private List<Object> selectMatchingName(Collection<Object> mocks, Field candidateFieldToBeInjected… in selectMatchingName() 59 private boolean anotherCandidateMatchesMockName(final Collection<Object> mocks, in anotherCandidateMatchesMockName()
|
D | MockCandidateFilter.java | 13 Collection<Object> mocks, in filterCandidate()
|
D | TerminalMockCandidateFilter.java | 25 public OngoingInjector filterCandidate(final Collection<Object> mocks, in filterCandidate()
|
D | TypeBasedCandidateFilter.java | 20 public OngoingInjector filterCandidate(final Collection<Object> mocks, in filterCandidate()
|
/external/mockito/src/main/java/org/mockito/internal/util/collections/ |
D | HashCodeAndEqualsSafeSet.java | 115 public boolean removeAll(Collection<?> mocks) { in removeAll() 119 public boolean containsAll(Collection<?> mocks) { in containsAll() 123 public boolean addAll(Collection<?> mocks) { in addAll() 127 public boolean retainAll(Collection<?> mocks) { in retainAll() 131 private HashSet<HashCodeAndEqualsMockWrapper> asWrappedMocks(Collection<?> mocks) { in asWrappedMocks() 145 public static HashCodeAndEqualsSafeSet of(Object... mocks) { in of()
|
D | Sets.java | 13 public static Set<Object> newMockSafeHashSet(Iterable<Object> mocks) { in newMockSafeHashSet() 17 public static Set<Object> newMockSafeHashSet(Object... mocks) { in newMockSafeHashSet()
|
/external/mockito/src/main/java/org/mockito/internal/junit/ |
D | UniversalTestListener.java | 26 …private Map<Object, MockCreationSettings> mocks = new IdentityHashMap<Object, MockCreationSettings… field in UniversalTestListener 54 private void reportUnusedStubs(TestFinishedEvent event, Collection<Object> mocks) { in reportUnusedStubs() 62 …static void emitWarnings(MockitoLogger logger, TestFinishedEvent event, Collection<Object> mocks) { in emitWarnings()
|
D | UnusedStubbingsFinder.java | 31 public UnusedStubbings getUnusedStubbings(Iterable<Object> mocks) { in getUnusedStubbings() 53 public Collection<Invocation> getUnusedStubbingsByLocation(Iterable<Object> mocks) { in getUnusedStubbingsByLocation()
|
D | ArgMismatchFinder.java | 16 StubbingArgMismatches getStubbingArgMismatches(Iterable<?> mocks) { in getStubbingArgMismatches()
|
D | UnnecessaryStubbingsReporter.java | 24 private List<Object> mocks = new LinkedList<Object>(); field in UnnecessaryStubbingsReporter
|
/external/mockito/src/main/java/org/mockito/internal/invocation/finder/ |
D | AllInvocationsFinder.java | 26 public static List<Invocation> find(Iterable<?> mocks) { in find() 42 public static Set<Stubbing> findStubbings(Iterable<?> mocks) { in findStubbings()
|
D | VerifiableInvocationsFinder.java | 21 public static List<Invocation> find(List<?> mocks) { in find()
|
/external/mockito/src/main/java/org/mockito/ |
D | Mockito.java | 2170 public static <T> void reset(T ... mocks) { in reset() 2185 public static <T> void clearInvocations(T ... mocks) { in clearInvocations() 2233 public static void verifyNoMoreInteractions(Object... mocks) { in verifyNoMoreInteractions() 2243 public static void verifyZeroInteractions(Object... mocks) { in verifyZeroInteractions() 2558 public static InOrder inOrder(Object... mocks) { in inOrder() 2642 public static Object[] ignoreStubs(Object... mocks) { in ignoreStubs()
|
D | MockitoDebugger.java | 19 String printInvocations(Object ... mocks); in printInvocations()
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/ |
D | MockScanner.java | 44 public void addPreparedMocks(Set<Object> mocks) { in addPreparedMocks() 54 Set<Object> mocks = newMockSafeHashSet(); in scan() local
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/ |
D | MockInjection.java | 56 private final Set<Object> mocks = newMockSafeHashSet(); field in MockInjection.OngoingMockInjection 70 public OngoingMockInjection withMocks(Set<Object> mocks) { in withMocks()
|
D | PropertyAndSetterInjection.java | 105 …boolean injectMockCandidates(Class<?> awaitingInjectionClazz, Object injectee, Set<Object> mocks) { in injectMockCandidates() 115 private boolean injectMockCandidatesOnFields(Set<Object> mocks, in injectMockCandidatesOnFields()
|
/external/mockito/src/main/java/org/mockito/internal/configuration/ |
D | InjectingAnnotationEngine.java | 78 Set<Object> mocks = newMockSafeHashSet(); in injectMocks() local 90 …tion(Object testClassInstance, Class<?> clazz, Set<Field> mockDependentFields, Set<Object> mocks) { in onInjection()
|
D | DefaultInjectionEngine.java | 19 …public void injectMocksOnFields(Set<Field> needingInjection, Set<Object> mocks, Object testClassIn… in injectMocksOnFields()
|
/external/mockito/src/test/java/org/mockitousage/performance/ |
D | LoadsOfMocksTest.java | 24 List<IMethods> mocks = new LinkedList<IMethods>(); in testSomething() local
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
D | UnusedStubsFinder.java | 23 public List<Invocation> find(List<?> mocks) { in find()
|
/external/mockito/src/main/java/org/mockito/internal/debugging/ |
D | MockitoDebuggerImpl.java | 24 public String printInvocations(Object ... mocks) { in printInvocations()
|
/external/mockito/src/test/java/org/mockitousage/configuration/ |
D | CustomizedAnnotationForSmartMockTest.java | 44 …tion(Object testClassInstance, Class<?> clazz, Set<Field> mockDependentFields, Set<Object> mocks) { in onInjection()
|