org.apache.tapestry.form
Class BaseFormComponentTestCase

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.form.BaseFormComponentTestCase
Direct Known Subclasses:
AbstractFormComponentTest, FieldLabelTest, TestAutocompleter, TestCheckbox, TestDropdownTimePicker, TestGTimePicker, TestHidden, TestImageSubmit, TestPropertySelection, TestRadio, TestSubmit, TestTextArea, TestTextField, TestValidField

public abstract class BaseFormComponentTestCase
extends BaseComponentTestCase

Base class for tests of implementations of IFormComponent.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
BaseFormComponentTestCase()
           
 
Method Summary
protected  IBinding newBinding()
           
protected  IValidationDelegate newDelegate()
           
protected  IFormComponent newField()
           
protected  IForm newForm()
           
protected  IActionListener newListener()
           
protected  void trainGetDelegate(IForm form, IValidationDelegate delegate)
           
protected  void trainGetElementId(IForm form, IFormComponent component, String name)
           
protected  void trainGetForm(IRequestCycle cycle, IForm form)
           
protected  void trainGetParameter(IRequestCycle cycle, String parameterName, String parameterValue)
           
protected  void trainIsInError(IValidationDelegate delegate, boolean isInError)
           
protected  void trainIsRewinding(IForm form, boolean isRewinding)
           
protected  void trainWasPrerendered(IForm form, IMarkupWriter writer, IComponent component, boolean wasPrerendered)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFormComponentTestCase

public BaseFormComponentTestCase()
Method Detail

newDelegate

protected IValidationDelegate newDelegate()

trainIsInError

protected void trainIsInError(IValidationDelegate delegate,
                              boolean isInError)

newForm

protected IForm newForm()

trainGetForm

protected void trainGetForm(IRequestCycle cycle,
                            IForm form)

trainGetDelegate

protected void trainGetDelegate(IForm form,
                                IValidationDelegate delegate)

trainGetParameter

protected void trainGetParameter(IRequestCycle cycle,
                                 String parameterName,
                                 String parameterValue)

trainWasPrerendered

protected void trainWasPrerendered(IForm form,
                                   IMarkupWriter writer,
                                   IComponent component,
                                   boolean wasPrerendered)

trainIsRewinding

protected void trainIsRewinding(IForm form,
                                boolean isRewinding)

trainGetElementId

protected void trainGetElementId(IForm form,
                                 IFormComponent component,
                                 String name)

newBinding

protected IBinding newBinding()

newListener

protected IActionListener newListener()

newField

protected IFormComponent newField()


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