org.apache.tapestry.form
Class FormTest

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.form.FormTest

public class FormTest
extends BaseComponentTestCase

Tests for Form. Most of the testing is, still alas, done with mock objects.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
FormTest()
           
 
Method Summary
protected  IValidationDelegate newDelegate()
           
protected  WebResponse newResponse()
           
 void test_Focus_Disabled()
           
 void testBasicRender()
           
 void testFindCancelDefaultListener()
           
 void testFindCancelListener()
           
 void testFindListenerSuccess()
           
 void testFindListenerValidationErrors()
           
 void testFindRefreshListener()
           
 void testFindRefreshListenerDefault()
           
 void testRenderWithScheme()
           
 void testRewind()
           
protected  void trainGetNamespace(WebResponse response, String namespace)
           
protected  void trainGetUniqueId(IRequestCycle cycle, String baseId, String uniqueId)
           
protected  void trainIsRewinding(FormSupport support, boolean isRewinding)
           
protected  void trainStoreForm(IRequestCycle cycle, IForm form)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormTest

public FormTest()
Method Detail

trainGetUniqueId

protected void trainGetUniqueId(IRequestCycle cycle,
                                String baseId,
                                String uniqueId)

newResponse

protected WebResponse newResponse()

trainGetNamespace

protected void trainGetNamespace(WebResponse response,
                                 String namespace)

newDelegate

protected IValidationDelegate newDelegate()

testRewind

public void testRewind()

testBasicRender

public void testBasicRender()

testRenderWithScheme

public void testRenderWithScheme()

trainStoreForm

protected void trainStoreForm(IRequestCycle cycle,
                              IForm form)

trainIsRewinding

protected void trainIsRewinding(FormSupport support,
                                boolean isRewinding)

testFindCancelListener

public void testFindCancelListener()

testFindCancelDefaultListener

public void testFindCancelDefaultListener()

testFindRefreshListener

public void testFindRefreshListener()

testFindRefreshListenerDefault

public void testFindRefreshListenerDefault()

testFindListenerSuccess

public void testFindListenerSuccess()

testFindListenerValidationErrors

public void testFindListenerValidationErrors()

test_Focus_Disabled

public void test_Focus_Disabled()


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