Refactored test suite: All tests are now compiled into one file, runs much faster...
[jquery.git] / build / test / index.html
index 7d10fc7..31bf43d 100644 (file)
@@ -4,7 +4,7 @@
        <script type="text/javascript" src="js/test.js"></script>
        <script>
        $(document).ready(function(){
-               runTests([{FILES}]);\r
+               runTest('tests.js');\r
        });
        </script>
        <style>.pass { color: green; } .fail { color: red; } #tests ol { display: none; }</style>
@@ -32,8 +32,8 @@
                <p id="first">Try them out:</p>\r
                <ul id="firstUL"></ul>
                <ol id="empty"></ol>
-               <form id="form">
-                       <input type="text" value="Test" id="text1"/>
+               <form id="form" action="formaction">
+                       <input type="text" value="Test" name="action" id="text1"/>
                        <input type="text" value="Test" id="text2" disabled="disabled"/>
                        <input type="radio" name="radio1" id="radio1"/>
 
@@ -42,7 +42,9 @@
                        <input type="checkbox" name="check" id="check2"/>
 
                        <input type="hidden" name="hidden" id="hidden1"/>
-                       <input type="text" style="display:none;" id="hidden2"/>\r
+                       <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>\r
+                       \r
+                       <input type="text" id="name" name="name" value="name" />\r
                        \r
                        <select name="select1" id="select1">\r
                                <option id="option1a" value="">Nothing</option>\r