Searched refs:containsInRelativeOrder (Results 1 – 3 of 3) sorted by relevance
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
D | IsIterableContainingInRelativeOrderTest.java | 11 import static org.hamcrest.collection.IsIterableContainingInRelativeOrder.containsInRelativeOrder; 17 …private final Matcher<Iterable<? extends WithValue>> contains123 = containsInRelativeOrder(value(1… 21 return containsInRelativeOrder(1, 2); in createMatcher() 25 assertMatches("Single item iterable", containsInRelativeOrder(1), asList(1)); in testMatchingSingleItemIterable() 29 assertMatches("Multiple item iterable", containsInRelativeOrder(1, 2, 3), asList(1, 2, 3)); in testMatchingMultipleItemIterable() 33 … assertMatches("More elements at beginning", containsInRelativeOrder(2, 3, 4), asList(1, 2, 3, 4)); in testMatchesWithMoreElementsThanExpectedAtBeginning() 37 assertMatches("More elements at end", containsInRelativeOrder(1, 2, 3), asList(1, 2, 3, 4)); in testMatchesWithMoreElementsThanExpectedAtEnd() 41 assertMatches("More elements in between", containsInRelativeOrder(1, 3), asList(1, 2, 3)); in testMatchesWithMoreElementsThanExpectedInBetween() 45 assertMatches("Sub section of iterable", containsInRelativeOrder(2, 3), asList(1, 2, 3, 4)); in testMatchesSubSection() 49 …es("Sub section with single gaps without a first or last match", containsInRelativeOrder(2, 4), as… in testMatchesWithSingleGapAndNotFirstOrLast() [all …]
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
D | IsIterableContainingInRelativeOrder.java | 80 public static <E> Matcher<Iterable<? extends E>> containsInRelativeOrder(E... items) { in containsInRelativeOrder() method in IsIterableContainingInRelativeOrder 86 return containsInRelativeOrder(matchers); in containsInRelativeOrder() 99 …public static <E> Matcher<Iterable<? extends E>> containsInRelativeOrder(Matcher<? super E>... ite… in containsInRelativeOrder() method in IsIterableContainingInRelativeOrder 100 return containsInRelativeOrder((List) asList(itemMatchers)); in containsInRelativeOrder() 114 …public static <E> Matcher<Iterable<? extends E>> containsInRelativeOrder(List<Matcher<? super E>> … in containsInRelativeOrder() method in IsIterableContainingInRelativeOrder
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
D | Matchers.java | 985 …public static <E> org.hamcrest.Matcher<java.lang.Iterable<? extends E>> containsInRelativeOrder(E.… in containsInRelativeOrder() method in Matchers 986 …return org.hamcrest.collection.IsIterableContainingInRelativeOrder.<E>containsInRelativeOrder(item… in containsInRelativeOrder() 999 …public static <E> org.hamcrest.Matcher<java.lang.Iterable<? extends E>> containsInRelativeOrder(or… in containsInRelativeOrder() method in Matchers 1000 …return org.hamcrest.collection.IsIterableContainingInRelativeOrder.<E>containsInRelativeOrder(item… in containsInRelativeOrder() 1014 …public static <E> org.hamcrest.Matcher<java.lang.Iterable<? extends E>> containsInRelativeOrder(ja… in containsInRelativeOrder() method in Matchers 1015 …return org.hamcrest.collection.IsIterableContainingInRelativeOrder.<E>containsInRelativeOrder(item… in containsInRelativeOrder()
|