Home
last modified time | relevance | path

Searched defs:mocks (Results 1 – 25 of 57) sorted by relevance

123

/external/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver_unittest.cc164 RtpRtcpInterface::Configuration DefaultConfiguration(ReceiverMocks* mocks) { in DefaultConfiguration()
183 ReceiverMocks mocks; in TEST() local
193 ReceiverMocks mocks; in TEST() local
206 ReceiverMocks mocks; in TEST() local
225 ReceiverMocks mocks; in TEST() local
245 ReceiverMocks mocks; in TEST() local
277 ReceiverMocks mocks; in TEST() local
311 ReceiverMocks mocks; in TEST() local
341 ReceiverMocks mocks; in TEST() local
360 ReceiverMocks mocks; in TEST() local
[all …]
/external/mockito/src/test/java/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSetTest.java41 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/
DMockitoCore.java107 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/util/collections/
DHashCodeAndEqualsSafeSet.java115 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()
DSets.java13 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/configuration/injection/filter/
DNameBasedCandidateFilter.java21 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()
DMockCandidateFilter.java13 Collection<Object> mocks, in filterCandidate()
DTerminalMockCandidateFilter.java25 public OngoingInjector filterCandidate(final Collection<Object> mocks, in filterCandidate()
DTypeBasedCandidateFilter.java20 public OngoingInjector filterCandidate(final Collection<Object> mocks, in filterCandidate()
/external/mockito/src/main/java/org/mockito/
DMockito.java2180 public static <T> void reset(T ... mocks) { in reset()
2195 public static <T> void clearInvocations(T ... mocks) { in clearInvocations()
2243 public static void verifyNoMoreInteractions(Object... mocks) { in verifyNoMoreInteractions()
2253 public static void verifyZeroInteractions(Object... mocks) { in verifyZeroInteractions()
2568 public static InOrder inOrder(Object... mocks) { in inOrder()
2652 public static Object[] ignoreStubs(Object... mocks) { in ignoreStubs()
DMockitoDebugger.java19 String printInvocations(Object ... mocks); in printInvocations()
/external/mockito/src/main/java/org/mockito/internal/junit/
DUniversalTestListener.java26 …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()
DUnusedStubbingsFinder.java31 public UnusedStubbings getUnusedStubbings(Iterable<Object> mocks) { in getUnusedStubbings()
53 public Collection<Invocation> getUnusedStubbingsByLocation(Iterable<Object> mocks) { in getUnusedStubbingsByLocation()
DArgMismatchFinder.java16 StubbingArgMismatches getStubbingArgMismatches(Iterable<?> mocks) { in getStubbingArgMismatches()
DUnnecessaryStubbingsReporter.java24 private List<Object> mocks = new LinkedList<Object>(); field in UnnecessaryStubbingsReporter
/external/mockito/src/main/java/org/mockito/internal/invocation/finder/
DAllInvocationsFinder.java26 public static List<Invocation> find(Iterable<?> mocks) { in find()
42 public static Set<Stubbing> findStubbings(Iterable<?> mocks) { in findStubbings()
DVerifiableInvocationsFinder.java21 public static List<Invocation> find(List<?> mocks) { in find()
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
DMockScanner.java44 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/
DMockInjection.java56 private final Set<Object> mocks = newMockSafeHashSet(); field in MockInjection.OngoingMockInjection
70 public OngoingMockInjection withMocks(Set<Object> mocks) { in withMocks()
DPropertyAndSetterInjection.java105 …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/
DInjectingAnnotationEngine.java78 Set<Object> mocks = newMockSafeHashSet(); in injectMocks() local
90 …tion(Object testClassInstance, Class<?> clazz, Set<Field> mockDependentFields, Set<Object> mocks) { in onInjection()
DDefaultInjectionEngine.java19 …public void injectMocksOnFields(Set<Field> needingInjection, Set<Object> mocks, Object testClassIn… in injectMocksOnFields()
/external/mockito/src/test/java/org/mockitousage/performance/
DLoadsOfMocksTest.java24 List<IMethods> mocks = new LinkedList<IMethods>(); in testSomething() local
/external/mockito/src/main/java/org/mockito/internal/invocation/
DUnusedStubsFinder.java23 public List<Invocation> find(List<?> mocks) { in find()
/external/mockito/src/main/java/org/mockito/internal/debugging/
DMockitoDebuggerImpl.java24 public String printInvocations(Object ... mocks) { in printInvocations()

123