test.tags
Class FormsOQLTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.cactus.internal.AbstractCactusTestCase
              extended by org.apache.cactus.ServletTestCase
                  extended by org.apache.cactus.JspTestCase
                      extended by test.util.MakumbaJspTestCase
                          extended by test.tags.FormsOQLTest
All Implemented Interfaces:
junit.framework.Test, org.apache.cactus.internal.CactusTestCase

public class FormsOQLTest
extends MakumbaJspTestCase

Version:
$Id: FormsOQLTest.java 4982 2010-05-09 21:00:38Z cristian_bogdan $
Author:
Johannes Peeters, Manuel Gay

Nested Class Summary
 
Nested classes/interfaces inherited from class test.util.MakumbaJspTestCase
MakumbaJspTestCase.JspTest, MakumbaJspTestCase.MakumbaJspTestCaseDecorator, MakumbaJspTestCase.Suite
 
Field Summary
 
Fields inherited from class test.util.MakumbaJspTestCase
differentNameJspsMap, differentNameJspsReverseMap, jspDir, recording, tests
 
Fields inherited from class org.apache.cactus.JspTestCase
out, pageContext
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Constructor Summary
FormsOQLTest()
           
 
Method Summary
 void beginFormAnnotation(org.apache.cactus.Request request)
           
 void beginFormResponderOrder(org.apache.cactus.Request request)
           
 void beginLogin(org.apache.cactus.Request request)
           
 void beginMakAddForm(org.apache.cactus.Request request)
           
 void beginMakAddToNewForm(org.apache.cactus.Request request)
           
 void beginMakNestedNewAndEditFormsSimple(org.apache.cactus.Request request)
           
 void beginMakNestedNewFormsSimple(org.apache.cactus.Request request)
           
 void beginMakSearchForm(org.apache.cactus.Request request)
           
 void beginMakSearchForm2(org.apache.cactus.Request request)
           
 void beginMakSearchForm3(org.apache.cactus.Request request)
           
 void beginMakSearchFormFilterMode(org.apache.cactus.Request request)
           
 void beginMakSearchFormInSet(org.apache.cactus.Request request)
           
 void beginMakSearchFormStaticWhere(org.apache.cactus.Request request)
           
 void endBug1115(com.meterware.httpunit.WebResponse response)
           
 void endBug946(com.meterware.httpunit.WebResponse response)
           
 void endCalendarEditor(com.meterware.httpunit.WebResponse response)
           
 void endClientSideValidationMultipleForms(com.meterware.httpunit.WebResponse response)
           
 void endFormAnnotation(com.meterware.httpunit.WebResponse response)
           
 void endFormResponderOrder(com.meterware.httpunit.WebResponse response)
           
 void endLogin(com.meterware.httpunit.WebResponse response)
           
 void endMakAddForm(com.meterware.httpunit.WebResponse response)
           
 void endMakAddToNewForm(com.meterware.httpunit.WebResponse response)
           
 void endMakEditForm(com.meterware.httpunit.WebResponse response)
           
 void endMakForm(com.meterware.httpunit.WebResponse response)
           
 void endMakFormAjax(com.meterware.httpunit.WebResponse response)
           
 void endMakInputTypes(com.meterware.httpunit.WebResponse response)
           
 void endMakNestedNewAndEditFormsSimple(com.meterware.httpunit.WebResponse response)
           
 void endMakNestedNewFormsSimple(com.meterware.httpunit.WebResponse response)
           
 void endMakNewBinary(com.meterware.httpunit.WebResponse response)
           
 void endMakNewFile(com.meterware.httpunit.WebResponse response)
           
 void endMakNewForm(com.meterware.httpunit.WebResponse response)
           
 void endMakRepeatedForms(com.meterware.httpunit.WebResponse response)
           
 void endMakSearchForm(com.meterware.httpunit.WebResponse response)
           
 void endMakSearchForm2(com.meterware.httpunit.WebResponse response)
           
 void endMakSearchForm3(com.meterware.httpunit.WebResponse response)
           
 void endMakSearchFormDefaultMatchMode(com.meterware.httpunit.WebResponse response)
           
 void endMakSearchFormFilterMode(com.meterware.httpunit.WebResponse response)
           
 void endMakSearchFormInSet(com.meterware.httpunit.WebResponse response)
           
 void endMakSearchFormStaticWhere(com.meterware.httpunit.WebResponse response)
           
 void endMakSubmit(com.meterware.httpunit.WebResponse response)
           
 void endNestedForms(com.meterware.httpunit.WebResponse response)
           
