org.apache.tapestry.form.validator
Class TestRequired

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

public class TestRequired
extends BaseValidatorTestCase

Tests for Required.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
TestRequired()
           
 
Method Summary
 void test_Render_Contribution_Disabled()
           
 void test_Render_Contribution()
           
 void test_Validate_Disabled_Field()
           
 void test_Validate_Empty_Collection()
           
 void test_Validate_Empty_String()
           
 void test_Validate_Not_Null()
           
 void test_Validate_Null_Custom_Message()
           
 void test_Validate_Null()
           
 void testIsRequired()
           
 
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

TestRequired

public TestRequired()
Method Detail

test_Validate_Not_Null

public void test_Validate_Not_Null()
                            throws Exception
Throws:
Exception

test_Validate_Null

public void test_Validate_Null()
                        throws Exception
Throws:
Exception

test_Validate_Empty_String

public void test_Validate_Empty_String()
                                throws Exception
Throws:
Exception

test_Validate_Empty_Collection

public void test_Validate_Empty_Collection()
                                    throws Exception
Throws:
Exception

test_Validate_Null_Custom_Message

public void test_Validate_Null_Custom_Message()
                                       throws Exception
Throws:
Exception

test_Validate_Disabled_Field

public void test_Validate_Disabled_Field()
                                  throws Exception
Throws:
Exception

test_Render_Contribution

public void test_Render_Contribution()

test_Render_Contribution_Disabled

public void test_Render_Contribution_Disabled()

testIsRequired

public void testIsRequired()


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