To create an instance of this class, invoke .
Assertions#assertThat(Object[][])
| Modifier and Type | Field and Description |
|---|---|
| private final Failures | |
| protected Object2DArrays |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object2DArrayAssert | |
| public Object2DArrayAssert | Returns: myself assertion object.the value to look for. value, Index the index where the value should be stored in the actual ELEMENT[][]. index)Verifies that the actual ELEMENT[][] does not contain the given ELEMENT[] at the given index. |
| public Object2DArrayAssert | Returns: this assertion object.the expected number of values in first dimension of the actual expectedFirstDimension, int ELEMENT[][].the expected number of values in second dimension of the actual expectedSecondDimension)ELEMENT[][].Implements org. ELEMENT[][] has the given dimensions.
|
| public Object2DArrayAssert | Returns: this assertion object.the expected number of rows of the two-dimensional array. expected)Implements org. |
| public Object2DArrayAssert | Returns: this assertion object.the array to compare dimensions with actual array)ELEMENT[][].Implements org. ELEMENT[][] has the same dimensions as the given array.
|
| public Object2DArrayAssert | Returns: this assertion object.the given value to compare the actual value to. expected)Implements abstract org. ELEMENT[][] is deeply equal to the given one.
|
| public void | isEmpty()
Implements org. ELEMENT[][] is empty, empty means the array has no elements,
said otherwise it can have any number of rows but all rows must be empty.
|
| public Object2DArrayAssert | Returns: this assertion object.the given value to compare the actual expected)ELEMENT[][] to.Overrides org. Implements org. ELEMENT[][] is equal to the given one.
|
| public Object2DArrayAssert | Returns: this assertion object.Implements org. ELEMENT[][] is not empty, not empty means the array has at least one char element.
|
| public void | isNullOrEmpty()
Implements org. ELEMENT[][] is null or empty, empty means the array has no elements,
said otherwise it can have any number of rows but all rows must be empty.
|
| failures | back to summary |
|---|---|
| private final Failures failures | |
| object2dArrays | back to summary |
|---|---|
| protected Object2DArrays<ELEMENT> object2dArrays
| |
| Object2DArrayAssert | back to summary |
|---|---|
| public Object2DArrayAssert(ELEMENT[][] actual) | |
| contains | back to summary |
|---|---|
| public Object2DArrayAssert Verifies that the actual ELEMENT[][] contains the given ELEMENT[] at the given index. Example:
| |
| doesNotContain | back to summary |
|---|---|
| public Object2DArrayAssert Verifies that the actual ELEMENT[][] does not contain the given ELEMENT[] at the given index. Example:
| |
| hasDimensions | back to summary |
|---|---|
| public Object2DArrayAssert Implements org. Verifies that the actual Example:
| |
| hasNumberOfRows | back to summary |
|---|---|
| public Object2DArrayAssert Implements org. Verifies that the actual two-dimensional array has the given number of rows. Example:
| |
| hasSameDimensionsAs | back to summary |
|---|---|
| public Object2DArrayAssert Implements org. Verifies that the actual Parameter is declared as Object to accept both Object and primitive arrays. Example:
| |
| isDeepEqualTo | back to summary |
|---|---|
| public Object2DArrayAssert Implements abstract org. Verifies that the actual
Two array references are considered deeply equal if both
are Example:
| |
| isEmpty | back to summary |
|---|---|
| public void isEmpty() Implements org. Verifies that the actual Example:
| |
| isEqualTo | back to summary |
|---|---|
| public Object2DArrayAssert Overrides org. Implements org. Verifies that the actual Warning This method will use Example:
| |
| isNotEmpty | back to summary |
|---|---|
| public Object2DArrayAssert Implements org. Verifies that the actual Example:
| |
| isNullOrEmpty | back to summary |
|---|---|
| public void isNullOrEmpty() Implements org. Verifies that the actual Example:
| |