|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.core.syntactic.model.GraphAnswerTest
public final class GraphAnswerTest
These are the tests for the GraphAnswer. It tests only the object.
Control Version
Constructor Summary | |
---|---|
GraphAnswerTest()
Default constructor. |
Method Summary | |
---|---|
void |
testCongruent()
Tests if two consecutive calls returns the same value. |
void |
testEqualsDifferentObject()
Tests the equals with a similar but not equal object. |
void |
testEqualsNull()
Tests the method equals with a null. |
void |
testEqualsObjectFalse()
Tests the equals method with two different objects. |
void |
testEqualsObjectTrue()
Tests the equals method with two identical objects. |
void |
testGraphAnswerNull1()
Tests the constructor with a null parameter. |
void |
testGraphAnswerNull2()
Tests the constructor with a null parameter. |
void |
testHashCode()
Tests if the hashcode method does not return 0, 1 or -1. |
void |
testHashCodeDifferent()
This tests the hashCode method with two different objects. |
void |
testHashCodeIdentical()
This tests the hashCode method with two identical objects. |
void |
testSimpleMethods()
Test the simple methods. |
void |
testSymmetric()
Tests the symmetry of equals. |
void |
testToString()
Test the toString method. |
void |
testToString2()
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 GraphAnswerTest()
Method Detail |
---|
public void testCongruent() throws InvalidTokenException
InvalidTokenException
- Never.public void testEqualsDifferentObject() throws InvalidTokenException
InvalidTokenException
- Never.public void testEqualsNull() throws InvalidTokenException
InvalidTokenException
- Never.public void testEqualsObjectFalse() throws InvalidTokenException
InvalidTokenException
- Never.public void testEqualsObjectTrue() throws InvalidTokenException
InvalidTokenException
- Never.public void testGraphAnswerNull1()
public void testGraphAnswerNull2()
public void testHashCode() throws InvalidTokenException
InvalidTokenException
- Never.public void testHashCodeDifferent() throws InvalidTokenException
InvalidTokenException
- never.public void testHashCodeIdentical() throws InvalidTokenException
InvalidTokenException
- never.public void testSimpleMethods() throws AbstractDB2SAException
AbstractDB2SAException
- Never.public void testSymmetric() throws InvalidTokenException
InvalidTokenException
- Never.public void testToString() throws InvalidTokenException
InvalidTokenException
- Never.public void testToString2() throws InvalidTokenException
InvalidTokenException
- Never.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |