/external/mockito/src/test/java/org/mockitousage/bugs/varargs/ |
D | VarargsNotPlayingWithAnyObjectTest.java | 13 import static org.mockito.Mockito.anyObject; 35 verify(mock).run((String) anyObject(), (String) anyObject()); in shouldMatchAnyVararg() 46 verify(mock).run((String[]) anyObject()); in shouldAllowUsingAnyObjectForVarArgs()
|
/external/mockito/src/test/java/org/mockitousage/verification/ |
D | VerificationOnMultipleMocksUsingMatchersTest.java | 33 verify(list).add(anyObject()); in shouldVerifyUsingMatchers() 36 verify(map, times(2)).put(anyObject(), anyObject()); in shouldVerifyUsingMatchers() 59 verify(map, times(2)).put(anyObject(), anyInt()); in shouldVerifyMultipleMocks()
|
/external/mockito/src/test/java/org/mockito/internal/ |
D | InvalidStateDetectionTest.java | 123 anyObject(); in shouldDetectMisplacedArgumentMatcher() 126 anyObject(); in shouldDetectMisplacedArgumentMatcher() 129 anyObject(); in shouldDetectMisplacedArgumentMatcher() 132 anyObject(); in shouldDetectMisplacedArgumentMatcher() 135 anyObject(); in shouldDetectMisplacedArgumentMatcher()
|
/external/mockito/src/test/java/org/mockitousage/misuse/ |
D | DetectingMisusedMatchersTest.java | 21 import static org.mockito.Mockito.anyObject; 42 anyObject(); in misplaced_anyObject_argument_matcher() 90 verify(withFinal).finalMethod(anyObject()); in shouldSayUnfinishedVerificationButNotInvalidUseOfMatchers()
|
D | ExplicitFrameworkValidationTest.java | 18 import static org.mockito.Matchers.anyObject; 48 anyObject(); in shouldDetectMisplacedArgumentMatcher()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingMapTest.java | 18 import static org.easymock.EasyMock.anyObject; 256 expect(map.containsKey(anyObject())).andReturn(false).anyTimes(); 257 expect(map.get(anyObject())).andReturn(null).anyTimes(); 259 expect(map.remove(anyObject())).andReturn(null).anyTimes(); 296 expect(map.containsKey(anyObject())).andReturn(false).anyTimes(); 298 expect(map.remove(anyObject())).andReturn(null).anyTimes(); 328 expect(map.containsValue(anyObject())).andReturn(false).anyTimes();
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | FilterDefinitionTest.java | 3 import static org.easymock.EasyMock.anyObject; 43 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in testFilterInitAndConfig() 97 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in testFilterCreateDispatchDestroy() 160 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in testFilterCreateDispatchDestroySupressChain() 229 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in testGetFilterIfMatching() 266 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in testGetFilterIfMatchingNotMatching()
|
D | ServletDefinitionPathsTest.java | 20 import static org.easymock.EasyMock.anyObject; 69 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in servletPath() 159 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in pathInfoWithServletStyleMatching() 270 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in pathInfoWithRegexMatching()
|
D | ServletPipelineRequestDispatcherTest.java | 20 import static org.easymock.EasyMock.anyObject; 93 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in testIncludeManagedServlet() 159 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in testForwardToManagedServlet() 229 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in forwardToManagedServletFailureOnCommittedBuffer()
|
D | ServletDefinitionTest.java | 19 import static org.easymock.EasyMock.anyObject; 53 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())).andReturn(true); in testServletInitAndConfig()
|
/external/mockito/src/test/java/org/mockitousage/matchers/ |
D | GenericMatchersTest.java | 16 import static org.mockito.Matchers.anyObject; 32 when(sorter.convertDate((Date) anyObject())).thenReturn("two"); in shouldCompile()
|
D | AnyXMatchersAcceptNullsTest.java | 36 when(mock.oneArg((Object) anyObject())).thenReturn("matched"); in shouldAcceptNullsInAnyObjectMatcher()
|
D | MoreMatchersTest.java | 38 verify(mock).simpleMethod(anyObject()); in any_should_be_actual_alias_to_anyObject()
|
D | MatchersTest.java | 46 import static org.mockito.Mockito.anyObject; 288 when(mock.oneArg((String) anyObject())).thenReturn("8"); in any_T_matcher() 289 when(mock.oneArg(anyObject())).thenReturn("9"); in any_T_matcher()
|
/external/mockito/src/test/java/org/mockitousage/basicapi/ |
D | UsingVarargsTest.java | 121 Mockito.verify(foo).varArgs((String[]) Mockito.anyObject()); in shouldVerifyWithAnyObject() 122 Mockito.verify(foo).varArgs((String) Mockito.anyObject()); in shouldVerifyWithAnyObject() 129 Mockito.verify(foo).varArgs((String[]) Mockito.anyObject()); in shouldVerifyWithNullVarArgArray()
|
D | MocksSerializationForAnnotationTest.java | 283 when(anyMock.matches(anyObject())).thenCallRealMethod(); in should_serialize_real_partial_mock()
|
D | MocksSerializationTest.java | 309 when(mock.matches(anyObject())).thenCallRealMethod(); in should_serialize_real_partial_mock()
|
/external/mockito/src/test/java/org/mockitousage/examples/use/ |
D | ExampleTest.java | 91 inOrder.verify(mockCalculator).countNumberOfRelatedArticles((Article) anyObject()); in shouldPersistRecalculatedArticle() 92 inOrder.verify(mockDatabase, atLeastOnce()).save((Article) anyObject()); in shouldPersistRecalculatedArticle()
|
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
D | LenientCopyToolTest.java | 152 copyValue(anyObject(), anyObject(), any(Field.class)); in shouldContinueEvenIfThereAreProblemsCopyingSingleFieldValue()
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | ActualInvocationHasNullArgumentNPEBugTest.java | 24 when(mockFun.doFun((String) anyObject())).thenReturn("value"); in shouldAllowPassingNullArgument()
|
/external/mockito/src/main/java/org/mockito/ |
D | ArgumentMatchers.java | 145 return anyObject(); in any() 164 public static <T> T anyObject() { in anyObject() method in ArgumentMatchers
|
/external/walt/ios/WALT/ |
D | WALTTouch.m | 27 UITouch *touch = [[event allTouches] anyObject];
|
/external/mockito/src/test/java/org/mockitousage/spies/ |
D | SpyingOnRealObjectsTest.java | 65 when(spy.contains(anyObject())).thenReturn(true); in shouldAllowOverridingStubs()
|
/external/mockito/src/test/java/org/mockitousage/stacktrace/ |
D | ModellingDescriptiveMessagesTest.java | 162 when(mock.equals(anyObject())).thenReturn(false); in shouldMentionFinalAndObjectMethodsWhenMisplacedArgumentMatcher()
|
/external/easymock/src/org/easymock/ |
D | EasyMock.java | 294 public static <T> T anyObject() { in anyObject() method in EasyMock
|