@SpecVersion(spec="JSR 354",
version="1.0.0")
public class ExternalizingNumericValueTest
extends Object
| Constructor and Description |
|---|
ExternalizingNumericValueTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testDoubleNegative()
Checks if a correct Double value is returned, no truncation is
allowed to be performed.
|
void |
testDoubleValueWithTruncationZero()
Check if a correct double value is returned, truncation is
allowed to be performed (but is not necessary).
|
void |
testDoubleWithTruncationNegative()
Check if a correct double value is returned, truncation is
allowed to be performed.
|
void |
testIntegerNegative()
Checks if a correct negative Integer value is returned, no truncation is
allowed to be performed.
|
void |
testIntegerValueWithTruncationZero()
Check if a correct integer value is returned, truncation is
allowed to be performed.
|
void |
testIntegerWithTruncationNegative()
Check if a correct integer value is returned, truncation is
allowed to be performed.
|
void |
testIntegerZero()
Check if a correct integer value is returned, no truncation is
allowed to be performed.
|
void |
testLongNegative()
Checks if a correct Long value is returned, no truncation is
allowed to be performed.
|
void |
testLongValueWithTruncationZero()
Check if a correct long value is returned, truncation is
allowed to be performed.
|
void |
testLongWithTruncationNegative()
Check if a correct long value is returned, truncation is
allowed to be performed.
|
void |
testLongZero()
Check if a correct long value is returned, no truncation is
allowed to be performed.
|
void |
testNumberTypeNegative()
Checks if number type is not null and returning a concrete (no
abstract class or interface).
|
void |
testNumberTypeZero()
Checks if number type is not null and returning a concrete (no
abstract class or interface).
|
void |
testNumberValueWithTruncationNegative_Double()
Check if a correct double value is returned, truncation is
allowed to be performed.
|
void |
testNumberValueWithTruncationNegative_Float()
Check if a correct double value is returned, truncation is
allowed to be performed.
|
void |
testNumberValueWithTruncationNegative_Integer()
Check if a correct double value is returned, truncation is
allowed to be performed.
|
void |
testNumberValueWithTruncationNegative_Long()
Check if a correct number value is returned, truncation is
allowed to be performed.
|
void |
testNumberValueWithTruncationNegative_Short()
Check if a correct double value is returned, truncation is
allowed to be performed.
|
void |
testNumberValueWithTruncationNegative()
Check if a correct double value is returned, truncation is
allowed to be performed.
|
void |
testNumberValueWithTruncationZero()
Check if a correct Number value is returned, truncation is
allowed to be performed.
|
void |
testNumberValueZero()
Check if a correct number value is returned, no truncation is
allowed to be performed.
|
void |
testNumberWithTruncationNegative()
Check if a correct number value is returned, truncation is
allowed to be performed.
|
void |
testPrecisionNegative()
Test correct precision values, including border cases.
|
void |
testPrecisionValues()
Test correct precision values, including border cases.
|
void |
testPrecisionZero()
Check if a correct precision value is returned.
|
void |
testReturningNumberValueIsNotNull()
Checks if number type is not null.
|
void |
testScaleNegative()
Test correct scale values, including border cases.
|
void |
testScaleValues()
Test correct precision values, including border cases.
|
void |
testScaleZero()
Check if a correct scale value is returned.
|
void |
testValidDouble()
Check if a correct double value is returned, no truncation is
allowed to be performed.
|
void |
testValidDoubleWithTruncation()
Check if a correct Double value is returned, truncation is
allowed to be performed.
|
void |
testValidInteger()
Check if a correct integer value is returned, no truncation is
allowed to be performed.
|
void |
testValidIntegerWithTruncation()
Check if a correct Integer value is returned, truncation is
allowed to be performed.
|
void |
testValidLong()
Check if a correct long value is returned, no truncation is
allowed to be performed.
|
void |
testValidLongWithTruncation()
Check if a correct Long value is returned, truncation is
allowed to be performed.
|
void |
testValidNumberBD()
Check if a correct number value is returned, no truncation is
allowed to be performed.
|
void |
testValidNumberBI()
Check if a correct number value is returned, no truncation is
allowed to be performed.
|
void |
testValidNumberWithTruncation_Byte()
Check if a correct Number value is returned, truncation is
allowed to be performed.
|
void |
testValidNumberWithTruncation_Double()
Check if a correct Number value is returned, truncation is
allowed to be performed.
|
void |
testValidNumberWithTruncation_Float()
Check if a correct Number value is returned, truncation is
allowed to be performed.
|
void |
testValidNumberWithTruncation_Integer()
Check if a correct Number value is returned, truncation is
allowed to be performed.
|
void |
testValidNumberWithTruncation_Short()
Check if a correct Number value is returned, truncation is
allowed to be performed.
|
public ExternalizingNumericValueTest()
@SpecAssertion(section="4.2.3",
id="423-A1")
public void testReturningNumberValueIsNotNull()
@SpecAssertion(section="4.2.3",
id="423-A2")
public void testValidInteger()
@SpecAssertion(section="4.2.3",
id="423-A3")
public void testValidLong()
@SpecAssertion(section="4.2.3",
id="423-A4")
public void testValidDouble()
@SpecAssertion(section="4.2.3",
id="423-A5")
public void testValidNumberBD()
@SpecAssertion(section="4.2.3",
id="423-A5")
public void testValidNumberBI()
@SpecAssertion(section="4.2.3",
id="423-A6")
public void testValidIntegerWithTruncation()
@SpecAssertion(section="4.2.3",
id="423-A7")
public void testValidLongWithTruncation()
@SpecAssertion(section="4.2.3",
id="423-A8")
public void testValidDoubleWithTruncation()
@SpecAssertion(section="4.2.3",
id="423-A9")
public void testValidNumberWithTruncation_Byte()
@SpecAssertion(section="4.2.3",
id="423-A9")
public void testValidNumberWithTruncation_Short()
@SpecAssertion(section="4.2.3",
id="423-A9")
public void testValidNumberWithTruncation_Float()
@SpecAssertion(section="4.2.3",
id="423-A9")
public void testValidNumberWithTruncation_Double()
@SpecAssertion(section="4.2.3",
id="423-A9")
public void testValidNumberWithTruncation_Integer()
@SpecAssertion(section="4.2.3",
id="423-A10")
public void testPrecisionValues()
@SpecAssertion(section="4.2.3",
id="423-A11")
public void testScaleValues()
@SpecAssertion(section="4.2.3",
id="423-B1")
public void testNumberTypeNegative()
@SpecAssertion(section="4.2.3",
id="423-B2")
public void testIntegerNegative()
@SpecAssertion(section="4.2.3",
id="423-B3")
public void testLongNegative()
@SpecAssertion(section="4.2.3",
id="423-B4")
public void testDoubleNegative()
@SpecAssertion(section="4.2.3",
id="423-B5")
public void testNumberWithTruncationNegative()
@SpecAssertion(section="4.2.3",
id="423-B6")
public void testIntegerWithTruncationNegative()
@SpecAssertion(section="4.2.3",
id="423-B7")
public void testLongWithTruncationNegative()
@SpecAssertion(section="4.2.3",
id="423-B8")
public void testDoubleWithTruncationNegative()
@SpecAssertion(section="4.2.3",
id="423-B9")
public void testNumberValueWithTruncationNegative()
@SpecAssertion(section="4.2.3",
id="423-B9")
public void testNumberValueWithTruncationNegative_Short()
@SpecAssertion(section="4.2.3",
id="423-B9")
public void testNumberValueWithTruncationNegative_Integer()
@SpecAssertion(section="4.2.3",
id="423-B9")
public void testNumberValueWithTruncationNegative_Long()
@SpecAssertion(section="4.2.3",
id="423-B9")
public void testNumberValueWithTruncationNegative_Float()
@SpecAssertion(section="4.2.3",
id="423-B9")
public void testNumberValueWithTruncationNegative_Double()
@SpecAssertion(section="4.2.3",
id="423-B10")
public void testPrecisionNegative()
@SpecAssertion(section="4.2.3",
id="423-B11")
public void testScaleNegative()
@SpecAssertion(section="4.2.3",
id="423-C1")
public void testNumberTypeZero()
@SpecAssertion(section="4.2.3",
id="423-C2")
public void testIntegerZero()
@SpecAssertion(section="4.2.3",
id="423-C3")
public void testLongZero()
@SpecAssertion(section="4.2.3",
id="423-C4")
public void testNumberValueZero()
@SpecAssertion(section="4.2.3",
id="423-C5")
public void testIntegerValueWithTruncationZero()
@SpecAssertion(section="4.2.3",
id="423-C6")
public void testLongValueWithTruncationZero()
@SpecAssertion(section="4.2.3",
id="423-C7")
public void testDoubleValueWithTruncationZero()
@SpecAssertion(section="4.2.3",
id="423-C8")
public void testNumberValueWithTruncationZero()
@SpecAssertion(section="4.2.3",
id="423-C9")
public void testPrecisionZero()
@SpecAssertion(section="4.2.3",
id="423-C10")
public void testScaleZero()
Copyright © 2012-2015 JavaMoney. All Rights Reserved.