/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 | 95 public <T> void reset(T... mocks) { in reset() 106 public <T> void clearInvocations(T... mocks) { in clearInvocations() 117 public void verifyNoMoreInteractions(Object... mocks) { in verifyNoMoreInteractions() 134 public void verifyNoMoreInteractionsInOrder(List<Object> mocks, InOrderContext inOrderContext) { in verifyNoMoreInteractionsInOrder() 140 private void assertMocksNotEmpty(Object[] mocks) { in assertMocksNotEmpty() 146 public InOrder inOrder(Object... mocks) { in inOrder() 183 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 | 22 …private Map<Object, MockCreationSettings> mocks = new IdentityHashMap<Object, MockCreationSettings… field in UniversalTestListener 50 private void reportUnusedStubs(TestFinishedEvent event, Collection<Object> mocks) { in reportUnusedStubs() 58 …static void emitWarnings(MockitoLogger logger, TestFinishedEvent event, Collection<Object> mocks) { in emitWarnings()
|
D | UnusedStubbingsFinder.java | 24 public UnusedStubbings getUnusedStubbings(Iterable<Object> mocks) { in getUnusedStubbings() 46 public Collection<Invocation> getUnusedStubbingsByLocation(Iterable<Object> mocks) { in getUnusedStubbingsByLocation()
|
D | ArgMismatchFinder.java | 16 StubbingArgMismatches getStubbingArgMismatches(Iterable<Object> 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 | 1975 public static <T> void reset(T ... mocks) { in reset() 1990 public static <T> void clearInvocations(T ... mocks) { in clearInvocations() 2035 public static void verifyNoMoreInteractions(Object... mocks) { in verifyNoMoreInteractions() 2054 public static void verifyZeroInteractions(Object... mocks) { in verifyZeroInteractions() 2360 public static InOrder inOrder(Object... mocks) { in inOrder() 2427 public static Object[] ignoreStubs(Object... mocks) { in ignoreStubs()
|
D | MockitoDebugger.java | 17 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 | 106 …boolean injectMockCandidates(Class<?> awaitingInjectionClazz, Object injectee, Set<Object> mocks) { in injectMockCandidates() 116 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()
|