org.apache.tapestry.valid
Class TestIntValidator

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

public class TestIntValidator
extends BaseValidatorTestCase

Tests for IntValidator.

Since:
4.0
Author:
Howard M. Lewis Ship

Field Summary
 
Fields inherited from class org.apache.tapestry.junit.TapestryTestCase
IS_JDK13
 
Constructor Summary
TestIntValidator()
           
 
Method Summary
 void testScriptSymbolsJustFormat()
           
 void testScriptSymbolsMaximum()
           
 void testScriptSymbolsMinimum()
           
 void testScriptSymbolsRange()
           
 void testScriptSymbolsRequired()
           
 void testToObjectFailure()
           
 void testToObjectNull()
           
 void testToObjectSucess()
           
 void testToObjectTooLarge()
           
 void testToObjectTooSmall()
           
 void testToStringNonZero()
           
 void testToStringNull()
           
 void testToStringZero()
           
 void testToStringZeroAsNull()
           
 
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

TestIntValidator

public TestIntValidator()
Method Detail

testToStringNull

public void testToStringNull()

testToStringNonZero

public void testToStringNonZero()

testToStringZero

public void testToStringZero()

testToStringZeroAsNull

public void testToStringZeroAsNull()

testToObjectNull

public void testToObjectNull()
                      throws Exception
Throws:
Exception

testToObjectSucess

public void testToObjectSucess()
                        throws Exception
Throws:
Exception

testToObjectFailure

public void testToObjectFailure()

testToObjectTooSmall

public void testToObjectTooSmall()

testToObjectTooLarge

public void testToObjectTooLarge()

testScriptSymbolsJustFormat

public void testScriptSymbolsJustFormat()

testScriptSymbolsRequired

public void testScriptSymbolsRequired()

testScriptSymbolsMinimum

public void testScriptSymbolsMinimum()

testScriptSymbolsMaximum

public void testScriptSymbolsMaximum()

testScriptSymbolsRange

public void testScriptSymbolsRange()


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