HomeSort by relevance Sort by last modified time
    Searched refs:elementMatcher (Results 1 - 9 of 9) sorted by null

  /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
IsArrayContaining.java 15 private final Matcher<? super T> elementMatcher;
17 public IsArrayContaining(Matcher<? super T> elementMatcher) {
18 this.elementMatcher = elementMatcher;
24 if (elementMatcher.matches(item)) {
40 .appendDescriptionOf(elementMatcher);
45 * that is matched by the specified <code>elementMatcher</code>. Whilst matching, the traversal
50 * @param elementMatcher
53 public static <T> Matcher<T[]> hasItemInArray(Matcher<? super T> elementMatcher) {
54 return new IsArrayContaining<T>(elementMatcher);
    [all...]
  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
IsCollectionContaining.java 14 private final Matcher<? super T> elementMatcher;
16 public IsCollectionContaining(Matcher<? super T> elementMatcher) {
17 this.elementMatcher = elementMatcher;
28 if (elementMatcher.matches(item)) {
39 elementMatcher.describeMismatch(item, mismatchDescription);
54 .appendDescriptionOf(elementMatcher);
104 for (Matcher<? super T> elementMatcher : itemMatchers) {
106 all.add(new IsCollectionContaining<>(elementMatcher));
  /external/junit/src/main/java/org/junit/matchers/
JUnitMatchers.java 26 * @return A matcher matching any collection containing an element matching elementMatcher
30 public static <T> Matcher<Iterable<? super T>> hasItem(Matcher<? super T> elementMatcher) {
31 return CoreMatchers.<T>hasItem(elementMatcher);
45 * each matcher in elementMatcher (this may be one element matching all matchers,
55 * @return A matcher matching any collection in which every element matches elementMatcher
59 public static <T> Matcher<Iterable<T>> everyItem(final Matcher<T> elementMatcher) {
60 return CoreMatchers.everyItem((Matcher) elementMatcher);
  /external/owasp/sanitizer/lib/junit/
junit-dep.jar 
junit.jar 
  /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
Matchers.java 564 * that is matched by the specified <code>elementMatcher</code>. Whilst matching, the traversal
569 * @param elementMatcher
572 public static <T> org.hamcrest.Matcher<T[]> hasItemInArray(org.hamcrest.Matcher<? super T> elementMatcher) {
573 return org.hamcrest.collection.IsArrayContaining.<T>hasItemInArray(elementMatcher);
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
junit-4.8.1.jar 
  /external/libphonenumber/lib/
junit-4.8.1.jar 
  /external/mockito/lib/
byte-buddy-1.8.15.jar 

Completed in 336 milliseconds