Known Direct Subclasses
|
Class Overview
Defines criteria for finding two items "equal enough". Concrete subclasses
may demand exact equality, or, for example, equality within a given delta.
Summary
Public Methods |
void
|
arrayEquals(String message, Object expecteds, Object actuals)
Asserts that two arrays are equal, according to the criteria defined by
the concrete subclass.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
ComparisonCriteria
()
Public Methods
public
void
arrayEquals
(String message, Object expecteds, Object actuals)
Asserts that two arrays are equal, according to the criteria defined by
the concrete subclass. If they are not, an AssertionError is
thrown with the given message. If expecteds
and
actuals
are null
, they are considered equal.
Parameters
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 values
|
Protected Methods
protected
abstract
void
assertElementsEqual
(Object expected, Object actual)