T
- the typepublic class IsOrderedCollectionContaining<T>
extends org.hamcrest.BaseMatcher<java.util.List<? super T>>
Modifier and Type | Class and Description |
---|---|
private class |
IsOrderedCollectionContaining.MismatchDescription |
Modifier and Type | Field and Description |
---|---|
private IsOrderedCollectionContaining.MismatchDescription |
actualFailureDescription |
private java.util.List<java.lang.Integer> |
badEntries |
private IsOrderedCollectionContaining.MismatchDescription |
expectedFailureDescription |
private java.util.List<T> |
expectedList |
private java.lang.String |
failureReason |
Constructor and Description |
---|
IsOrderedCollectionContaining(java.util.List<T> expectedList) |
Modifier and Type | Method and Description |
---|---|
void |
describeMismatch(java.lang.Object item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(java.lang.Object collection) |
private final java.util.List<T> expectedList
private java.lang.String failureReason
private java.util.List<java.lang.Integer> badEntries
private IsOrderedCollectionContaining.MismatchDescription actualFailureDescription
private IsOrderedCollectionContaining.MismatchDescription expectedFailureDescription
public IsOrderedCollectionContaining(java.util.List<T> expectedList)
expectedList
- the expected list