public class FixedPointPatternConstraintTest extends Object
testValueEmpty()
2. value with valid positive number within specified precision and scale. (success) testValueValidPositiveNumber()
3. value with invalid positive number as per given precision and scale. (failure) testValueInvalidPositiveNumber()
4. value with invalid negative number as allowNegative set to false. (failure) testValueInvalidNegativeNumber()
5. value with valid negative number within specified precision and scale, with allowNegative set to true. (success) testValueValidNegativeNumber()
6. value with invalid negative number as per given precision and scale. (failure) testValueInvalidNegativeNumber1()
7. value with invalid positive number as per given precision and scale. (failure) testValueInvalidPositiveNumber1()
8. value with valid negative number within specified precision and scale, with allowNegative set to true. (success) testValueValidNegativeNumber1()
9. zero precision and scale test. (error) testZeroPrecisionAndScale()
10. precision less than scale test. (error) testPrecisionLessThanScale()
11. negative precision and scale test. (error) testNegativePrecisionAndScale()
Constructor and Description |
---|
FixedPointPatternConstraintTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testNegativePrecisionAndScale() |
void |
testPrecisionLessThanScale() |
void |
testValueEmpty() |
void |
testValueInvalidNegativeNumber() |
void |
testValueInvalidNegativeNumber1() |
void |
testValueInvalidPositiveNumber() |
void |
testValueInvalidPositiveNumber1() |
void |
testValueValidNegativeNumber() |
void |
testValueValidNegativeNumber1() |
void |
testValueValidPositiveNumber() |
void |
testZeroPrecisionAndScale() |
public FixedPointPatternConstraintTest()
public void testValueEmpty()
public void testValueValidPositiveNumber()
public void testValueInvalidPositiveNumber()
public void testValueInvalidNegativeNumber()
public void testValueValidNegativeNumber()
public void testValueInvalidNegativeNumber1()
public void testValueInvalidPositiveNumber1()
public void testValueValidNegativeNumber1()
public void testZeroPrecisionAndScale()
public void testPrecisionLessThanScale()
public void testNegativePrecisionAndScale()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.