HomeSort by relevance Sort by last modified time
    Searched defs:valueMatcher (Results 1 - 6 of 6) sorted by null

  /external/hamcrest/library/src/org/hamcrest/collection/
IsMapContaining.java 17 private final Matcher<V> valueMatcher;
19 public IsMapContaining(Matcher<K> keyMatcher, Matcher<V> valueMatcher) {
21 this.valueMatcher = valueMatcher;
26 if (keyMatcher.matches(entry.getKey()) && valueMatcher.matches(entry.getValue())) {
37 .appendDescriptionOf(valueMatcher)
42 public static <K,V> Matcher<Map<K,V>> hasEntry(Matcher<K> keyMatcher, Matcher<V> valueMatcher) {
43 return new IsMapContaining<K,V>(keyMatcher, valueMatcher);
62 public static <K,V> Matcher<Map<K,V>> hasValue(Matcher<V> valueMatcher) {
63 return hasEntry(IsAnything.<K>anything(), valueMatcher);
    [all...]
  /external/hamcrest/library/src/org/hamcrest/xml/
HasXPath.java 22 private final Matcher<String> valueMatcher;
28 * @param valueMatcher Matcher to use at given XPath.
31 public HasXPath(String xPathExpression, Matcher<String> valueMatcher) {
36 this.valueMatcher = valueMatcher;
47 } else if (valueMatcher == null) {
50 return valueMatcher.matches(result);
59 if (valueMatcher != null) {
60 description.appendText(" ").appendDescriptionOf(valueMatcher);
65 public static Matcher<Node> hasXPath(String xPath, Matcher<String> valueMatcher) {
    [all...]
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.1/
hamcrest-library-1.1.jar 
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.3/
hamcrest-library-1.3.jar 
  /prebuilts/misc/common/android-support-test/
espresso-core.jar 
  /external/chromium_org/third_party/closure_compiler/compiler/
compiler.jar 

Completed in 226 milliseconds