public class DataTableHasTheSameRowsAs extends org.hamcrest.TypeSafeDiagnosingMatcher<DataTable>
assertThat(identical, hasTheSameRowsAs(table).inOrder()); assertThat(shuffled, hasTheSameRowsAs(table));
| Modifier | Constructor and Description |
|---|---|
protected |
DataTableHasTheSameRowsAs(DataTable expectedValue,
boolean unordered) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static DataTableHasTheSameRowsAs |
hasTheSameRowsAs(DataTable operand) |
DataTableHasTheSameRowsAs |
inOrder()
Compare the rows of the data table in order.
|
protected boolean |
matchesSafely(DataTable item,
org.hamcrest.Description description) |
protected DataTableHasTheSameRowsAs(DataTable expectedValue, boolean unordered)
public void describeTo(org.hamcrest.Description description)
protected boolean matchesSafely(DataTable item, org.hamcrest.Description description)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<DataTable>public DataTableHasTheSameRowsAs inOrder()
public static DataTableHasTheSameRowsAs hasTheSameRowsAs(DataTable operand)
Copyright © 2018. All rights reserved.