Home
last modified time | relevance | path

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

/external/hamcrest/library/src/org/hamcrest/xml/
DHasXPath.java22 private final Matcher<String> valueMatcher; field in HasXPath
31 public HasXPath(String xPathExpression, Matcher<String> valueMatcher) { in HasXPath() argument
36 this.valueMatcher = valueMatcher; in HasXPath()
47 } else if (valueMatcher == null) { in matchesSafely()
50 return valueMatcher.matches(result); in matchesSafely()
59 if (valueMatcher != null) { in describeTo()
60 description.appendText(" ").appendDescriptionOf(valueMatcher); in describeTo()
65 public static Matcher<Node> hasXPath(String xPath, Matcher<String> valueMatcher) { in hasXPath() argument
66 return new HasXPath(xPath, valueMatcher); in hasXPath()
/external/hamcrest/library/src/org/hamcrest/collection/
DIsMapContaining.java17 private final Matcher<V> valueMatcher; field in IsMapContaining
19 public IsMapContaining(Matcher<K> keyMatcher, Matcher<V> valueMatcher) { in IsMapContaining() argument
21 this.valueMatcher = valueMatcher; in IsMapContaining()
26 if (keyMatcher.matches(entry.getKey()) && valueMatcher.matches(entry.getValue())) { in matchesSafely()
37 .appendDescriptionOf(valueMatcher) in describeTo()
42 public static <K,V> Matcher<Map<K,V>> hasEntry(Matcher<K> keyMatcher, Matcher<V> valueMatcher) { in hasEntry() argument
43 return new IsMapContaining<K,V>(keyMatcher, valueMatcher); in hasEntry()
62 public static <K,V> Matcher<Map<K,V>> hasValue(Matcher<V> valueMatcher) { in hasValue() argument
63 return hasEntry(IsAnything.<K>anything(), valueMatcher); in hasValue()
/external/hamcrest/library/src/org/hamcrest/
DMatchers.java189 …til.Map<K, V>> hasEntry(org.hamcrest.Matcher<K> keyMatcher, org.hamcrest.Matcher<V> valueMatcher) { in hasEntry() argument
190 return org.hamcrest.collection.IsMapContaining.hasEntry(keyMatcher, valueMatcher); in hasEntry()
205 …c <K, V> org.hamcrest.Matcher<java.util.Map<K, V>> hasValue(org.hamcrest.Matcher<V> valueMatcher) { in hasValue() argument
206 return org.hamcrest.collection.IsMapContaining.hasValue(valueMatcher); in hasValue()
300 …c.dom.Node> hasXPath(java.lang.String xPath, org.hamcrest.Matcher<java.lang.String> valueMatcher) { in hasXPath() argument
301 return org.hamcrest.xml.HasXPath.hasXPath(xPath, valueMatcher); in hasXPath()
/external/opencv3/modules/java/pure_test/lib/
Djunit-4.11.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...