org.apache.tapestry.form.translator
Class TestNumberTranslator

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.TestNumberTranslator

public class TestNumberTranslator
extends FormComponentContributorTestCase

Tests for NumberTranslator

Since:
4.0
Author:
Howard Lewis Ship

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
TestNumberTranslator()
           
 
Method Summary
 void test_Custom_Format()
           
 void test_Custom_Parse()
           
 void test_Default_Format()
           
 void test_Default_Parse()
           
 void test_Failed_Parse_Custom_Message()
           
 void test_Failed_Parse_Default_Message()
           
 void test_Initializer_Format()
           
 void test_Localized_Format()
           
 void test_Message_Render_Contribution()
           
 void test_Null_Format_Pattern()
           
 void test_Null_Format()
           
 void test_Omit_Zero_Off()
           
 void test_Omit_Zero()
           
 void test_Render_Contribution()
           
 void test_Render_Grouping_Separator()
           
 void test_Trim_Render_Contribution()
           
 void test_Trimmed_Parse()
           
 
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

TestNumberTranslator

public TestNumberTranslator()
Method Detail

test_Default_Format

public void test_Default_Format()

test_Omit_Zero

public void test_Omit_Zero()

test_Omit_Zero_Off

public void test_Omit_Zero_Off()

test_Custom_Format

public void test_Custom_Format()

test_Initializer_Format

public void test_Initializer_Format()

test_Null_Format

public void test_Null_Format()
                      throws Exception
Throws:
Exception

test_Null_Format_Pattern

public void test_Null_Format_Pattern()

test_Localized_Format

public void test_Localized_Format()

test_Default_Parse

public void test_Default_Parse()
                        throws Exception
Throws:
Exception

test_Custom_Parse

public void test_Custom_Parse()
                       throws Exception
Throws:
Exception

test_Trimmed_Parse

public void test_Trimmed_Parse()
                        throws Exception
Throws:
Exception

test_Failed_Parse_Default_Message

public void test_Failed_Parse_Default_Message()

test_Failed_Parse_Custom_Message

public void test_Failed_Parse_Custom_Message()

test_Render_Contribution

public void test_Render_Contribution()

test_Render_Grouping_Separator

public void test_Render_Grouping_Separator()

test_Message_Render_Contribution

public void test_Message_Render_Contribution()

test_Trim_Render_Contribution

public void test_Trim_Render_Contribution()


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