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 org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.ValidatorException
testInteger
public void testInteger()
throws org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.ValidatorException
testByte
public void testByte()
throws org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.ValidatorException
testFloat
public void testFloat()
throws org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.ValidatorException
testDouble
public void testDouble()
throws org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.ValidatorException
testLong
public void testLong()
throws org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.ValidatorException
testInRange
public void testInRange()
throws org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.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 org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.ValidatorException
testBigDecimal
public void testBigDecimal()
throws org.apache.tapestry.valid.ValidatorException
- Throws:
org.apache.tapestry.valid.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-2008 Apache Software Foundation. All Rights Reserved.