org.apache.tapestry.form.translator
Class TestDateTranslator

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.junit.TapestryTestCase
          extended by org.apache.tapestry.form.FormComponentContributorTestCase
              extended by org.apache.tapestry.form.translator.TestDateTranslator

public class TestDateTranslator
extends FormComponentContributorTestCase

Test case for DateTranslator.

Since:
4.0
Author:
Paul Ferraro

Field Summary
 
Fields inherited from class org.apache.tapestry.form.FormComponentContributorTestCase
_component, _cycle, _engine, _form, _page, _pageRenderSupport
 
Fields inherited from class org.apache.tapestry.junit.TapestryTestCase
IS_JDK13
 
Constructor Summary
TestDateTranslator()
           
 
Method Summary
protected  void cleanup()
           
 void test_Render_Contribution()
           
 void test_Time_Parse()
           
 void test_Trim_Render_Contribution()
           
 void testCustomFormat()
           
 void testCustomParse()
           
 void testDefaultFormat()
           
 void testDefaultParse()
           
 void testEmptyParse()
           
 void testFailedParseCustomMessage()
           
 void testFailedParseDefaultMessage()
           
 void testInitializerFormat()
           
 void testNullFormat()
           
 void testTrimmedParse()
           
 
Methods inherited from class org.apache.tapestry.form.FormComponentContributorTestCase
addScript, newCycle, newField, newField, newField, newFieldWithClientId, newValidationMessages, newWriter, trainBuildMessage, trainGetLocale, trainTrim
 
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

TestDateTranslator

public TestDateTranslator()
Method Detail

cleanup

protected void cleanup()

testDefaultFormat

public void testDefaultFormat()

testCustomFormat

public void testCustomFormat()

testInitializerFormat

public void testInitializerFormat()

testNullFormat

public void testNullFormat()

testDefaultParse

public void testDefaultParse()
                      throws Exception
Throws:
Exception

test_Time_Parse

public void test_Time_Parse()
                     throws Exception
Throws:
Exception

testCustomParse

public void testCustomParse()
                     throws Exception
Throws:
Exception

testTrimmedParse

public void testTrimmedParse()
                      throws Exception
Throws:
Exception

testEmptyParse

public void testEmptyParse()

testFailedParseDefaultMessage

public void testFailedParseDefaultMessage()
                                   throws Exception
Throws:
Exception

testFailedParseCustomMessage

public void testFailedParseCustomMessage()
                                  throws Exception
Throws:
Exception

test_Render_Contribution

public void test_Render_Contribution()

test_Trim_Render_Contribution

public void test_Trim_Render_Contribution()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.