org.apache.tapestry.valid
Class TestDateValidator
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.junit.TapestryTestCase
org.apache.tapestry.valid.BaseValidatorTestCase
org.apache.tapestry.valid.TestDateValidator
public class TestDateValidator
- extends BaseValidatorTestCase
Tests the DateValidator
class.
- 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 |
TestDateValidator
public TestDateValidator()
reset
public void reset()
testToStringNull
public void testToStringNull()
testToStringValid
public void testToStringValid()
testToStringFormat
public void testToStringFormat()
testToObjectNull
public void testToObjectNull()
throws ValidatorException
- Throws:
ValidatorException
testToObjectEmpty
public void testToObjectEmpty()
throws ValidatorException
- Throws:
ValidatorException
testToObjectInvalid
public void testToObjectInvalid()
testOverrideInvalidDateFormatMessage
public void testOverrideInvalidDateFormatMessage()
testToObjectFormat
public void testToObjectFormat()
throws ValidatorException
- Throws:
ValidatorException
testToObjectMinimum
public void testToObjectMinimum()
testOverrideDateTooEarlyMessage
public void testOverrideDateTooEarlyMessage()
testToObjectMinimumNull
public void testToObjectMinimumNull()
throws ValidatorException
- Throws:
ValidatorException
testToObjectMaximum
public void testToObjectMaximum()
testOverrideDateTooLateMessage
public void testOverrideDateTooLateMessage()
testToObjectMaximumNull
public void testToObjectMaximumNull()
throws ValidatorException
- Throws:
ValidatorException
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.