org.apache.tapestry.valid
Class TestEmailValidator

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

public class TestEmailValidator
extends BaseValidatorTestCase

Tests for EmailValidator.

Since:
3.0
Author:
Howard Lewis Ship

Field Summary
 
Fields inherited from class org.apache.tapestry.junit.TapestryTestCase
IS_JDK13
 
Constructor Summary
TestEmailValidator()
           
 
Method Summary
 void reset()
           
 void testInvalidEmail()
           
 void testOverrideInvalidEmailFormatMessage()
           
 void testOverrideMinimumLengthMessage()
           
 void testTooShort()
           
 void testValidEmail()
           
 
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

TestEmailValidator

public TestEmailValidator()
Method Detail

reset

public void reset()

testValidEmail

public void testValidEmail()
                    throws ValidatorException
Throws:
ValidatorException

testInvalidEmail

public void testInvalidEmail()

testOverrideInvalidEmailFormatMessage

public void testOverrideInvalidEmailFormatMessage()

testTooShort

public void testTooShort()

testOverrideMinimumLengthMessage

public void testOverrideMinimumLengthMessage()


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