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

Added Files:
        SimpleForm.html ValidComplexForm.html XhtmlStrict.html 
        NoDoctype.html InvalidForm.html InvalidFormNoDoctype.html 
        ValidFormNoDoctype.html 
Log Message:
Added test for different types of html.
Also isolated some odd behaviour in HttpUnit, where a single submit button can 
not be idenfied. The line that would fail is commented out.

--- NEW FILE: InvalidForm.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd";>
<html>
<head>
<title>test</title>
</head>
<body>
<form method="GET" action="#">
        <!-- this is not valid according to w3c validator -->   
        <input type="text" name="input">
        <input type="submit"/>
</form>
</body>
--- NEW FILE: InvalidFormNoDoctype.html ---
<html>
<head>
        <!-- this is not valid according to w3c validator -->   
</head>
<body>
<form method="GET" action="#">
        <input type="text" name="input">
        <input type="submit"/>
</form>
</body>
--- NEW FILE: NoDoctype.html ---

--- NEW FILE: SimpleForm.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd";>
<html>
<head>
<title>test</title>
</head>
<body>
<form method="GET" action="#">
        <div><input type="text" name="input"></div>
        <div><input type="submit"/></div>
</form>
</body>
--- NEW FILE: XhtmlStrict.html ---

--- NEW FILE: ValidComplexForm.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd";>
<html>
<head>
<title>test</title>
</head>
<body>
        <form method="GET" action="#">
                <p><input type="checkbox" name="chk" value="1" /> Check 1</p>   
        
                <table><tr>
                        <td><input type="checkbox" name="chk" value="3" /></td>
                        <td>Check 3</td>
                </tr></table>
                <p><input type="checkbox" name="chk" value="5" /><br />Check 
5</p>
                <p><input type="radio" name="rad" value="10" /> Radio 10</p>
                <table><tr>
                        <td><input type="radio" name="rad" value="11" /></td>
                        <td>Radio 11</td>
                </tr></table>
                <hr />
                <p>Check 20 : <input type="checkbox" name="chk" value="20" 
/></p>       
                <input type="submit">
        </form>
</body>
</html>
--- NEW FILE: ValidFormNoDoctype.html ---
<html>
<title>ContentFrame</title>
<body>
<p>ContentFrame</p>
<form method="GET" action="TargetPage">
<input type="text" name="color" value="blue" />
<input type="submit" />
</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