|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.core.graph.model.StartingNodeTest
public final class StartingNodeTest
These are the tests for the StartingNode class.
Control Version
Constructor Summary | |
---|---|
StartingNodeTest()
Default constructor. |
Method Summary | |
---|---|
void |
testAddParent()
Tests that an StartingNode cannot have parents. |
void |
testCongruent()
Tests if two consecutive calls returns the same value. |
void |
testDifferentStartingNodeHashCode()
Test that the hash code is different to hashCode of EndingNode. |
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 StartingNodeTest()
Method Detail |
---|
public void testAddParent() throws AbstractGraphException
AbstractGraphException
- Never.public void testCongruent() throws InvalidGraphNodeException
InvalidGraphNodeException
- Neverpublic void testDifferentStartingNodeHashCode() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public void testEqualsNodeNotReserved() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public void testEqualsNodeReserved() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public void testHashCode() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public void testNullEqualsObject() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public void testOtherTypeEqualsObject() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public void testSameEqualsObject() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public void testSameHashCode() throws InvalidGraphNodeException
InvalidGraphNodeException
- Never.public 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 |