public class AssertionsOnModifiedColumns extends Object
AssertOnModifiedColumns| Modifier and Type | Method and Description |
|---|---|
static <A extends AbstractAssert> |
hasModifiedColumns(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
Integer... indexes)
Verifies that the indexes of columns with a modification in the values between the start point and the end point
is equals to the parameters.
|
static <A extends AbstractAssert> |
hasModifiedColumns(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
String... names)
Verifies that the names of columns with a modification in the values between the start point and the end point
is equals to the parameters.
|
static <A extends AbstractAssert> |
hasNumberOfModifiedColumns(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Change change,
int number)
Verifies that the number of columns with a modification in the values between the start point and the end point
is equals to the number in parameter.
|
public static <A extends AbstractAssert> A hasNumberOfModifiedColumns(A assertion, org.assertj.core.api.WritableAssertionInfo info, Change change, int number)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.change - The change.number - The expected number of modified columnsthis assertion object.AssertionError - If the number of modified columns is different to the number in parameter.public static <A extends AbstractAssert> A hasModifiedColumns(A assertion, org.assertj.core.api.WritableAssertionInfo info, Change change, Integer... indexes)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.change - The change.indexes - Indexes of the modified columns.this assertion object.AssertionError - If the indexes of the modified columns are different to the indexes in parameters.public static <A extends AbstractAssert> A hasModifiedColumns(A assertion, org.assertj.core.api.WritableAssertionInfo info, Change change, String... names)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.change - The change.names - The names of the modified columns.this assertion object.AssertionError - If the names of the modified columns are different to the names in parameters.Copyright © 2015 AssertJ. All Rights Reserved.