Refactored test suite once more, as proposed by John
[jquery.git] / build / test / index.html
index 74539ef..a8d8b44 100644 (file)
@@ -1,10 +1,12 @@
 <html id="html">
 <head>
        <script type="text/javascript" src="../dist/jquery.js"></script>
-       <script type="text/javascript" src="js/test.js"></script>
+       <script type="text/javascript" src="testrunner.js"></script>
        <script>
-       $(document).ready(function(){
-               runTest('tests.js');\r
+       $(document).ready(function(){\r
+               runTest(function() {
+                       {TESTS}\r
+               });\r
        });
        </script>
        <style>.pass { color: green; } .fail { color: red; } #tests ol { display: none; }</style>
@@ -46,6 +48,8 @@
                        \r
                        <input type="text" id="name" name="name" value="name" />\r
                        \r
+                       <textarea id="area1">foobar</textarea>\r
+                       \r
                        <select name="select1" id="select1">\r
                                <option id="option1a" value="">Nothing</option>\r
                                <option id="option1b" value="1">1</option>\r