org.apache.tapestry.valid
Class BaseValidatorTestCase

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.junit.TapestryTestCase
          extended by org.apache.tapestry.valid.BaseValidatorTestCase
Direct Known Subclasses:
TestDateValidator, TestEmailValidator, TestIntValidator, TestNumberValidator, TestPatternValidator, TestStringValidator, TestUrlValidator, ValidationDelegateTest

public abstract class BaseValidatorTestCase
extends TapestryTestCase

Base class for tests of different IValidatorimplementations.

Since:
4.0
Author:
Howard M. Lewis Ship

Field Summary
 
Fields inherited from class org.apache.tapestry.junit.TapestryTestCase
IS_JDK13
 
Constructor Summary
BaseValidatorTestCase()
           
 
Method Summary
protected  IFormComponent newField()
           
protected  IFormComponent newField(String displayName)
           
protected  IFormComponent newField(String displayName, int count)
           
protected  IFormComponent newField(String displayName, Locale locale)
           
protected  IFormComponent newField(String displayName, Locale locale, int count)
           
protected  IPage newPage(Locale locale)
           
 
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

BaseValidatorTestCase

public BaseValidatorTestCase()
Method Detail

newField

protected IFormComponent newField()

newField

protected IFormComponent newField(String displayName)

newField

protected IFormComponent newField(String displayName,
                                  int count)

newField

protected IFormComponent newField(String displayName,
                                  Locale locale)

newField

protected IFormComponent newField(String displayName,
                                  Locale locale,
                                  int count)

newPage

protected IPage newPage(Locale locale)


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