Forgot to merge in some of the new tests from Sizzle.
[jquery.git] / test / index.html
index 9cc6e62..c4ba752 100644 (file)
@@ -3,12 +3,19 @@
 <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>jQuery Test Suite</title>
-       <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
-       <!--  -->
-       <script type="text/javascript">var jQuery = "jQuery", $ = "$"; // For testing .noConflict()</script>
+       <link rel="Stylesheet" media="screen" href="qunit/testsuite.css" />
+       <!-- Includes -->
+       <script type="text/javascript">
+               var jQuery = this.jQuery || "jQuery", // For testing .noConflict()
+                       $ = this.$ || "$",
+                       originaljQuery = jQuery,
+                       original$ = $;
+       </script>
        <script type="text/javascript" src="../dist/jquery.js"></script>
+       <script type="text/javascript" src="qunit/testrunner.js"></script>
        <script type="text/javascript" src="data/testrunner.js"></script>
        <script type="text/javascript" src="unit/core.js"></script>
+       <script type="text/javascript" src="unit/data.js"></script>
        <script type="text/javascript" src="unit/dimensions.js"></script>
        <script type="text/javascript" src="unit/selector.js"></script>
        <script type="text/javascript" src="unit/event.js"></script>
@@ -81,6 +88,7 @@
                                <option id="option3b" selected="selected" value="1">1</option>
                                <option id="option3c" selected="selected" value="2">2</option>
                                <option id="option3d" value="3">3</option>
+                               <option id="option3e">no value</option>
                        </select>
                        
                        <object id="object1" codebase="stupid">
                        <input type="text" id="idTest" name="id"/>
                </form>
                <table id="table"></table>
+
+               <form id="name-tests">
+                       <!-- Inputs with a grouped name attribute. -->
+                       <input name="types[]" id="types_all" type="checkbox" value="all" />
+                       <input name="types[]" id="types_anime" type="checkbox" value="anime" />
+                       <input name="types[]" id="types_movie" type="checkbox" value="movie" />
+               </form>
                
                <div id="fx-queue">
                        <div id="fadein" class='chain test'>fadeIn<div>fadeIn</div></div>