static junit.framework.Test suite()
           
 void testBug1115()
           
 void testBug946()
           
 void testCalendarEditor()
           
 void testClientSideValidationMultipleForms()
           
 void testDbReset()
           
 void testFormAnnotation()
           
 void testFormMakNewBinary()
           
 void testFormMakNewFile()
           
 void testFormNestedForms()
           
 void testFormResponderOrder()
           
 void testLogin()
           
 void testMakAddForm()
           
 void testMakAddToNewForm()
           
 void testMakEditForm()
           
 void testMakForm()
           
 void testMakFormAjax()
          TODO this is not a real test, we should test for the result of the response of the partial postback
 void testMakFormRepeatedForms()
           
 void testMakInputTypes()
           
 void testMakNestedNewAndEditFormsSimple()
           
 void testMakNestedNewFormsSimple()
           
 void testMakNewForm()
           
 void testMakSearchForm()
           
 void testMakSearchForm2()
           
 void testMakSearchForm3()
           
 void testMakSearchFormDefaultMatchMode()
           
 void testMakSearchFormFilterMode()
           
 void testMakSearchFormInSet()
           
 void testMakSearchFormStaticWhere()
           
 void testMakSubmit()
           
 void testTomcat()
           
 
Methods inherited from class test.util.MakumbaJspTestCase
compareTest, compareToFile, compareToFileWithTestName, differentNameJsps, disableTest, fetchValidTestResult, getFormInJsp, getFormInJsp, getFormInJspWithTestName, getFormInJspWithTestName, getJspDir, getJspResponse, getRecordingMode, includeJspWithTestName, makeJspDirSuite, makeJspSuite, makeSuite
 
Methods inherited from class org.apache.cactus.JspTestCase
createProtocolHandler
 
Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase
runBare, runBareServer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cactus.internal.CactusTestCase
runBareServer
 

Constructor Detail

FormsOQLTest

public FormsOQLTest()
Method Detail

suite

public static junit.framework.Test suite()

testDbReset

public void testDbReset()

testTomcat

public void testTomcat()

testMakNewForm

public void testMakNewForm()
                    throws ServletException,
                           IOException
Throws:
ServletException
IOException

endMakNewForm

public void endMakNewForm(com.meterware.httpunit.WebResponse response)
                   throws Exception
Throws:
Exception

beginMakAddForm

public void beginMakAddForm(org.apache.cactus.Request request)
                     throws Exception
Throws:
Exception

testMakAddForm

public void testMakAddForm()
                    throws ServletException,
                           IOException
Throws:
ServletException
IOException

endMakAddForm

public void endMakAddForm(com.meterware.httpunit.WebResponse response)
                   throws Exception
Throws:
Exception

testMakEditForm

public void testMakEditForm()
                     throws ServletException,
                            IOException
Throws:
ServletException
IOException

endMakEditForm

public void endMakEditForm(com.meterware.httpunit.WebResponse response)
                    throws Exception
Throws:
Exception

testMakForm

public void testMakForm()
                 throws ServletException,
                        IOException,
                        SAXException
Throws:
ServletException
IOException
SAXException

endMakForm

public void endMakForm(com.meterware.httpunit.WebResponse response)
                throws Exception
Throws:
Exception

testBug946

public void testBug946()
                throws ServletException,
                       IOException,
                       SAXException
Throws:
ServletException
IOException
SAXException

endBug946

public void endBug946(com.meterware.httpunit.WebResponse response)
               throws Exception
Throws:
Exception

testBug1115

public void testBug1115()
                 throws ServletException,
                        IOException,
                        SAXException
Throws:
ServletException
IOException
SAXException

endBug1115

public void endBug1115(com.meterware.httpunit.WebResponse response)
                throws Exception
Throws:
Exception

testMakFormRepeatedForms

public void testMakFormRepeatedForms()
                              throws ServletException,
                                     IOException,
                                     SAXException
