Home
last modified time | relevance | path

Searched refs:ObjectMethodsGuru (Results 1 – 7 of 7) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/util/
DObjectMethodsGuruTest.java32 … assertFalse(ObjectMethodsGuru.isToStringMethod(Object.class.getMethod("equals", Object.class))); in shouldKnowToStringMethod()
33 …assertFalse(ObjectMethodsGuru.isToStringMethod(IMethods.class.getMethod("toString", String.class))… in shouldKnowToStringMethod()
34 assertTrue(ObjectMethodsGuru.isToStringMethod(IMethods.class.getMethod("toString"))); in shouldKnowToStringMethod()
40 assertFalse(ObjectMethodsGuru.isCompareToMethod(Date.class.getMethod("toString"))); in shouldKnowCompareToMethod()
41 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("foo", HasCompare.class… in shouldKnowCompareToMethod()
42 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", HasCompare… in shouldKnowCompareToMethod()
43 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", String.cla… in shouldKnowCompareToMethod()
44 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompareToButDoesNotImplementComparable.class.ge… in shouldKnowCompareToMethod()
46 …assertTrue(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", HasCompare.… in shouldKnowCompareToMethod()
/external/mockito/src/main/java/org/mockito/internal/util/
DObjectMethodsGuru.java11 public class ObjectMethodsGuru{ class
13 private ObjectMethodsGuru() { in ObjectMethodsGuru() method in ObjectMethodsGuru
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsEmptyValues.java14 import static org.mockito.internal.util.ObjectMethodsGuru.isCompareToMethod;
15 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
DReturnsSmartNulls.java8 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
/external/mockito/src/main/java/org/mockito/internal/matchers/text/
DMatcherToString.java7 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
/external/mockito/src/main/java/org/mockito/internal/verification/
DVerificationDataImpl.java16 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
DDefaultRegisteredInvocations.java12 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;