org.apache.tapestry.valid
Class TestStringValidator
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.junit.TapestryTestCase
org.apache.tapestry.valid.BaseValidatorTestCase
org.apache.tapestry.valid.TestStringValidator
public class TestStringValidator
- extends BaseValidatorTestCase
Tests the StringValidator
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 |
TestStringValidator
public TestStringValidator()
resetValidator
public void resetValidator()
testToString
public void testToString()
testToStringNull
public void testToStringNull()
testToObjectRequiredFail
public void testToObjectRequiredFail()
testOverrideRequiredMessage
public void testOverrideRequiredMessage()
testToObjectRequiredPass
public void testToObjectRequiredPass()
throws ValidatorException
- Throws:
ValidatorException
testToObjectMinimumFail
public void testToObjectMinimumFail()
testOverrideMinimumMessage
public void testOverrideMinimumMessage()
testToObjectMinimumPass
public void testToObjectMinimumPass()
throws ValidatorException
- Throws:
ValidatorException
testToObjectMinimumNull
public void testToObjectMinimumNull()
throws ValidatorException
- An empty string is not subject to the minimum length constraint.
- Throws:
ValidatorException
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.