org.apache.tapestry.form.validator
Class TestEmail

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.form.validator.BaseValidatorTestCase
          extended by org.apache.tapestry.form.validator.TestEmail

public class TestEmail
extends BaseValidatorTestCase

Tests for Email.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
TestEmail()
           
 
Method Summary
protected  Object[][] getInvalidEmails()
           
protected  Object[][] getValidEmails()
           
 void test_Fail_Custom_Message()
           
 void test_Fail(String email)
           
 void test_OK(String email)
           
 void test_Render_Contribution_Custom_Message()
           
 void test_Render_Contribution()
           
 
Methods inherited from class org.apache.tapestry.form.validator.BaseValidatorTestCase
newContext, newField, newField, newField, newField, newField, newField, newMessages, newMessages, trainFormatMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestEmail

public TestEmail()
Method Detail

test_OK

public void test_OK(String email)
             throws Exception
Throws:
Exception

test_Fail

public void test_Fail(String email)

test_Fail_Custom_Message

public void test_Fail_Custom_Message()

test_Render_Contribution

public void test_Render_Contribution()

test_Render_Contribution_Custom_Message

public void test_Render_Contribution_Custom_Message()

getValidEmails

protected Object[][] getValidEmails()

getInvalidEmails

protected Object[][] getInvalidEmails()


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