public class AssertionsOnNumberOfColumns extends Object
AssertOnNumberOfColumns
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert<?>> |
hasNumberOfColumns(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of columns is equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfColumnsGreaterThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of columns is greater than the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfColumnsGreaterThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of columns is greater than or equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfColumnsLessThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of columns is less than the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfColumnsLessThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
int size,
int expected)
Verifies that the number of columns is less than or equal to the number in parameter.
|
public static <A extends AbstractAssert<?>> A hasNumberOfColumns(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 columns is different to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfColumnsGreaterThan(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 columns is less than or equal to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfColumnsLessThan(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 columns is greater than or equal to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfColumnsGreaterThanOrEqualTo(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 columns is less than the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfColumnsLessThanOrEqualTo(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 columns is greater than the number in parameter.Copyright © 2015–2017 AssertJ. All rights reserved.