|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.id.LongExceptionIdTest
public class LongExceptionIdTest
Tests LongExceptionId
.
Constructor Summary | |
---|---|
LongExceptionIdTest() |
Method Summary | |
---|---|
void |
testConstruction() Tests generating an instance. |
void |
testEqualsFalse() Tests calling LongExceptionId.equals(Object) fails when two different instances are compared. |
void |
testEqualsIdentity() Tests calling LongExceptionId.equals(Object) succeeds in the case of identity. |
void |
testEqualsNull() Tests calling LongExceptionId.equals(Object) fails in the case of the null value. |
void |
testEqualsOtherClass() Tests calling LongExceptionId.equals(Object) fails when compared with an instance of another class. |
void |
testEqualsTrue() Tests calling LongExceptionId.equals(Object) succeeds when two instances are compared with the same ID. |
void |
testHashCode() Tests calling LongExceptionId.hashCode() succeeds. |
void |
testToString() Tests calling LongExceptionId.toString() succeeds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LongExceptionIdTest()
Method Detail |
---|
public void testConstruction()
public void testHashCode()
LongExceptionId.hashCode()
succeeds.
public void testToString()
LongExceptionId.toString()
succeeds.
public void testEqualsIdentity()
LongExceptionId.equals(Object)
succeeds in the case of identity.
public void testEqualsNull()
LongExceptionId.equals(Object)
fails in the case of the
null
value.
public void testEqualsOtherClass()
LongExceptionId.equals(Object)
fails when compared with an instance of another class.
public void testEqualsTrue()
LongExceptionId.equals(Object)
succeeds when two instances are compared with the same ID.
public void testEqualsFalse()
LongExceptionId.equals(Object)
fails when two different instances are compared.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |