|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.core.graph.model.EndingNodeTest
public final class EndingNodeTest
These are the tests for the EndingNode class.
Control Version
Constructor Summary | |
---|---|
EndingNodeTest()
Default constructor. |
Method Summary | |
---|---|
void |
testAddWay()
Tests that an EndingNode cannot have children. |
void |
testCongruent()
Tests if two consecutive calls returns the same value. |
void |
testDifferentStartingNodeHashCode()
Test that the hash code is different to hashCode of StartingNode. |
void |
testEqualsNodeNotReserved()
Test the equals method with a graph node non reserved. |
void |
testEqualsNodeReserved()
Test the equals method with a graph node reserved. |
void |
testHashCode()
Test that the hash code is different to 1, 0 and -1. |
void |
testNullEqualsObject()
Test the equals method to a null. |
void |
testOtherTypeEqualsObject()
Test the equals method to a different type of object. |
void |
testSameEqualsObject()
Test the equals method to the same object. |
void |
testSameHashCode()
Test that the hash code is the same. |
void |
testSymmetric()
Tests the symmetry of equals. |
void |
testToString()
Test the toString method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EndingNodeTest()
Method Detail |
---|
public void testAddWay() throws AbstractGraphException
AbstractGraphException
- Never.public void testCongruent() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testDifferentStartingNodeHashCode() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testEqualsNodeNotReserved() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testEqualsNodeReserved() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testHashCode() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testNullEqualsObject() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testOtherTypeEqualsObject() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testSameEqualsObject() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testSameHashCode() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testSymmetric() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public void testToString() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |