Home
last modified time | relevance | path

Searched refs:itemMatchers (Results 1 – 9 of 9) sorted by relevance

/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsArrayContainingInAnyOrder.java59 public static <E> Matcher<E[]> arrayContainingInAnyOrder(Matcher<? super E>... itemMatchers) { in arrayContainingInAnyOrder() argument
60 return arrayContainingInAnyOrder((List) Arrays.asList(itemMatchers)); in arrayContainingInAnyOrder()
83 …ic static <E> Matcher<E[]> arrayContainingInAnyOrder(Collection<Matcher<? super E>> itemMatchers) { in arrayContainingInAnyOrder() argument
84 return new IsArrayContainingInAnyOrder<E>(itemMatchers); in arrayContainingInAnyOrder()
DIsArrayContainingInOrder.java67 public static <E> Matcher<E[]> arrayContaining(Matcher<? super E>... itemMatchers) { in arrayContaining() argument
70 …l List<Matcher<? super E>> nullSafeWithExplicitTypeMatchers = NullSafety.<E>nullSafe(itemMatchers); in arrayContaining()
85 public static <E> Matcher<E[]> arrayContaining(List<Matcher<? super E>> itemMatchers) { in arrayContaining() argument
86 return new IsArrayContainingInOrder<E>(itemMatchers); in arrayContaining()
DIsIterableContainingInRelativeOrder.java99 …ic <E> Matcher<Iterable<? extends E>> containsInRelativeOrder(Matcher<? super E>... itemMatchers) { in containsInRelativeOrder() argument
100 return containsInRelativeOrder((List) asList(itemMatchers)); in containsInRelativeOrder()
114 …<E> Matcher<Iterable<? extends E>> containsInRelativeOrder(List<Matcher<? super E>> itemMatchers) { in containsInRelativeOrder() argument
115 return new IsIterableContainingInRelativeOrder<E>(itemMatchers); in containsInRelativeOrder()
DIsIterableContainingInAnyOrder.java99 … static <T> Matcher<Iterable<? extends T>> containsInAnyOrder(Matcher<? super T>... itemMatchers) { in containsInAnyOrder() argument
100 return containsInAnyOrder((List) Arrays.asList(itemMatchers)); in containsInAnyOrder()
150 …T> Matcher<Iterable<? extends T>> containsInAnyOrder(Collection<Matcher<? super T>> itemMatchers) { in containsInAnyOrder() argument
151 return new IsIterableContainingInAnyOrder<T>(itemMatchers); in containsInAnyOrder()
DIsIterableContainingInOrder.java131 public static <E> Matcher<Iterable<? extends E>> contains(Matcher<? super E>... itemMatchers) { in contains() argument
134 …l List<Matcher<? super E>> nullSafeWithExplicitTypeMatchers = NullSafety.<E>nullSafe(itemMatchers); in contains()
150 … public static <E> Matcher<Iterable<? extends E>> contains(List<Matcher<? super E>> itemMatchers) { in contains() argument
151 return new IsIterableContainingInOrder<E>(itemMatchers); in contains()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/
DNullSafety.java11 public static <E> List<Matcher<? super E>> nullSafe(Matcher<? super E>[] itemMatchers) { in nullSafe() argument
12 … final List<Matcher<? super E>> matchers = new ArrayList<Matcher<? super E>>(itemMatchers.length); in nullSafe()
13 for (final Matcher<? super E> itemMatcher : itemMatchers) { in nullSafe()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java289 …hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? super T>... itemMatchers) { in hasItems() argument
290 return org.hamcrest.core.IsCollectionContaining.<T>hasItems(itemMatchers); in hasItems()
614 …ic <E> org.hamcrest.Matcher<E[]> arrayContaining(org.hamcrest.Matcher<? super E>... itemMatchers) { in arrayContaining() argument
615 return org.hamcrest.collection.IsArrayContainingInOrder.<E>arrayContaining(itemMatchers); in arrayContaining()
628 …mcrest.Matcher<E[]> arrayContaining(java.util.List<org.hamcrest.Matcher<? super E>> itemMatchers) { in arrayContaining() argument
629 return org.hamcrest.collection.IsArrayContainingInOrder.<E>arrayContaining(itemMatchers); in arrayContaining()
652 ….hamcrest.Matcher<E[]> arrayContainingInAnyOrder(org.hamcrest.Matcher<? super E>... itemMatchers) { in arrayContainingInAnyOrder() argument
653 …urn org.hamcrest.collection.IsArrayContainingInAnyOrder.<E>arrayContainingInAnyOrder(itemMatchers); in arrayContainingInAnyOrder()
676 …[]> arrayContainingInAnyOrder(java.util.Collection<org.hamcrest.Matcher<? super E>> itemMatchers) { in arrayContainingInAnyOrder() argument
677 …urn org.hamcrest.collection.IsArrayContainingInAnyOrder.<E>arrayContainingInAnyOrder(itemMatchers); in arrayContainingInAnyOrder()
[all …]
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsCollectionContaining.java101 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? super T>... itemMatchers) { in hasItems() argument
102 List<Matcher<? super Iterable<T>>> all = new ArrayList<>(itemMatchers.length); in hasItems()
104 for (Matcher<? super T> elementMatcher : itemMatchers) { in hasItems()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java204 …hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? super T>... itemMatchers) { in hasItems() argument
205 return org.hamcrest.core.IsCollectionContaining.<T>hasItems(itemMatchers); in hasItems()