|
JUnit-addons version 1.4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
createEqualInstance()
return distinct but
equivalent objects.
SerializabilityTestCase.testSerializability()
.
Comparable
interface.equals
and hashCode
contract.PropertyManager
class represents a persistent set of
properties loaded from a standard Property file.ClassValidator
interface.equals
holds up against a new
Object
(should always be false
).
equals
holds up against null
.
equals
holds up against objects that should
not compare equal.
equals
is consistent.
equals
is reflexive.
equals
is symmetric and
transitive.
compareTo
throws a ClassCastException when
appropriate.
sgn(x.compareTo(y)) == -sgn(y.compareTo(x))
for all x
and y
given to this test.
sgn(x.compareTo(z)) == sgn(y.compareTo(z))
for all z
when x.compareTo(y) == 0
.
hashCode
contract.
hashCode
.
compareTo
method.
XMLPropertyManager
class represents a persistent set of
properties loaded from an XML property file.
|
JUnit-addons version 1.4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |