Searched refs:forObject (Results 1 – 8 of 8) sorted by relevance
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | CompareMatcherTest.java | 51 when(mock.forObject(leq(5))).thenReturn(""); in compareToNonCompareable() 53 assertThat(mock.forObject(NOT_A_COMPARABLE)).isNull();// a default value must be returned in compareToNonCompareable() 71 when(mock.forObject(startsWith("Hello"))).thenReturn(""); in compareToStringVsInt() 73 assertThat(mock.forObject(123)).isNull();// a default value must be returned in compareToStringVsInt() 78 when(mock.forObject(leq(5))).thenReturn(""); in compareToIntVsString() 80 mock.forObject("abc"); in compareToIntVsString() 103 when(mock.forObject(argThat(new TestMatcher()))).thenReturn("x"); in matchesOverloadsMustBeIgnored() 105 assertThat(mock.forObject(123)).isNull(); in matchesOverloadsMustBeIgnored() 117 when(mock.forObject(argThat(new TestMatcher()))).thenReturn("x"); in matchesWithSubTypeExtendingGenericClass() 119 assertThat(mock.forObject(123)).isNull(); in matchesWithSubTypeExtendingGenericClass() [all …]
|
/external/guice/core/src/com/google/inject/internal/ |
D | ProviderMethodsModule.java | 65 return forObject(module, false, ProvidesMethodScanner.INSTANCE); in forModule() 70 return forObject(module, false, scanner); in forModule() 80 public static Module forObject(Object object) { in forObject() method in ProviderMethodsModule 81 return forObject(object, true, ProvidesMethodScanner.INSTANCE); in forObject() 84 private static Module forObject( in forObject() method in ProviderMethodsModule
|
/external/mockito/src/test/java/org/mockitousage/matchers/ |
D | AnyXMatchersAcceptNullsTest.java | 31 assertEquals(null, mock.forObject(null)); in shouldAcceptNullsInAnyMatcher() 38 assertEquals(null, mock.forObject(null)); in shouldAcceptNullsInAnyObjectMatcher()
|
D | MatchersTest.java | 270 when(mock.forObject(any())).thenReturn("matched"); in any_matcher() 272 assertEquals("matched", mock.forObject(123)); in any_matcher() 273 assertEquals("matched", mock.forObject("any string")); in any_matcher() 274 assertEquals("matched", mock.forObject("any string")); in any_matcher() 275 assertEquals("matched", mock.forObject(null)); in any_matcher()
|
/external/mockito/src/test/java/org/mockitousage/ |
D | IMethods.java | 235 String forObject(Object object); in forObject() method
|
D | MethodsImpl.java | 446 public String forObject(Object object) { in forObject() method in MethodsImpl
|
/external/clang/test/Analysis/ |
D | ivars.m | 90 forObject:(ManyIvars *)obj {
|
/external/guice/core/test/com/google/inject/spi/ |
D | ProviderMethodsTest.java | 397 install(ProviderMethodsModule.forObject(methodsObject));
|