org.apache.tapestry.valid
Class TestNumberValidator
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.junit.TapestryTestCase
org.apache.tapestry.valid.BaseValidatorTestCase
org.apache.tapestry.valid.TestNumberValidator
public class TestNumberValidator
- extends BaseValidatorTestCase
Test the NumberValidator
.
- Since:
- 1.0.8
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.tapestry.junit.TapestryTestCase |
checkException, checkList, checkList, checkProperty, createValueConverter, getSpecificationResourceLocation, newBindingSource, newComponent, parseApp, parseComponent, parseLib, parsePage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestNumberValidator
public TestNumberValidator()
reset
public void reset()
testShort
public void testShort()
throws ValidatorException
- Throws:
ValidatorException
testInteger
public void testInteger()
throws ValidatorException
- Throws:
ValidatorException
testByte
public void testByte()
throws ValidatorException
- Throws:
ValidatorException
testFloat
public void testFloat()
throws ValidatorException
- Throws:
ValidatorException
testDouble
public void testDouble()
throws ValidatorException
- Throws:
ValidatorException
testLong
public void testLong()
throws ValidatorException
- Throws:
ValidatorException
testInRange
public void testInRange()
throws ValidatorException
- Throws:
ValidatorException
testUnderMinimum
public void testUnderMinimum()
testOverrideNumberTooSmallMessage
public void testOverrideNumberTooSmallMessage()
testOverMaximum
public void testOverMaximum()
testOverrideNumberTooLargeMessage
public void testOverrideNumberTooLargeMessage()
testInvalidFormat
public void testInvalidFormat()
testOverrideInvalidNumericFormatMessage
public void testOverrideInvalidNumericFormatMessage()
testBigInteger
public void testBigInteger()
throws ValidatorException
- Throws:
ValidatorException
testBigDecimal
public void testBigDecimal()
throws ValidatorException
- Throws:
ValidatorException
testAdaptorTypes
public void testAdaptorTypes()
throws Exception
- Throws:
Exception
- Since:
- 3.0 *
testByteCompare
public void testByteCompare()
testShortCompare
public void testShortCompare()
testIntegerCompare
public void testIntegerCompare()
testLongCompare
public void testLongCompare()
testBigIntegerCompare
public void testBigIntegerCompare()
testFloatCompare
public void testFloatCompare()
testDoubleCompare
public void testDoubleCompare()
testBigDecimalCompare
public void testBigDecimalCompare()
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.