Massive overhauls to the test suite - it is now generated dynamically, along with...
[jquery.git] / build / test / index.html
1 <html id="html">
2 <head>
3         <script type="text/javascript" src="../dist/jquery.js"></script>
4         <script type="text/javascript" src="js/test.js"></script>
5         <script>
6         $(document).ready(function(){
7                 runTests([{FILES}]);
8         });
9         </script>
10         <style>.pass { color: green; } .fail { color: red; } #tests ol { display: none; }</style>
11 </head>
12 <body id="body">
13         <h1>jQuery - Test Suite</h1>
14         
15         <!-- Test HTML -->
16         <dl style="display:none;">
17         <div id="main" style="display: none;">
18                 <p id="firstp">See <a id="simon1" href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> for more information.</p>
19                 <p id="ap">
20                         Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, 
21                         <a id="groups" href="http://groups.google.com/">Google Groups</a>. 
22                         This link has <code><a href="#" id="anchor1">class="blog"</a></code>: 
23                         <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>
24
25                 </p>
26                 <div id="foo">
27                         <p id="sndp">Everything inside the red border is inside a div with 
28                                 <code>id="foo"</code>.</p>
29                         <p lang="en" id="en">This is a normal link: 
30                                 <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
31                         <p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: 
32                                 <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p>
33
34                 </div>
35                 <p id="first">Try them out: </p>
36                 <ul id="firstUL"></ul>
37                 <ol id="empty"></ol>
38                 <form id="form">
39                         <input type="text" value="Test" id="text1"/>
40                         <input type="text" value="Test" id="text2" disabled="disabled"/>
41                         <input type="radio" name="radio1" id="radio1"/>
42
43                         <input type="radio" name="radio2" id="radio2" checked/>
44                         <input type="checkbox" name="check" id="check1" checked/>
45                         <input type="checkbox" name="check" id="check2"/>
46
47                         <input type="hidden" name="hidden" id="hidden1"/>
48                         <input type="text" style="display:none;" id="hidden2"/>
49                 </form>
50         </div>
51         </dl>
52         
53         <ol id="tests"></ol>
54 </body>
55 </html>