Searched refs:itemMatchers (Results 1 – 9 of 9) sorted by relevance
59 public static <E> Matcher<E[]> arrayContainingInAnyOrder(Matcher<? super E>... itemMatchers) { in arrayContainingInAnyOrder() argument60 return arrayContainingInAnyOrder((List) Arrays.asList(itemMatchers)); in arrayContainingInAnyOrder()83 …ic static <E> Matcher<E[]> arrayContainingInAnyOrder(Collection<Matcher<? super E>> itemMatchers) { in arrayContainingInAnyOrder() argument84 return new IsArrayContainingInAnyOrder<E>(itemMatchers); in arrayContainingInAnyOrder()
67 public static <E> Matcher<E[]> arrayContaining(Matcher<? super E>... itemMatchers) { in arrayContaining() argument70 …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() argument86 return new IsArrayContainingInOrder<E>(itemMatchers); in arrayContaining()
99 …ic <E> Matcher<Iterable<? extends E>> containsInRelativeOrder(Matcher<? super E>... itemMatchers) { in containsInRelativeOrder() argument100 return containsInRelativeOrder((List) asList(itemMatchers)); in containsInRelativeOrder()114 …<E> Matcher<Iterable<? extends E>> containsInRelativeOrder(List<Matcher<? super E>> itemMatchers) { in containsInRelativeOrder() argument115 return new IsIterableContainingInRelativeOrder<E>(itemMatchers); in containsInRelativeOrder()
99 … static <T> Matcher<Iterable<? extends T>> containsInAnyOrder(Matcher<? super T>... itemMatchers) { in containsInAnyOrder() argument100 return containsInAnyOrder((List) Arrays.asList(itemMatchers)); in containsInAnyOrder()150 …T> Matcher<Iterable<? extends T>> containsInAnyOrder(Collection<Matcher<? super T>> itemMatchers) { in containsInAnyOrder() argument151 return new IsIterableContainingInAnyOrder<T>(itemMatchers); in containsInAnyOrder()
131 public static <E> Matcher<Iterable<? extends E>> contains(Matcher<? super E>... itemMatchers) { in contains() argument134 …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() argument151 return new IsIterableContainingInOrder<E>(itemMatchers); in contains()
11 public static <E> List<Matcher<? super E>> nullSafe(Matcher<? super E>[] itemMatchers) { in nullSafe() argument12 … 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()
289 …hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? super T>... itemMatchers) { in hasItems() argument290 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() argument615 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() argument629 return org.hamcrest.collection.IsArrayContainingInOrder.<E>arrayContaining(itemMatchers); in arrayContaining()652 ….hamcrest.Matcher<E[]> arrayContainingInAnyOrder(org.hamcrest.Matcher<? super E>... itemMatchers) { in arrayContainingInAnyOrder() argument653 …urn org.hamcrest.collection.IsArrayContainingInAnyOrder.<E>arrayContainingInAnyOrder(itemMatchers); in arrayContainingInAnyOrder()676 …[]> arrayContainingInAnyOrder(java.util.Collection<org.hamcrest.Matcher<? super E>> itemMatchers) { in arrayContainingInAnyOrder() argument677 …urn org.hamcrest.collection.IsArrayContainingInAnyOrder.<E>arrayContainingInAnyOrder(itemMatchers); in arrayContainingInAnyOrder()[all …]
101 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? super T>... itemMatchers) { in hasItems() argument102 List<Matcher<? super Iterable<T>>> all = new ArrayList<>(itemMatchers.length); in hasItems()104 for (Matcher<? super T> elementMatcher : itemMatchers) { in hasItems()
204 …hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? super T>... itemMatchers) { in hasItems() argument205 return org.hamcrest.core.IsCollectionContaining.<T>hasItems(itemMatchers); in hasItems()