public class AssertionsOnNumberOfRows extends Object
AssertOnNumberOfRows
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert<?>> |
hasNumberOfRows(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of rows is equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfRowsGreaterThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of rows is greater than the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfRowsGreaterThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of rows is greater than or equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfRowsLessThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of rows is less than the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfRowsLessThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of rows is less than or equal to the number in parameter.
|
public static <A extends AbstractAssert<?>> A hasNumberOfRows(A assertion, org.assertj.core.api.WritableAssertionInfo info, int size, int expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.size
- The size of the column.expected
- The number to compare to the size.this
assertion object.AssertionError
- If the number of rows is different to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfRowsGreaterThan(A assertion, org.assertj.core.api.WritableAssertionInfo info, int size, int expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.size
- The size of the row.expected
- The number to compare to the size.this
assertion object.AssertionError
- If the number of rows is less than or equal to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfRowsLessThan(A assertion, org.assertj.core.api.WritableAssertionInfo info, int size, int expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.size
- The size of the row.expected
- The number to compare to the size.this
assertion object.AssertionError
- If the number of rows is greater than or equal to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfRowsGreaterThanOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, int size, int expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.size
- The size of the row.expected
- The number to compare to the size.this
assertion object.AssertionError
- If the number of rows is less than the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfRowsLessThanOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, int size, int expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.size
- The size of the row.expected
- The number to compare to the size.this
assertion object.AssertionError
- If the number of rows is greater than the number in parameter.Copyright © 2020 AssertJ. All rights reserved.