Home
last modified time | relevance | path

Searched refs:equalToObject (Results 1 – 5 of 5) sorted by relevance

/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsEqualTest.java8 import static org.hamcrest.core.IsEqual.equalToObject;
114 assertMatches(equalToObject(10), original); in hasUntypedVariant()
115 assertDoesNotMatch(equalToObject(0), original); in hasUntypedVariant()
116 assertDoesNotMatch(equalToObject("10"), original); in hasUntypedVariant()
117 assertDoesNotMatch(equalToObject(10), "10"); in hasUntypedVariant()
/external/hamcrest/
DCHANGES.txt21 * Fix gh issue #59 - added equalToObject() (i.e. unchecked) method
37 * Fix issue 59 - add untyped version of equalTo, named equalToObject
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsEqual.java94 public static Matcher<Object> equalToObject(Object operand) { in equalToObject() method in IsEqual
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java253 public static org.hamcrest.Matcher<java.lang.Object> equalToObject(java.lang.Object operand) { in equalToObject() method in CoreMatchers
254 return org.hamcrest.core.IsEqual.equalToObject(operand); in equalToObject()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java337 public static org.hamcrest.Matcher<java.lang.Object> equalToObject(java.lang.Object operand) { in equalToObject() method in Matchers
338 return org.hamcrest.core.IsEqual.equalToObject(operand); in equalToObject()