agonism.dovetail.test
Class FormTest

java.lang.Object
  |
  +--agonism.dovetail.test.FormTest

public class FormTest
extends java.lang.Object

Results of the form post can be tested in the following ways:


Constructor Summary
FormTest(Suite suite, Page page, QFormTest formTest)
           
 
Method Summary
 void execute()
          Execute the form test.
protected  void testForm()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormTest

public FormTest(Suite suite,
                Page page,
                QFormTest formTest)
Method Detail

execute

public void execute()
Execute the form test. Any errors are logged through the Suite.
Parameters:
context - a DummyRequestContext to use in the execution of the tests. This DummyRequestContext will be used to set form element values and then create a new context for the submitted form.

testForm

protected void testForm()