Update of /cvsroot/jwebunit/jWebUnit/testcases/FormSubmissionTest
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10672/testcases/FormSubmissionTest

Modified Files:
        MultiFormPage.html QueryFormTricky.html 
        MultiNamedButtonForm.html CheckboxForm.html 
        QueryFormSimple.html 
Added Files:
        SingleUnnamedButtonForm.html SingleNamedButtonForm.html 
        InvalidActionForm.html 
Removed Files:
        SingleNamedButtomForm.html SingleUnnamedButtomForm.html 
        SingleNamedButtomForm.jsp 
Log Message:
Fied FormSubmissionTest to use request+response, with no changes in test 
coverage. Now included in AllTests. JSP compilation takes some time but is only 
performed once per test suite execution. JSP compilation needs javac in path.

--- NEW FILE: InvalidActionForm.html ---
<html>
<head></head>
<body>
        <form method=GET action="nonExistingPage">
                <input name="button1" value="b1" type=submit>
                <input name="color" value="red" type=submit>
                <input name="color" value="blue" type=submit>
        </form>
</body>
</html>
Index: QueryFormSimple.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/FormSubmissionTest/QueryFormSimple.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** QueryFormSimple.html        15 Apr 2005 04:42:44 -0000      1.1
--- QueryFormSimple.html        23 Dec 2005 11:01:39 -0000      1.2
***************
*** 2,6 ****
  <head></head>
        <body>
!               <form method=GET action="TargetPage">
                First : <input type="text" name="param1">
                Second : <textarea name="param2"></form>
--- 2,6 ----
  <head></head>
        <body>
!               <form method=GET action="../params.jsp">
                First : <input type="text" name="param1">
                Second : <textarea name="param2"></form>

Index: MultiFormPage.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/FormSubmissionTest/MultiFormPage.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MultiFormPage.html  15 Apr 2005 04:42:44 -0000      1.1
--- MultiFormPage.html  23 Dec 2005 11:01:39 -0000      1.2
***************
*** 3,12 ****
        <body>
  
!               <form method=GET action="TargetPage">
                        <input type="text" name="param1">
                        <input type="submit" name="button1">
                </form>
  
!               <form name="form2" method=GET action="TargetPage">
                        <input type="text" name="param2">
                        <input type="submit" name="button2a" value="b2a">
--- 3,12 ----
        <body>
  
!               <form method=GET action="../params.jsp">
                        <input type="text" name="param1">
                        <input type="submit" name="button1">
                </form>
  
!               <form name="form2" method=GET action="../params.jsp">
                        <input type="text" name="param2">
                        <input type="submit" name="button2a" value="b2a">
***************
*** 14,23 ****
                </form>
  
!               <form name="form3" method=GET action="TargetPage">
                        <input type="text" name="param3">
                        <input type="submit">
                </form>
  
!               <form name="form4" method=GET action="TargetPage">
                        <input type="text" name="param4">
                        <input type="submit">
--- 14,23 ----
                </form>
  
!               <form name="form3" method=GET action="../params.jsp">
                        <input type="text" name="param3">
                        <input type="submit">
                </form>
  
!               <form name="form4" method=GET action="../params.jsp">
                        <input type="text" name="param4">
                        <input type="submit">

--- NEW FILE: SingleNamedButtonForm.html ---
<html>
<head></head>
<body>
        <form method="GET" action="../params.jsp">
                <input type="text" name="color" />
                <input type="checkbox" name="checkBox" />
                <input type="submit" name="button">
        </form>
</body>
</html>
--- SingleNamedButtomForm.html DELETED ---

--- SingleNamedButtomForm.jsp DELETED ---

Index: MultiNamedButtonForm.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/FormSubmissionTest/MultiNamedButtonForm.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MultiNamedButtonForm.html   15 Apr 2005 04:42:44 -0000      1.1
--- MultiNamedButtonForm.html   23 Dec 2005 11:01:39 -0000      1.2
***************
*** 2,6 ****
  <head></head>
  <body>
!       <form method=GET action="TargetPage">
                <input name="button1" value="b1" type=submit>
                <input name="color" value="red" type=submit>
--- 2,6 ----
  <head></head>
  <body>
!       <form method=GET action="../params.jsp">
                <input name="button1" value="b1" type=submit>
                <input name="color" value="red" type=submit>

Index: CheckboxForm.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/FormSubmissionTest/CheckboxForm.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CheckboxForm.html   15 Apr 2005 04:42:44 -0000      1.1
--- CheckboxForm.html   23 Dec 2005 11:01:39 -0000      1.2
***************
*** 2,6 ****
  <head></head>
  <body>
!       <form method=GET action="TargetPage">
                <input type="checkbox" name="checkBox" value="1">
                <input type="checkbox" name="checkBox" value="2">
--- 2,6 ----
  <head></head>
  <body>
!       <form method="GET" action="../params.jsp">
                <input type="checkbox" name="checkBox" value="1">
                <input type="checkbox" name="checkBox" value="2">

Index: QueryFormTricky.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/FormSubmissionTest/QueryFormTricky.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** QueryFormTricky.html        15 Apr 2005 04:42:44 -0000      1.1
--- QueryFormTricky.html        23 Dec 2005 11:01:39 -0000      1.2
***************
*** 2,6 ****
  <head></head>
  Trick!
! <form method=GET action="TargetPage">
        First : <input type="text" name="param1">
        Second : <input type="text" name="param2">
--- 2,6 ----
  <head></head>
  Trick!
! <form method=GET action="../params.jsp">
        First : <input type="text" name="param1">
        Second : <input type="text" name="param2">
***************
*** 8,12 ****
  </form>
  
! <form name="form2" method=GET action="TargetPage">
        Trick! <input type="text" name="param3">
        Treat! <input type="text" name="param4">
--- 8,12 ----
  </form>
  
! <form name="form2" method=GET action="../params.jsp">
        Trick! <input type="text" name="param3">
        Treat! <input type="text" name="param4">

--- SingleUnnamedButtomForm.html DELETED ---

--- NEW FILE: SingleUnnamedButtonForm.html ---
<html>
<head></head>
        <body>
                <form method=GET action="../params.jsp">
                        <input type="text" name="color">
                        <input type="submit" name="button">
                        <input type="checkbox" name="checkBox" value="on">
                </form>
        </body>
</html>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to