public class NumberKeyTest extends BaseTestCase
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, stringColumnMap2, stringColumnMap3, tableMap
Constructor and Description |
---|
NumberKeyTest() |
Modifier and Type | Method and Description |
---|---|
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.
|
setUp
@Test public void testEqualsReflexive()
@Test public void testHashCodeEqual()
@Test public void testEqualsFalse()
@Test public void testEqualsSymmetric()
@Test public void testEqualsTransitive()
@Test public void testEqualsNull()
@Test public void testList()
@Test public void testEmptyConstructor()
@Test public void testCopyConstructor()
@Test public void testCopyConstructorNullValue()
@Test public void testBigDecimalConstructor()
@Test public void testLongConstructor()
@Test public void testDoubleConstructor()
@Test public void testIntConstructor()
@Test public void testNumberConstructor()
@Test public void testNumberConstructorNull()
@Test public void testStringConstructor()
@Test public void testStringConstructorNull()
@Test public void testSetValueString()
@Test public void testSetValueStringNull()
@Test public void testSetValueBigDecimal()
@Test public void testSetValueNumberKey()
@Test public void testSetValueNumberKeyNull()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.