Throws:
ServletException
IOException
SAXException

endMakRepeatedForms

public void endMakRepeatedForms(com.meterware.httpunit.WebResponse response)
                         throws Exception
Throws:
Exception

testFormNestedForms

public void testFormNestedForms()
                         throws ServletException,
                                IOException,
                                SAXException
Throws:
ServletException
IOException
SAXException

endNestedForms

public void endNestedForms(com.meterware.httpunit.WebResponse response)
                    throws Exception
Throws:
Exception

testFormMakNewFile

public void testFormMakNewFile()
                        throws ServletException,
                               IOException,
                               SAXException
Throws:
ServletException
IOException
SAXException

endMakNewFile

public void endMakNewFile(com.meterware.httpunit.WebResponse response)
                   throws Exception
Throws:
Exception

testFormMakNewBinary

public void testFormMakNewBinary()
                          throws ServletException,
                                 IOException,
                                 SAXException
Throws:
ServletException
IOException
SAXException

endMakNewBinary

public void endMakNewBinary(com.meterware.httpunit.WebResponse response)
                     throws Exception
Throws:
Exception

beginMakAddToNewForm

public void beginMakAddToNewForm(org.apache.cactus.Request request)
                          throws Exception
Throws:
Exception

testMakAddToNewForm

public void testMakAddToNewForm()
                         throws ServletException,
                                IOException
Throws:
ServletException
IOException

endMakAddToNewForm

public void endMakAddToNewForm(com.meterware.httpunit.WebResponse response)
                        throws Exception
Throws:
Exception

beginMakSearchForm

public void beginMakSearchForm(org.apache.cactus.Request request)
                        throws Exception
Throws:
Exception

testMakSearchForm

public void testMakSearchForm()
                       throws ServletException,
                              IOException
Throws:
ServletException
IOException

endMakSearchForm

public void endMakSearchForm(com.meterware.httpunit.WebResponse response)
                      throws Exception
Throws:
Exception

beginMakSearchForm2

public void beginMakSearchForm2(org.apache.cactus.Request request)
                         throws Exception
Throws:
Exception

testMakSearchForm2

public void testMakSearchForm2()
                        throws ServletException,
                               IOException
Throws:
ServletException
IOException

endMakSearchForm2

public void endMakSearchForm2(com.meterware.httpunit.WebResponse response)
                       throws Exception
Throws:
Exception

beginMakSearchForm3

public void beginMakSearchForm3(org.apache.cactus.Request request)
                         throws Exception
Throws:
Exception

testMakSearchForm3

public void testMakSearchForm3()
                        throws ServletException,
                               IOException
Throws:
ServletException
IOException

endMakSearchForm3

public void endMakSearchForm3(com.meterware.httpunit.WebResponse response)
                       throws Exception
Throws:
Exception

testMakSearchFormDefaultMatchMode

public void testMakSearchFormDefaultMatchMode()
                                       throws ServletException,
                                              IOException,
                                              SAXException
Throws:
ServletException
IOException
SAXException

endMakSearchFormDefaultMatchMode

public void endMakSearchFormDefaultMatchMode(com.meterware.httpunit.WebResponse response)
                                      throws Exception
Throws:
Exception

beginMakSearchFormInSet

public void beginMakSearchFormInSet(org.apache.cactus.Request request)
                             throws Exception
Throws:
Exception

testMakSearchFormInSet

public void testMakSearchFormInSet()
                            throws ServletException,
                                   IOException
Throws:
ServletException
IOException

endMakSearchFormInSet

public void endMakSearchFormInSet(com.meterware.httpunit.WebResponse response)
                           throws Exception
Throws:
Exception

beginFormAnnotation

public void beginFormAnnotation(org.apache.cactus.Request request)
                         throws Exception
Throws:
Exception

beginMakSearchFormFilterMode

public void beginMakSearchFormFilterMode(org.apache.cactus.Request request)
                                  throws Exception
Throws:
Exception

testMakSearchFormFilterMode

public void testMakSearchFormFilterMode()
                                 throws ServletException,
                                        IOException
Throws:
ServletException
IOException

endMakSearchFormFilterMode

public void endMakSearchFormFilterMode(com.meterware.httpunit.WebResponse response)
                                throws Exception
