org.apache.tapestry.form
Class FormSupportTest

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

public class FormSupportTest
extends BaseComponentTestCase

Tests for FormSupportImpl.

Since:
4.0
Author:
Howard M. Lewis Ship

Nested Class Summary
 class FormSupportTest.UniqueIdAnswer
           
 
Constructor Summary
FormSupportTest()
           
 
Method Summary
protected  IEngine newEngine()
           
protected  FormSupport newFormSupport(IMarkupWriter writer, IRequestCycle cycle, IForm form)
           
 void test_Cancel_Rewind()
           
 void test_Complex_Render()
           
 void test_Complex_Rewind()
           
 void test_Complex_Submit_Event_Handler()
           
 void test_Encoding_Type()
           
 void test_Field_Prerender_Twice()
           
 void test_Hidden_Values()
           
 void test_Invalid_Encoding_Type()
           
 void test_Refresh_Rewind()
           
 void test_Render_Extra_Reserved_Ids()
           
 void test_Reset_Event_Handler()
           
 void test_Rewind_Extra_Reserved_Ids()
           
 void test_Rewind_Mismatch()
           
 void test_Rewind_Too_Long()
           
 void test_Rewind_Too_Short()
           
 void test_Simple_Render_With_Deferred_Runnable()
           
 void test_Simple_Render_With_Scheme()
           
 void test_Simple_Render()
           
 void test_Simple_Rewind_With_Deferred_Runnable()
           
 void test_Simple_Rewind()
           
 void test_Simple_Submit_Event_Handler()
           
protected  void trainCycleSeedEncoding(IRequestCycle cycle)
           
protected  void trainDiv(IMarkupWriter writer, IForm form)
           
protected  void trainHiddenBlock(IRequestCycle cycle, ResponseBuilder builder, IMarkupWriter writer, IForm form, String serviceName, String formIds)
           
protected  void trainIsRewound(IRequestCycle cycle, IForm form, boolean isRewound)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormSupportTest

public FormSupportTest()
Method Detail

newFormSupport

protected FormSupport newFormSupport(IMarkupWriter writer,
                                     IRequestCycle cycle,
                                     IForm form)

newEngine

protected IEngine newEngine()

trainCycleSeedEncoding

protected void trainCycleSeedEncoding(IRequestCycle cycle)

test_Cancel_Rewind

public void test_Cancel_Rewind()

test_Complex_Render

public void test_Complex_Render()

test_Complex_Rewind

public void test_Complex_Rewind()

test_Complex_Submit_Event_Handler

public void test_Complex_Submit_Event_Handler()

test_Encoding_Type

public void test_Encoding_Type()

test_Field_Prerender_Twice

public void test_Field_Prerender_Twice()

test_Hidden_Values

public void test_Hidden_Values()

test_Invalid_Encoding_Type

public void test_Invalid_Encoding_Type()

test_Refresh_Rewind

public void test_Refresh_Rewind()

test_Render_Extra_Reserved_Ids

public void test_Render_Extra_Reserved_Ids()

test_Reset_Event_Handler

public void test_Reset_Event_Handler()

test_Rewind_Extra_Reserved_Ids

public void test_Rewind_Extra_Reserved_Ids()

test_Rewind_Mismatch

public void test_Rewind_Mismatch()

test_Rewind_Too_Long

public void test_Rewind_Too_Long()

test_Rewind_Too_Short

public void test_Rewind_Too_Short()

test_Simple_Render

public void test_Simple_Render()

test_Simple_Render_With_Deferred_Runnable

public void test_Simple_Render_With_Deferred_Runnable()

test_Simple_Render_With_Scheme

public void test_Simple_Render_With_Scheme()

test_Simple_Rewind

public void test_Simple_Rewind()

test_Simple_Rewind_With_Deferred_Runnable

public void test_Simple_Rewind_With_Deferred_Runnable()

test_Simple_Submit_Event_Handler

public void test_Simple_Submit_Event_Handler()

trainDiv

protected void trainDiv(IMarkupWriter writer,
                        IForm form)

trainHiddenBlock

protected void trainHiddenBlock(IRequestCycle cycle,
                                ResponseBuilder builder,
                                IMarkupWriter writer,
                                IForm form,
                                String serviceName,
                                String formIds)

trainIsRewound

protected void trainIsRewound(IRequestCycle cycle,
                              IForm form,
                              boolean isRewound)


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