|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.interfaze.model.ReturnOptionsTest
public final class ReturnOptionsTest
This is the test for the ReturnOption class, testing the main method, including those that retrieve array copies.
Control Version
Constructor Summary | |
---|---|
ReturnOptionsTest()
Default constructor. |
Method Summary | |
---|---|
void |
testCongruent()
Tests if two consecutive calls returns the same value. |
void |
testEqualsObjectDifferent1()
Tests the equals method with two different objects. |
void |
testEqualsObjectDifferent2()
Tests the equals method with two different objects. |
void |
testEqualsObjectDifferent3()
Tests the equals method with two different objects. |
void |
testEqualsObjectIdentical()
Tests the equals method with two identical objects. |
void |
testEqualsObjectNull()
Tests the equals method with a null value. |
void |
testGetOptions()
Tests the array copy of the options. |
void |
testGetPhrases()
Tests the array copy of the phrases. |
void |
testHashCode()
Tests that the hashcode is different to 0, -1 and 1. |
void |
testHashCodeDifferent()
Tests if the hashcode of two different objects are different. |
void |
testHashCodeIdentical()
Tests if the hashcode of two identical objects are the same. |
void |
testReturnOptionsNullOptions()
Tests the null exception when the options is null. |
void |
testReturnOptionsNullPhrase()
Tests the null exception when the phrase is null. |
void |
testReturnOptionsNullPhrases()
Tests the null exception when the phrases is null. |
void |
testReturnOptionsOneNullInOptions()
Tests the null exception when one element in the options is null. |
void |
testReturnOptionsOneNullInPhrases()
Tests the null exception when one element in the phrases is null. |
void |
testSymmetric()
Tests the symmetry of equals. |
void |
testToString1()
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 ReturnOptionsTest()
Method Detail |
---|
public void testCongruent() throws ParameterNullException
ParameterNullException
- Never.public void testEqualsObjectDifferent1() throws ParameterNullException
ParameterNullException
- Never.public void testEqualsObjectDifferent2() throws ParameterNullException
ParameterNullException
- Never.public void testEqualsObjectDifferent3() throws ParameterNullException
ParameterNullException
- Never.public void testEqualsObjectIdentical() throws ParameterNullException
ParameterNullException
- Never.public void testEqualsObjectNull() throws ParameterNullException
ParameterNullException
- Never.public void testGetOptions() throws ParameterNullException
ParameterNullException
- Never.public void testGetPhrases() throws ParameterNullException
ParameterNullException
- Never.public void testHashCode() throws ParameterNullException
ParameterNullException
- Never.public void testHashCodeDifferent() throws ParameterNullException
ParameterNullException
- Never.public void testHashCodeIdentical() throws ParameterNullException
ParameterNullException
- Never.public void testReturnOptionsNullOptions() throws ParameterNullException
ParameterNullException
- Never.public void testReturnOptionsNullPhrase() throws ParameterNullException
ParameterNullException
- Never.public void testReturnOptionsNullPhrases() throws ParameterNullException
ParameterNullException
- Never.public void testReturnOptionsOneNullInOptions() throws ParameterNullException
ParameterNullException
- Never.public void testReturnOptionsOneNullInPhrases() throws ParameterNullException
ParameterNullException
- Never.public void testSymmetric() throws ParameterNullException
ParameterNullException
- Never.public void testToString1() throws ParameterNullException
ParameterNullException
- Never.public void testToString2() throws ParameterNullException
ParameterNullException
- Never.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |