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,
LetterCase columnLetterCase,
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.
|
static <A extends AbstractAssert<?>> |
hasNumberOfModifiedColumnsGreaterThan(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 greater than the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfModifiedColumnsGreaterThanOrEqualTo(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 greater than or equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfModifiedColumnsLessThan(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 less than the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfModifiedColumnsLessThanOrEqualTo(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 less than or equal 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 hasNumberOfModifiedColumnsGreaterThan(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 less than or equal to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfModifiedColumnsLessThan(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 greater than or equal to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfModifiedColumnsGreaterThanOrEqualTo(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 less than the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfModifiedColumnsLessThanOrEqualTo(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 greater than 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, LetterCase columnLetterCase, 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.columnLetterCase
- Letter case of the column names.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–2019 AssertJ. All rights reserved.