Top Fields Constructors Methods
org.assertj.core.error

public Class ShouldHaveSameDimensionsAs

extends BasicErrorMessageFactory
Class Inheritance
Static Imports
java.lang.String.format

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private
ShouldHaveSameDimensionsAs(Object actual, Object expected, Object actualSize, Object expectedSize)

private
ShouldHaveSameDimensionsAs(int rowIndex, int actualRowSize, int expectedRowSize, Object actualRow, Object expectedRow, Object actual, Object expected)

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldHaveSameDimensionsAs
(Object
the actual value in the failed assertion.
actual
,
Object
the expected value in the failed assertion.
expected
,
Object
the size of actual.
actualSize
,
Object
the expected size.
expectedSize
)

Creates a new ShouldHaveSameDimensionsAs.

public static ErrorMessageFactory
shouldHaveSameDimensionsAs(int rowIndex, int actualRowSize, int expectedRowSize, Object actualRow, Object expectedRow, Object actual, Object expected)

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldHaveSameDimensionsAsback to summary
private ShouldHaveSameDimensionsAs(Object actual, Object expected, Object actualSize, Object expectedSize)
ShouldHaveSameDimensionsAsback to summary
private ShouldHaveSameDimensionsAs(int rowIndex, int actualRowSize, int expectedRowSize, Object actualRow, Object expectedRow, Object actual, Object expected)

Method Detail

shouldHaveSameDimensionsAsback to summary
public static ErrorMessageFactory shouldHaveSameDimensionsAs(Object actual, Object expected, Object actualSize, Object expectedSize)

Creates a new ShouldHaveSameDimensionsAs.

Parameters
actual:Object

the actual value in the failed assertion.

expected:Object

the expected value in the failed assertion.

actualSize:Object

the size of actual.

expectedSize:Object

the expected size.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.

shouldHaveSameDimensionsAsback to summary
public static ErrorMessageFactory shouldHaveSameDimensionsAs(int rowIndex, int actualRowSize, int expectedRowSize, Object actualRow, Object expectedRow, Object actual, Object expected)