org.apache.tapestry.form
Class FormComponentContributorTestCase
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.junit.TapestryTestCase
org.apache.tapestry.form.FormComponentContributorTestCase
- Direct Known Subclasses:
- TestBigDecimalTranslator, TestDateTranslator, TestNumberTranslator, TestStringTranslator
public abstract class FormComponentContributorTestCase
- extends TapestryTestCase
Abstract test case for FormComponentContributor
.
- Since:
- 4.0
- Author:
- Paul Ferraro
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 |
_component
protected IFormComponent _component
_page
protected IPage _page
_cycle
protected IRequestCycle _cycle
_form
protected IForm _form
_engine
protected IEngine _engine
_pageRenderSupport
protected PageRenderSupport _pageRenderSupport
FormComponentContributorTestCase
public FormComponentContributorTestCase()
addScript
protected void addScript(String script)
newField
protected IFormComponent newField(String displayName)
newField
protected IFormComponent newField(String displayName,
String clientId,
int count)
newFieldWithClientId
protected IFormComponent newFieldWithClientId(String clientId)
trainBuildMessage
protected void trainBuildMessage(ValidationMessages messages,
String overrideMessage,
String key,
Object[] parameters,
String result)
trainGetLocale
protected void trainGetLocale(ValidationMessages messages,
Locale locale)
newField
protected IFormComponent newField()
newWriter
protected IMarkupWriter newWriter()
newCycle
protected IRequestCycle newCycle()
newValidationMessages
protected ValidationMessages newValidationMessages(Locale locale)
trainTrim
protected void trainTrim(FormComponentContributorContext context,
String fieldId)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.