| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | assertContains(AssertionInfo
contains information about the assertion. info, ELEMENT[][] the given array. actual, ELEMENT[] the object to look for. value, Index the index where the object should be stored in the given array. index)Verifies that the given array contains the given object at the given index. |
| public void | assertDoesNotContain(AssertionInfo
contains information about the assertion. info, ELEMENT[][] the given array. actual, ELEMENT[] the object to look for. value, Index the index where the object should be stored in the given array. index)Verifies that the given array does not contain the given object at the given index. |
| public void | assertEmpty(AssertionInfo
contains information about the assertion. info, ELEMENT[][] the given array. actual)Asserts that the given array is empty. |
| public void | assertHasDimensions(AssertionInfo
contains information about the assertion. info, ELEMENT[][] the given array. actual, int the expected first dimension size of expectedFirstDimension, int actual.the expected second dimension size of expectedSecondDimension)actual.Asserts that the number of elements in the given array is equal to the expected one. |
| public void | assertHasSameDimensionsAs(AssertionInfo
contains information about the assertion. info, ELEMENT[][] the given array. actual, Object the group to compare other)Assert that the actual array has the same dimensions as the other array. |
| public void | assertNotEmpty(AssertionInfo
contains information about the assertion. info, ELEMENT[][] the given array. actual)Asserts that the given array is not empty. |
| public void | assertNullOrEmpty(AssertionInfo
contains information about the assertion. info, ELEMENT[][] the given array. actual)Asserts that the given array is |
| public void | assertNumberOfRows(AssertionInfo
contains information about the assertion. info, ELEMENT[][] the given array. actual, int the expected first dimension size of expectedNumberOfRows)actual.Asserts that the number of rows in the given array is equal to the expected one. |
| public static < the type of elements of the 2D array. ELEMENT> Object2DArrays | Returns: the singleton instance of this class.Returns the singleton instance of this class. |
| pack-priv void |
| arrays | back to summary |
|---|---|
| private Arrays2D arrays | |
| failures | back to summary |
|---|---|
| pack-priv Failures failures
| |
| Object2DArrays | back to summary |
|---|---|
| public Object2DArrays() | |
| assertContains | back to summary |
|---|---|
| public void assertContains(AssertionInfo info, ELEMENT[][] actual, ELEMENT[] value, Index index) Verifies that the given array contains the given object at the given index.
| |
| assertDoesNotContain | back to summary |
|---|---|
| public void assertDoesNotContain(AssertionInfo info, ELEMENT[][] actual, ELEMENT[] value, Index index) Verifies that the given array does not contain the given object at the given index.
| |
| assertEmpty | back to summary |
|---|---|
| public void assertEmpty(AssertionInfo info, ELEMENT[][] actual) Asserts that the given array is empty.
| |
| assertHasDimensions | back to summary |
|---|---|
| public void assertHasDimensions(AssertionInfo info, ELEMENT[][] actual, int expectedFirstDimension, int expectedSecondDimension) Asserts that the number of elements in the given array is equal to the expected one.
| |
| assertHasSameDimensionsAs | back to summary |
|---|---|
| public void assertHasSameDimensionsAs(AssertionInfo info, ELEMENT[][] actual, Object other) Assert that the actual array has the same dimensions as the other array.
| |
| assertNotEmpty | back to summary |
|---|---|
| public void assertNotEmpty(AssertionInfo info, ELEMENT[][] actual) Asserts that the given array is not empty.
| |
| assertNullOrEmpty | back to summary |
|---|---|
| public void assertNullOrEmpty(AssertionInfo info, ELEMENT[][] actual) Asserts that the given array is
| |
| assertNumberOfRows | back to summary |
|---|---|
| public void assertNumberOfRows(AssertionInfo info, ELEMENT[][] actual, int expectedNumberOfRows) Asserts that the number of rows in the given array is equal to the expected one.
| |
| instance | back to summary |
|---|---|
| public static <ELEMENT> Object2DArrays Returns the singleton instance of this class.
| |
| setArrays | back to summary |
|---|---|
pack-priv void setArrays(Arrays2D arrays)
| |