org.apache.tapestry.form.validator
Class TestMinLength

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

public class TestMinLength
extends BaseValidatorTestCase

Tests for MinLength.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
TestMinLength()
           
 
Method Summary
 void test_Render_Contribution_Custom_Message()
           
 void test_Render_Contribution()
           
 void testFail()
           
 void testFailCustomMessage()
           
 void testNotRequired()
           
 void testOK()
           
 
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

TestMinLength

public TestMinLength()
Method Detail

testOK

public void testOK()
            throws Exception
Throws:
Exception

testFail

public void testFail()

testFailCustomMessage

public void testFailCustomMessage()

test_Render_Contribution

public void test_Render_Contribution()

test_Render_Contribution_Custom_Message

public void test_Render_Contribution_Custom_Message()

testNotRequired

public void testNotRequired()


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