|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.torque.om.NumberKeyTest
public class NumberKeyTest
Tests the NumberKey class.
Constructor Summary | |
---|---|
NumberKeyTest()
|
Method Summary | |
---|---|
void |
testBigDecimalConstructor()
Test copy constructor. |
void |
testCopyConstructor()
Test copy constructor. |
void |
testCopyConstructorNullValue()
Test copy constructor. |
void |
testDoubleConstructor()
Test double constructor. |
void |
testEmptyConstructor()
Test copy constructor. |
void |
testEqualsFalse()
Test !a.equals(b) |
void |
testEqualsNull()
Test !a.equals(null) |
void |
testEqualsReflexive()
Test a.equals(a) |
void |
testEqualsSymmetric()
Test a.equals(b) = b.equals(a) |
void |
testEqualsTransitive()
Test a.equals(b) = b.equals(c) = c.equals(a) |
void |
testHashCodeEqual()
Test a.hashCode().equals(a.hashCode()) |
void |
testIntConstructor()
Test int constructor. |
void |
testList()
Test sorting. |
void |
testLongConstructor()
Test long constructor. |
void |
testNumberConstructor()
Test number constructor. |
void |
testNumberConstructorNull()
Test number constructor with null value. |
void |
testSetValueBigDecimal()
Test setValue(BigDecimal) method. |
void |
testSetValueNumberKey()
Test setValue(NumberKey) method. |
void |
testSetValueNumberKeyNull()
Test setValue(NumberKey) method with null argument. |
void |
testSetValueString()
Test setValue(String) method. |
void |
testSetValueStringNull()
Test setValue(String) method with null argument. |
void |
testStringConstructor()
Test String constructor. |
void |
testStringConstructorNull()
Test String constructor with null value. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NumberKeyTest()
Method Detail |
---|
public void testEqualsReflexive()
public void testHashCodeEqual()
public void testEqualsFalse()
public void testEqualsSymmetric()
public void testEqualsTransitive()
public void testEqualsNull()
public void testList()
public void testEmptyConstructor()
public void testCopyConstructor()
public void testCopyConstructorNullValue()
public void testBigDecimalConstructor()
public void testLongConstructor()
public void testDoubleConstructor()
public void testIntConstructor()
public void testNumberConstructor()
public void testNumberConstructorNull()
public void testStringConstructor()
public void testStringConstructorNull()
public void testSetValueString()
public void testSetValueStringNull()
public void testSetValueBigDecimal()
public void testSetValueNumberKey()
public void testSetValueNumberKeyNull()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |