public abstract class ComparisonCriteria extends Object
Constructor and Description |
---|
ComparisonCriteria() |
Modifier and Type | Method and Description |
---|---|
void |
arrayEquals(String message,
Object expecteds,
Object actuals)
Asserts that two arrays are equal, according to the criteria defined by the
concrete subclass.
|
protected abstract void |
assertElementsEqual(Object expected,
Object actual) |
public void arrayEquals(String message, Object expecteds, Object actuals) throws ArrayComparisonFailure
AssertionError
is thrown with
the given message. If expecteds
and actuals
are
null
, they are considered equal.message
- the identifying message for the AssertionError
(
null
okay)expecteds
- Object array or array of arrays (multi-dimensional array) with
expected values.actuals
- Object array or array of arrays (multi-dimensional array) with
actual valuesArrayComparisonFailure