Home
last modified time | relevance | path

Searched refs:arrayContainingInAnyOrder (Results 1 – 3 of 3) sorted by relevance

/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsArrayContainingInAnyOrderTest.java6 import static org.hamcrest.collection.IsArrayContainingInAnyOrder.arrayContainingInAnyOrder;
14 return arrayContainingInAnyOrder(equalTo(1), equalTo(2)); in createMatcher()
19 … assertDescription("[<1>, <2>] in any order", arrayContainingInAnyOrder(equalTo(1), equalTo(2))); in testHasAReadableDescription()
20 assertDescription("[<1>, <2>] in any order", arrayContainingInAnyOrder(1, 2)); in testHasAReadableDescription()
24 assertMatches("in order", arrayContainingInAnyOrder(1, 2, 3), new Integer[] {1, 2, 3}); in testMatchesItemsInAnyOrder()
25 assertMatches("out of order", arrayContainingInAnyOrder(1, 2, 3), new Integer[] {3, 2, 1}); in testMatchesItemsInAnyOrder()
26 assertMatches("single", arrayContainingInAnyOrder(1), new Integer[] {1}); in testMatchesItemsInAnyOrder()
31 …assertMatches("in order", arrayContainingInAnyOrder(equalTo(1), equalTo(2), equalTo(3)), new Integ… in testAppliesMatchersInAnyOrder()
32 …assertMatches("out of order", arrayContainingInAnyOrder(equalTo(1), equalTo(2), equalTo(3)), new I… in testAppliesMatchersInAnyOrder()
33 assertMatches("single", arrayContainingInAnyOrder(equalTo(1)), new Integer[] {1}); in testAppliesMatchersInAnyOrder()
[all …]
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsArrayContainingInAnyOrder.java59 public static <E> Matcher<E[]> arrayContainingInAnyOrder(Matcher<? super E>... itemMatchers) { in arrayContainingInAnyOrder() method in IsArrayContainingInAnyOrder
60 return arrayContainingInAnyOrder((List) Arrays.asList(itemMatchers)); in arrayContainingInAnyOrder()
83 …public static <E> Matcher<E[]> arrayContainingInAnyOrder(Collection<Matcher<? super E>> itemMatche… in arrayContainingInAnyOrder() method in IsArrayContainingInAnyOrder
105 public static <E> Matcher<E[]> arrayContainingInAnyOrder(E... items) { in arrayContainingInAnyOrder() method in IsArrayContainingInAnyOrder
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java652 …public static <E> org.hamcrest.Matcher<E[]> arrayContainingInAnyOrder(org.hamcrest.Matcher<? super… in arrayContainingInAnyOrder() method in Matchers
653 …return org.hamcrest.collection.IsArrayContainingInAnyOrder.<E>arrayContainingInAnyOrder(itemMatche… in arrayContainingInAnyOrder()
676 …public static <E> org.hamcrest.Matcher<E[]> arrayContainingInAnyOrder(java.util.Collection<org.ham… in arrayContainingInAnyOrder() method in Matchers
677 …return org.hamcrest.collection.IsArrayContainingInAnyOrder.<E>arrayContainingInAnyOrder(itemMatche… in arrayContainingInAnyOrder()
698 public static <E> org.hamcrest.Matcher<E[]> arrayContainingInAnyOrder(E... items) { in arrayContainingInAnyOrder() method in Matchers
699 return org.hamcrest.collection.IsArrayContainingInAnyOrder.<E>arrayContainingInAnyOrder(items); in arrayContainingInAnyOrder()