Updated testsuite: To prevent crashes in Safari, each test waits for 250 milliseconds...
[jquery.git] / build / test / index.html
index 1a8c176..ffeb9f9 100644 (file)
@@ -1,19 +1,19 @@
 <html id="html">
 <head>
+       <title>jQuery Test Suite</title>
+       <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
        <script type="text/javascript" src="../dist/jquery.js"></script>
        <script type="text/javascript" src="data/testrunner.js"></script>
-       <script>
-       $(document).ready(function(){
-               $('#userAgent').html(navigator.userAgent);
-               runTest(function() {
-                       {TESTS}
-               });
-       });
-       </script>
-       <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
+       <script type="text/javascript" src="../src/jquery/coreTest.js"></script>
+       <script type="text/javascript" src="../src/selector/selectorTest.js"></script>
+       <script type="text/javascript" src="../src/event/eventTest.js"></script>
+       <script type="text/javascript" src="../src/ajax/ajaxTest.js"></script>
+       <script type="text/javascript" src="../src/fx/fxTest.js"></script>
 </head>
+
 <body id="body">
-       <h1 id="banner">jQuery Core - Test Suite</h1>
+       <h1>jQuery Test Suite</h1>
+       <h2 id="banner"></h2>
        <h2 id="userAgent"></h2>
        
        <!-- Test HTML -->
                <p id="ap">
                        Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, 
                        <a id="groups" href="http://groups.google.com/">Google Groups</a>. 
-                       This link has <code><a href="#" id="anchor1">class="blog"</a></code>: 
+                       This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>: 
                        <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>
 
                </p>
                <div id="foo">
                        <p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>
                        <p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
-                       <p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p>
+                       <p id="sap">This link has <code><a href="http://smin/#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p>
 
                </div>
                <p id="first">Try them out:</p>
                                <option id="option3c" selected="selected" value="2">2</option>
                                <option id="option3d" value="3">3</option>
                        </select>
+                       
+                       <object id="object1" codebase="stupid">
+                               <param name="p1" value="x1" />
+                               <param name="p2" value="x2" />
+                       </object>
                </form>
                <b id="floatTest">Float test.</b>
        </div>