org.apache.tapestry.valid
Class TestDateValidator

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.junit.TapestryTestCase
          extended by org.apache.tapestry.valid.BaseValidatorTestCase
              extended by org.apache.tapestry.valid.TestDateValidator

public class TestDateValidator
extends BaseValidatorTestCase

Tests the DateValidatorclass.

Since:
1.0.8
Author:
Howard Lewis Ship

Field Summary
 
Fields inherited from class org.apache.tapestry.junit.TapestryTestCase
IS_JDK13
 
Constructor Summary
TestDateValidator()
           
 
Method Summary
 void reset()
           
 void testOverrideDateTooEarlyMessage()
           
 void testOverrideDateTooLateMessage()
           
 void testOverrideInvalidDateFormatMessage()
           
 void testToObjectEmpty()
           
 void testToObjectFormat()
           
 void testToObjectInvalid()
           
 void testToObjectMaximum()
           
 void testToObjectMaximumNull()
           
 void testToObjectMinimum()
           
 void testToObjectMinimumNull()
           
 void testToObjectNull()
           
 void testToStringFormat()
           
 void testToStringNull()
           
 void testToStringValid()
           
 
Methods inherited from class org.apache.tapestry.valid.BaseValidatorTestCase
newField, newField, newField, newField, newField, newPage
 
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
 

Constructor Detail

TestDateValidator

public TestDateValidator()
Method Detail

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.