Home
last modified time | relevance | path

Searched refs:expectedToString (Results 1 – 4 of 4) sorted by relevance

/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/object/
DHasToString.java40 public static <T> Matcher<T> hasToString(String expectedToString) { in hasToString() argument
41 return new HasToString<T>(equalTo(expectedToString)); in hasToString()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapToStringTester.java72 "map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString()); in testToString_formatting()
75 private String expectedToString(Set<Entry<K, V>> entries) { in expectedToString() method in MapToStringTester
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java96 String expectedToString = "cdab0000"; in testFromBytes_copyOccurs() local
99 assertEquals(expectedToString, hashCode.toString()); in testFromBytes_copyOccurs()
104 assertEquals(expectedToString, hashCode.toString()); in testFromBytes_copyOccurs()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java1479 public static <T> org.hamcrest.Matcher<T> hasToString(java.lang.String expectedToString) { in hasToString() argument
1480 return org.hamcrest.object.HasToString.<T>hasToString(expectedToString); in hasToString()