Throws:
Exception

beginMakSearchFormStaticWhere

public void beginMakSearchFormStaticWhere(org.apache.cactus.Request request)
                                   throws Exception
Throws:
Exception

testMakSearchFormStaticWhere

public void testMakSearchFormStaticWhere()
                                  throws ServletException,
                                         IOException
Throws:
ServletException
IOException

endMakSearchFormStaticWhere

public void endMakSearchFormStaticWhere(com.meterware.httpunit.WebResponse response)
                                 throws Exception
Throws:
Exception

testFormAnnotation

public void testFormAnnotation()
                        throws ServletException,
                               IOException
Throws:
ServletException
IOException

endFormAnnotation

public void endFormAnnotation(com.meterware.httpunit.WebResponse response)
                       throws Exception
Throws:
Exception

beginFormResponderOrder

public void beginFormResponderOrder(org.apache.cactus.Request request)
                             throws Exception
Throws:
Exception

testFormResponderOrder

public void testFormResponderOrder()
                            throws ServletException,
                                   IOException
Throws:
ServletException
IOException

endFormResponderOrder

public void endFormResponderOrder(com.meterware.httpunit.WebResponse response)
                           throws Exception
Throws:
Exception

testClientSideValidationMultipleForms

public void testClientSideValidationMultipleForms()
                                           throws ServletException,
                                                  IOException,
                                                  SAXException
Throws:
ServletException
IOException
SAXException

endClientSideValidationMultipleForms

public void endClientSideValidationMultipleForms(com.meterware.httpunit.WebResponse response)
                                          throws Exception
Throws:
Exception

testMakInputTypes

public void testMakInputTypes()
                       throws ServletException,
                              IOException,
                              SAXException
Throws:
ServletException
IOException
SAXException

endMakInputTypes

public void endMakInputTypes(com.meterware.httpunit.WebResponse response)
                      throws Exception
Throws:
Exception

testCalendarEditor

public void testCalendarEditor()
                        throws ServletException,
                               IOException,
                               SAXException
Throws:
ServletException
IOException
SAXException

endCalendarEditor

public void endCalendarEditor(com.meterware.httpunit.WebResponse response)
                       throws Exception
Throws:
Exception

beginMakNestedNewFormsSimple

public void beginMakNestedNewFormsSimple(org.apache.cactus.Request request)
                                  throws Exception
Throws:
Exception

testMakNestedNewFormsSimple

public void testMakNestedNewFormsSimple()
                                 throws ServletException,
                                        IOException
Throws:
ServletException
IOException

endMakNestedNewFormsSimple

public void endMakNestedNewFormsSimple(com.meterware.httpunit.WebResponse response)
                                throws Exception
Throws:
Exception

beginMakNestedNewAndEditFormsSimple

public void beginMakNestedNewAndEditFormsSimple(org.apache.cactus.Request request)
                                         throws Exception
Throws:
Exception

testMakNestedNewAndEditFormsSimple

public void testMakNestedNewAndEditFormsSimple()
                                        throws ServletException,
                                               IOException
Throws:
ServletException
IOException

endMakNestedNewAndEditFormsSimple

public void endMakNestedNewAndEditFormsSimple(com.meterware.httpunit.WebResponse response)
                                       throws Exception
Throws:
Exception

testMakSubmit

public void testMakSubmit()
                   throws ServletException,
                          IOException
Throws:
ServletException
IOException

endMakSubmit

public void endMakSubmit(com.meterware.httpunit.WebResponse response)
                  throws Exception
Throws:
Exception

testMakFormAjax

public void testMakFormAjax()
                     throws ServletException,
                            IOException
TODO this is not a real test, we should test for the result of the response of the partial postback

Throws:
ServletException
IOException

endMakFormAjax

public void endMakFormAjax(com.meterware.httpunit.WebResponse response)
                    throws Exception
Throws:
Exception

beginLogin

public void beginLogin(org.apache.cactus.Request request)
                throws Exception
Throws:
Exception

testLogin

public void testLogin()
               throws ServletException,
                      IOException
Throws:
ServletException
IOException

endLogin

public void endLogin(com.meterware.httpunit.WebResponse response)
              throws Exception
Throws:
Exception