github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 494
    • 78
  • Source
  • Commits
  • Network (78)
  • Graphs
  • Tree: 9483dcd

click here to add a description

click here to add a homepage

  • Switch Branches (7)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
  • Switch Tags (17)
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Externals: updated QUnit to http://github.com/jquery/qunit commit 
67ba5a338d836014c24345dc218ab3c9bb63b06e
The various updates to the unit test suites introduced 0 regressions due to 
update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test 
suite did introduce one regression, to the dialog option height tests.
Also removed some old crufty woefully incomplete unused and rotted test 
harnesses.
rdworth (author)
Thu Feb 25 03:09:39 -0800 2010
commit  9483dcdbe61f33e2cc5e
tree    66016c8591af13a8010f
parent  1fd3e6bd0b2bbb06cb41
D external/jsdiff.js 159 •••••
A external/qunit.css 119 •••••
A external/qunit.js 1,043 •••••
D external/testrunner-r6588.js 925 •••••
D external/testsuite-r6565.css 120 •••••
M tests/index.html 45 ••••
D tests/slider.html 63 •••••
D tests/static/all.html 39 •••••
M tests/static/index.html 6 ••••
D tests/tests.css 8 •••••
D tests/tests.js 56 •••••
M tests/unit/accordion/accordion.html 16 ••••
M tests/unit/accordion/accordion_options.js 6 ••••
D tests/unit/all.html 301 •••••
D tests/unit/all_2.html 84 •••••
M tests/unit/autocomplete/autocomplete.html 16 ••••
M tests/unit/button/button.html 17 ••••
M tests/unit/core/core.html 16 ••••
M tests/unit/datepicker/datepicker.html 16 ••••
M tests/unit/datepicker/datepicker_options.js 4 ••••
M tests/unit/defaults.html 24 ••••
M tests/unit/dialog/dialog.html 17 ••••
M tests/unit/dialog/dialog_core.js 2 ••
M tests/unit/draggable/draggable.html 12 ••••
M tests/unit/droppable/droppable.html 14 ••••
M tests/unit/index.html 18 ••••
M tests/unit/position/position.html 13 ••••
M tests/unit/position/position_core.js 2 ••
M tests/unit/progressbar/progressbar.html 14 ••••
M tests/unit/resizable/resizable.html 14 ••••
M tests/unit/selectable/selectable.html 12 ••••
M tests/unit/slider/slider.html 14 ••••
M tests/unit/sortable/sortable.html 12 ••••
M tests/unit/tabs/tabs.html 18 ••••
D tests/unit/testsuite.css 4 ••••
M tests/unit/widget/widget.html 12 ••••
M tests/visual/index.html 5 •••••
Txt external/jsdiff.js
  • View file @ 9483dcd
... ...
@@ -1,159 +0,0 @@
1  
-/*
2  
- * Javascript Diff Algorithm
3  
- *  By John Resig (http://ejohn.org/)
4  
- *  Modified by Chu Alan "sprite"
5  
- *
6  
- * More Info:
7  
- *  http://ejohn.org/projects/javascript-diff-algorithm/
8  
- */
9  
-
10  
-function escape(s) {
11  
-    var n = s;
12  
-    n = n.replace(/&/g, "&");
13  
-    n = n.replace(/</g, "&lt;");
14  
-    n = n.replace(/>/g, "&gt;");
15  
-    n = n.replace(/"/g, "&quot;");
16  
-
17  
-    return n;
18  
-}
19  
-
20  
-function diffString( o, n ) {
21  
-  o = o.replace(/\s+$/, '');
22  
-  n = n.replace(/\s+$/, '');
23  
-
24  
-  var out = diff(o == "" ? [] : o.split(/\s+/), n == "" ? [] : n.split(/\s+/) );
25  
-  var str = "";
26  
-
27  
-  var oSpace = o.match(/\s+/g);
28  
-  if (oSpace == null) {
29  
-    oSpace = ["\n"];
30  
-  } else {
31  
-    oSpace.push("\n");
32  
-  }
33  
-  var nSpace = n.match(/\s+/g);
34  
-  if (nSpace == null) {
35  
-    nSpace = ["\n"];
36  
-  } else {
37  
-    nSpace.push("\n");
38  
-  }
39  
-
40  
-  if (out.n.length == 0) {
41  
-      for (var i = 0; i < out.o.length; i++) {
42  
-        str += '<del>' + escape(out.o[i]) + oSpace[i] + "</del>";
43  
-      }
44  
-  } else {
45  
-    if (out.n[0].text == null) {
46  
-      for (n = 0; n < out.o.length && out.o[n].text == null; n++) {
47  
-        str += '<del>' + escape(out.o[n]) + oSpace[n] + "</del>";
48  
-      }
49  
-    }
50  
-
51  
-    for ( var i = 0; i < out.n.length; i++ ) {
52  
-      if (out.n[i].text == null) {
53  
-        str += '<ins>' + escape(out.n[i]) + nSpace[i] + "</ins>";
54  
-      } else {
55  
-        var pre = "";
56  
-
57  
-        for (n = out.n[i].row + 1; n < out.o.length && out.o[n].text == null; n++ ) {
58  
-          pre += '<del>' + escape(out.o[n]) + oSpace[n] + "</del>";
59  
-        }
60  
-        str += " " + out.n[i].text + nSpace[i] + pre;
61  
-      }
62  
-    }
63  
-  }
64  
-  
65  
-  return str;
66  
-}
67  
-
68  
-function randomColor() {
69  
-    return "rgb(" + (Math.random() * 100) + "%, " + 
70  
-                    (Math.random() * 100) + "%, " + 
71  
-                    (Math.random() * 100) + "%)";
72  
-}
73  
-function diffString2( o, n ) {
74  
-  o = o.replace(/\s+$/, '');
75  
-  n = n.replace(/\s+$/, '');
76  
-
77  
-  var out = diff(o == "" ? [] : o.split(/\s+/), n == "" ? [] : n.split(/\s+/) );
78  
-
79  
-  var oSpace = o.match(/\s+/g);
80  
-  if (oSpace == null) {
81  
-    oSpace = ["\n"];
82  
-  } else {
83  
-    oSpace.push("\n");
84  
-  }
85  
-  var nSpace = n.match(/\s+/g);
86  
-  if (nSpace == null) {
87  
-    nSpace = ["\n"];
88  
-  } else {
89  
-    nSpace.push("\n");
90  
-  }
91  
-
92  
-  var os = "";
93  
-  var colors = new Array();
94  
-  for (var i = 0; i < out.o.length; i++) {
95  
-      colors[i] = randomColor();
96  
-
97  
-      if (out.o[i].text != null) {
98  
-          os += '<span style="background-color: ' +colors[i]+ '">' + 
99  
-                escape(out.o[i].text) + oSpace[i] + "</span>";
100  
-      } else {
101  
-          os += "<del>" + escape(out.o[i]) + oSpace[i] + "</del>";
102  
-      }
103  
-  }
104  
-
105  
-  var ns = "";
106  
-  for (var i = 0; i < out.n.length; i++) {
107  
-      if (out.n[i].text != null) {
108  
-          ns += '<span style="background-color: ' +colors[out.n[i].row]+ '">' + 
109  
-                escape(out.n[i].text) + nSpace[i] + "</span>";
110  
-      } else {
111  
-          ns += "<ins>" + escape(out.n[i]) + nSpace[i] + "</ins>";
112  
-      }
113  
-  }
114  
-
115  
-  return { o : os , n : ns };
116  
-}
117  
-
118  
-function diff( o, n ) {
119  
-  var ns = new Object();
120  
-  var os = new Object();
121  
-  
122  
-  for ( var i = 0; i < n.length; i++ ) {
123  
-    if ( ns[ n[i] ] == null )
124  
-      ns[ n[i] ] = { rows: new Array(), o: null };
125  
-    ns[ n[i] ].rows.push( i );
126  
-  }
127  
-  
128  
-  for ( var i = 0; i < o.length; i++ ) {
129  
-    if ( os[ o[i] ] == null )
130  
-      os[ o[i] ] = { rows: new Array(), n: null };
131  
-    os[ o[i] ].rows.push( i );
132  
-  }
133  
-  
134  
-  for ( var i in ns ) {
135  
-    if ( ns[i].rows.length == 1 && typeof(os[i]) != "undefined" && os[i].rows.length == 1 ) {
136  
-      n[ ns[i].rows[0] ] = { text: n[ ns[i].rows[0] ], row: os[i].rows[0] };
137  
-      o[ os[i].rows[0] ] = { text: o[ os[i].rows[0] ], row: ns[i].rows[0] };
138  
-    }
139  
-  }
140  
-  
141  
-  for ( var i = 0; i < n.length - 1; i++ ) {
142  
-    if ( n[i].text != null && n[i+1].text == null && n[i].row + 1 < o.length && o[ n[i].row + 1 ].text == null && 
143  
-         n[i+1] == o[ n[i].row + 1 ] ) {
144  
-      n[i+1] = { text: n[i+1], row: n[i].row + 1 };
145  
-      o[n[i].row+1] = { text: o[n[i].row+1], row: i + 1 };
146  
-    }
147  
-  }
148  
-  
149  
-  for ( var i = n.length - 1; i > 0; i-- ) {
150  
-    if ( n[i].text != null && n[i-1].text == null && n[i].row > 0 && o[ n[i].row - 1 ].text == null && 
151  
-         n[i-1] == o[ n[i].row - 1 ] ) {
152  
-      n[i-1] = { text: n[i-1], row: n[i].row - 1 };
153  
-      o[n[i].row-1] = { text: o[n[i].row-1], row: i - 1 };
154  
-    }
155  
-  }
156  
-  
157  
-  return { o: o, n: n };
158  
-}
159  
-
Txt external/qunit.css
  • View file @ 9483dcd
... ...
@@ -0,0 +1,119 @@
  1
+
  2
+ol#qunit-tests {
  3
+  font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
  4
+  margin:0;
  5
+  padding:0;
  6
+  list-style-position:inside;
  7
+
  8
+  font-size: smaller;
  9
+}
  10
+ol#qunit-tests li{
  11
+  padding:0.4em 0.5em 0.4em 2.5em;
  12
+  border-bottom:1px solid #fff;
  13
+  font-size:small;
  14
+  list-style-position:inside;
  15
+}
  16
+ol#qunit-tests li ol{
  17
+  box-shadow: inset 0px 2px 13px #999;
  18
+  -moz-box-shadow: inset 0px 2px 13px #999;
  19
+  -webkit-box-shadow: inset 0px 2px 13px #999;
  20
+  margin-top:0.5em;
  21
+  margin-left:0;
  22
+  padding:0.5em;
  23
+  background-color:#fff;
  24
+  border-radius:15px;
  25
+  -moz-border-radius: 15px;
  26
+  -webkit-border-radius: 15px;
  27
+}
  28
+ol#qunit-tests li li{
  29
+  border-bottom:none;
  30
+  margin:0.5em;
  31
+  background-color:#fff;
  32
+  list-style-position: inside;
  33
+  padding:0.4em 0.5em 0.4em 0.5em;
  34
+}
  35
+
  36
+ol#qunit-tests li li.pass{
  37
+  border-left:26px solid #C6E746;
  38
+  background-color:#fff;
  39
+  color:#5E740B;
  40
+  }
  41
+ol#qunit-tests li li.fail{
  42
+  border-left:26px solid #EE5757;
  43
+  background-color:#fff;
  44
+  color:#710909;
  45
+}
  46
+ol#qunit-tests li.pass{
  47
+  background-color:#D2E0E6;
  48
+  color:#528CE0;
  49
+}
  50
+ol#qunit-tests li.fail{
  51
+  background-color:#EE5757;
  52
+  color:#000;
  53
+}
  54
+ol#qunit-tests li strong {
  55
+  cursor:pointer;
  56
+}
  57
+h1#qunit-header{
  58
+  background-color:#0d3349;
  59
+  margin:0;
  60
+  padding:0.5em 0 0.5em 1em;
  61
+  color:#fff;
  62
+  font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
  63
+  border-top-right-radius:15px;
  64
+  border-top-left-radius:15px;
  65
+  -moz-border-radius-topright:15px;
  66
+  -moz-border-radius-topleft:15px;
  67
+  -webkit-border-top-right-radius:15px;
  68
+  -webkit-border-top-left-radius:15px;
  69
+  text-shadow: rgba(0, 0, 0, 0.5) 4px 4px 1px;
  70
+}
  71
+h2#qunit-banner{
  72
+  font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
  73
+  height:5px;
  74
+  margin:0;
  75
+  padding:0;
  76
+}
  77
+h2#qunit-banner.qunit-pass{
  78
+  background-color:#C6E746;
  79
+}
  80
+h2#qunit-banner.qunit-fail, #qunit-testrunner-toolbar {
  81
+  background-color:#EE5757;
  82
+}
  83
+#qunit-testrunner-toolbar {
  84
+  font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
  85
+  padding:0;
  86
+  /*width:80%;*/
  87
+  padding:0em 0 0.5em 2em;
  88
+  font-size: small;
  89
+}
  90
+h2#qunit-userAgent {
  91
+  font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
  92
+  background-color:#2b81af;
  93
+  margin:0;
  94
+  padding:0;
  95
+  color:#fff;
  96
+  font-size: small;
  97
+  padding:0.5em 0 0.5em 2.5em;
  98
+  text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
  99
+}
  100
+p#qunit-testresult{
  101
+  font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
  102
+  margin:0;
  103
+  font-size: small;
  104
+  color:#2b81af;
  105
+  border-bottom-right-radius:15px;
  106
+  border-bottom-left-radius:15px;
  107
+  -moz-border-radius-bottomright:15px;
  108
+  -moz-border-radius-bottomleft:15px;
  109
+  -webkit-border-bottom-right-radius:15px;
  110
+  -webkit-border-bottom-left-radius:15px;
  111
+  background-color:#D2E0E6;
  112
+  padding:0.5em 0.5em 0.5em 2.5em;
  113
+}
  114
+strong b.fail{
  115
+  color:#710909;
  116
+  }
  117
+strong b.pass{
  118
+  color:#5E740B;
  119
+  }
Txt external/qunit.js
  • View file @ 9483dcd
1043 additions, 0 deletions not shown
Txt external/testrunner-r6588.js
  • View file @ 9483dcd
0 additions, 925 deletions not shown
Txt external/testsuite-r6565.css
  • View file @ 9483dcd
... ...
@@ -1,120 +0,0 @@
1  
-body, div, h1 { font-family: 'trebuchet ms', verdana, arial; margin: 0; padding: 0 }
2  
-body {font-size: 10pt; }
3  
-h1 { padding: 15px; font-size: large; background-color: #06b; color: white; }
4  
-h1 a { color: white; }
5  
-h2 { padding: 10px; background-color: #eee; color: black; margin: 0; font-size: small; font-weight: normal }
6  
-
7  
-.pass { color: green; } 
8  
-.fail { color: red; } 
9  
-p.result { margin-left: 1em; }
10  
-
11  
-#banner { height: 2em; border-bottom: 1px solid white; }
12  
-h2.pass { background-color: green; }
13  
-h2.fail { background-color: red; }
14  
-
15  
-div.testrunner-toolbar { background: #eee; border-top: 1px solid black; padding: 10px; }
16  
-
17  
-ol#tests li strong { cursor:pointer; }
18  
-
19  
-div#fx-tests h4 {
20  
-  background: red;
21  
-}
22  
-
23  
-div#fx-tests h4.pass {
24  
-  background: green;
25  
-}
26  
-
27  
-div#fx-tests div.box {
28  
-  background: red url(data/cow.jpg) no-repeat;
29  
-  overflow: hidden;
30  
-  border: 2px solid #000;
31  
-}
32  
-
33  
-div#fx-tests div.overflow {
34  
-  overflow: visible;
35  
-}
36  
-
37  
-div.inline {
38  
-  display: inline;
39  
-}
40  
-
41  
-div.autoheight {
42  
-  height: auto;
43  
-}
44  
-
45  
-div.autowidth {
46  
-  width: auto;
47  
-}
48  
-
49  
-div.autoopacity {
50  
-  opacity: auto;
51  
-}
52  
-
53  
-div.largewidth {
54  
-  width: 100px;
55  
-}
56  
-
57  
-div.largeheight {
58  
-  height: 100px;
59  
-}
60  
-
61  
-div.largeopacity {
62  
-  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
63  
-}
64  
-
65  
-div.medwidth {
66  
-  width: 50px;
67  
-}
68  
-
69  
-div.medheight {
70  
-  height: 50px;
71  
-}
72  
-
73  
-div.medopacity {
74  
-  opacity: 0.5;
75  
-  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
76  
-}
77  
-
78  
-div.nowidth {
79  
-  width: 0px;
80  
-}
81  
-
82  
-div.noheight {
83  
-  height: 0px;
84  
-}
85  
-
86  
-div.noopacity {
87  
-  opacity: 0;
88  
-  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
89  
-}
90  
-
91  
-div.hidden {
92  
-  display: none;
93  
-}
94  
-
95  
-div#fx-tests div.widewidth {
96  
-  background-repeat: repeat-x;
97  
-}
98  
-
99  
-div#fx-tests div.wideheight {
100  
-  background-repeat: repeat-y;
101  
-}
102  
-
103  
-div#fx-tests div.widewidth.wideheight {
104  
-  background-repeat: repeat;
105  
-}
106  
-
107  
-div#fx-tests div.noback {
108  
-  background-image: none;
109  
-}
110  
-
111  
-div.chain, div.chain div { width: 100px; height: 20px; position: relative; float: left; }
112  
-div.chain div { position: absolute; top: 0px; left: 0px; }
113  
-
114  
-div.chain.test { background: red; }
115  
-div.chain.test div { background: green; }
116  
-
117  
-div.chain.out { background: green; }
118  
-div.chain.out div { background: red; display: none; }
119  
-
120  
-div#show-tests * { display: none; }
Txt tests/index.html
  • View file @ 9483dcd
... ...
@@ -4,49 +4,18 @@
4 4
   <title>jQuery UI Tests</title>
5 5
   <link rel="stylesheet" href="../themes/base/jquery.ui.all.css" type="text/css" />
6 6
   <script type="text/javascript" src="../jquery-1.4.2.js"></script>
7  
-  <script type="text/javascript" src="../external/jsdiff.js"></script>
8 7
   <link rel="stylesheet" href="tests.css" type="text/css" />
9 8
   <script type="text/javascript" src="tests.js"></script>
10 9
 </head>
11 10
 <body>
12 11
 
13  
-<table id="matrix">
14  
-<thead>
15  
-  <tr>
16  
-    <th>Interaction</th>
17  
-    <th style="width:220px;">Static</th>
18  
-    <th style="width:220px;">Visual</th>
19  
-    <th>Static</th>
20  
-    <th>Visual</th>
21  
-    <th>Diff</th>
22  
-  </tr>
23  
-</thead>
24  
-<tbody>
25  
-  <tr class="test-draggable-default"><th>Draggable</th><td></td><td></td><td></td><td></td><td></td></tr>
26  
-  <tr class="test-droppable-default"><th>Droppable</th><td></td><td></td><td></td><td></td><td></td></tr>
27  
-  <tr class="test-resizable-default"><th>Resizable</th><td></td><td></td><td></td><td></td><td></td></tr>
28  
-  <!--tr class="test-selectable-default"><th>Selectable</th><td></td><td></td><td></td><td></td><td></td></tr-->
29  
-  <tr class="test-sortable-default"><th>Sortable</th><td></td><td></td><td></td><td></td><td></td></tr>
30  
-</tbody>
31  
-<thead>
32  
-  <tr>
33  
-    <th>Widget</th>
34  
-    <th style="width:220px;">Static</th>
35  
-    <th style="width:220px;">Visual</th>
36  
-    <th>Static</th>
37  
-    <th>Visual</th>
38  
-    <th>Diff</th>
39  
-  </tr>
40  
-</thead>
41  
-<tbody>
42  
-  <tr class="test-accordion-default"><th>Accordion</th><td></td><td></td><td></td><td></td><td></td></tr>
43  
-  <tr class="test-datepicker-default"><th>Datepicker</th><td></td><td></td><td></td><td></td><td></td></tr>
44  
-  <tr class="test-dialog-default"><th>Dialog</th><td></td><td></td><td></td><td></td><td></td></tr>
45  
-  <tr class="test-progressbar-default"><th>Progressbar</th><td></td><td></td><td></td><td></td><td></td></tr>
46  
-  <tr class="test-slider-default"><th>slider</th><td></td><td></td><td></td><td></td><td></td></tr>
47  
-  <tr class="test-tabs-default"><th>Tabs</th><td></td><td></td><td></td><td></td><td></td></tr>
48  
-</tbody>
49  
-</table>
  12
+<h1>jQuery UI Tests</h1>
  13
+
  14
+<h2><a href="static/index.html">Static Tests</a></h2>
  15
+
  16
+<h2><a href="unit/index.html">Unit Tests</a></h2>
  17
+
  18
+<h2><a href="visual/index.html">Visual Tests</a></h2>
50 19
 
51 20
 </body>
52 21
 </html>
Txt tests/slider.html
  • View file @ 9483dcd
... ...
@@ -1,63 +0,0 @@
1  
-<!doctype html>
2  
-<html lang="en">
3  
-<head>
4  
-  <title>jQuery UI Tests</title>
5  
-  <link rel="stylesheet" href="../themes/base/jquery.ui.all.css" type="text/css" />
6  
-  <script type="text/javascript" src="../jquery-1.4.2.js"></script>
7  
-  <script type="text/javascript" src="../external/jsdiff.js"></script>
8  
-  <link rel="stylesheet" href="tests.css" type="text/css" />
9  
-  <script type="text/javascript" src="tests.js"></script>
10  
-</head>
11  
-<body>
12  
-
13  
-<table id="matrix">
14  
-<thead>
15  
-  <tr>
16  
-    <th>Default Slider Tests</th>
17  
-    <th style="width:220px;">Static</th>
18  
-    <th style="width:220px;">Visual</th>
19  
-    <th>Static</th>
20  
-    <th>Visual</th>
21  
-    <th>Diff</th>
22  
-  </tr>
23  
-</thead>
24  
-<tbody>
25  
-  <tr class="test-slider-default"><th>Default</th><td></td><td></td><td></td><td></td><td></td></tr>
26  
-  <tr class="test-slider-default-vertical"><th>Vertical</th><td></td><td></td><td></td><td></td><td></td></tr>
27  
-</tbody>
28  
-<thead>
29  
-  <tr>
30  
-    <th>Horizontal Slider Tests</th>
31  
-    <th style="width:220px;">Static</th>
32  
-    <th style="width:220px;">Visual</th>
33  
-    <th>Static</th>
34  
-    <th>Visual</th>
35  
-    <th>Diff</th>
36  
-  </tr>
37  
-</thead>
38  
-<tbody>
39  
-  <tr class="test-slider-slider-horizontal"><th>Horizontal</th><td></td><td></td><td></td><td></td><td></td></tr>
40  
-  <tr class="test-slider-slider-horizontal-range"><th>Horizontal range</th><td></td><td></td><td></td><td></td><td></td></tr>
41  
-  <tr class="test-slider-slider-horizontal-range-max"><th>Horizontal range max</th><td></td><td></td><td></td><td></td><td></td></tr>
42  
-  <tr class="test-slider-slider-horizontal-range-min"><th>Horizontal range min</th><td></td><td></td><td></td><td></td><td></td></tr>
43  
-</tbody>
44  
-<thead>
45  
-  <tr>
46  
-    <th>Vertical Slider Tests</th>
47  
-    <th style="width:220px;">Static</th>
48  
-    <th style="width:220px;">Visual</th>
49  
-    <th>Static</th>
50  
-    <th>Visual</th>
51  
-    <th>Diff</th>
52  
-  </tr>
53  
-</thead>
54  
-<tbody>
55  
-  <tr class="test-slider-slider-vertical"><th>Vertical</th><td></td><td></td><td></td><td></td><td></td></tr>
56  
-  <tr class="test-slider-slider-vertical-range"><th>Vertical range</th><td></td><td></td><td></td><td></td><td></td></tr>
57  
-  <tr class="test-slider-slider-vertical-range-max"><th>Vertical range max</th><td></td><td></td><td></td><td></td><td></td></tr>
58  
-  <tr class="test-slider-slider-vertical-range-min"><th>Vertical range min</th><td></td><td></td><td></td><td></td><td></td></tr>
59  
-</tbody>
60  
-</table>
61  
-
62  
-</body>
63  
-</html>
Txt tests/static/all.html
  • View file @ 9483dcd
... ...
@@ -1,39 +0,0 @@
1  
-<!doctype html>
2  
-<html>
3  
-<head>
4  
-  <title>jQuery UI Static Markup Test Page</title>
5  
-  <link rel="stylesheet" href="../../themes/base/jquery.ui.base.css" type="text/css" />
6  
-  <link rel="stylesheet" href="../../themes/base/jquery.ui.theme.css" type="text/css" title="ui-theme" />
7  
-  <script type="text/javascript" src="../../jquery-1.4.2.js"></script>
8  
-  <script type="text/javascript" src="static.js"></script>
9  
-  <style type="text/css">
10  
-    dd.plugin { margin-top: 0.3em; margin-bottom: 1em; }
11  
-  </style>
12  
-</head>
13  
-<body style="font-size: 62.5%;">
14  
-
15  
-<dl id="plugins">
16  
-
17  
-</dl>
18  
-
19  
-<script type="text/javascript">
20  
-
21  
-var plugins = $("#plugins");
22  
-
23  
-$("accordion datepicker dialog progressbar slider tabs".split(" ")).each(function() {
24  
-
25  
-  var pluginName = this;
26  
-  var url = pluginName + '/' + pluginName + ".html";
27  
-
28  
-  $('<dt><a href="' + url + '">' + url + '</a></dt>').appendTo(plugins);
29  
-  $('<dd class="plugin"></dd>').load(url, function() {
30  
-    var plugin = $(this).find(".ui-" + pluginName).remove();
31  
-    $(this).empty().append(plugin);
32  
-  }).appendTo(plugins);
33  
-
34  
-});
35  
-
36  
-</script>
37  
-
38  
-</body>
39  
-</html>
Txt tests/static/index.html
  • View file @ 9483dcd
... ...
@@ -1,7 +1,7 @@
1 1
 <!doctype html>
2 2
 <html lang="en">
3 3
 <head>
4  
-  <title>Static Tests</title>
  4
+  <title>jQuery UI Static Tests</title>
5 5
   <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css" type="text/css" />
6 6
   <script type="text/javascript" src="../../jquery-1.4.2.js"></script>
7 7
   <script type="text/javascript">
... ...
@@ -12,6 +12,8 @@
12 12
 </head>
13 13
 
14 14
 <body>
  15
+  
  16
+<h1>jQuery UI Static Tests</h1>
15 17
 
16 18
 <h2>Interactions</h2>
17 19
 <ul>
... ...
@@ -25,6 +27,8 @@
25 27
 <h2>Widgets</h2>
26 28
 <ul>
27 29
   <li><a href="accordion/default.html">Accordion</a></li>
  30
+  <li><a href="autocomplete/default.html">Autocomplete</a></li>
  31
+  <li><a href="button/default.html">Button</a></li>
28 32
   <li><a href="datepicker/default.html">Datepicker</a></li>
29 33
   <li><a href="dialog/default.html">Dialog</a></li>
30 34
   <li><a href="progressbar/default.html">Progressbar</a></li>
Txt tests/tests.css
  • View file @ 9483dcd
... ...
@@ -1,8 +0,0 @@
1  
-/* tests.css */
2  
-
3  
-body { font-size: 62.5%; }
4  
-iframe { border: 0; width: 200px; height: 150px; }
5  
-td { border: 1px solid silver; padding: 10px; }
6  
-td textarea { font-size: 10px; }
7  
-del { background: #FFE6E6; }
8  
-ins { background: #E6FFE6; }
Txt tests/tests.js
  • View file @ 9483dcd
... ...
@@ -1,56 +0,0 @@
1  
-/* tests.js */
2  
-
3  
-$(function() {
4  
-
5  
-var matrix = $("#matrix");
6  
-
7  
-matrix.children("tbody").children("tr").each(function() {
8  
-
9  
-  var tr = $(this), th = tr.find("th"), pluginName = th.text().toLowerCase(),
10  
-    staticTd = th.next(), visualTd = staticTd.next(),
11  
-    staticHtmlTd = visualTd.next(), visualHtmlTd = staticHtmlTd.next(),
12  
-    diffTd = visualHtmlTd.next();
13  
-
14  
-  var className = tr.attr("className");
15  
-  var classNames = className.split('-');
16  
-
17  
-  classNames.shift(); // remove 'test'
18  
-  var folder = classNames.shift();
19  
-  var filename = classNames.join('_') + '.html';
20  
-
21  
-  var staticUrl = 'static/' + folder + '/' + filename;
22  
-  var visualUrl = 'visual/' + folder + '/' + filename;
23  
-
24  
-  $.get(staticUrl, function(data) {
25  
-    data = data.replace(/<script.*>.*<\/script>/ig,""); // Remove script tags
26  
-    data = data.replace(/<\/?link.*>/ig,""); //Remove link tags
27  
-    data = data.replace(/<\/?html.*>/ig,""); //Remove html tag
28  
-    data = data.replace(/<\/?body.*>/ig,""); //Remove body tag
29  
-    data = data.replace(/<\/?head.*>/ig,""); //Remove head tag
30  
-    data = data.replace(/<title.*>.*<\/title>/ig,""); // Remove title tags
31  
-    data = data.replace(/\s*<\/?!doctype.*>\s*/ig,""); //Remove doctype
32  
-    var staticHtml = $("<div></div>").html(data).html();
33  
-    staticTd.html(staticHtml);
34  
-    staticHtmlTd.append("<textarea>" + staticHtml + "</textarea>");
35  
-  });
36  
-
37  
-  visualTd.append('<iframe src="' + visualUrl + '"></iframe>');
38  
-
39  
-  var iframe = visualTd.find("iframe");
40  
-
41  
-  iframe.load(function() {
42  
-    var visualHtml = $("body", this.contentDocument).html()
43  
-    $(this).after(visualHtml).remove();
44  
-    (pluginName == 'dialog') && $("#dialog").parents(".ui-dialog").css({
45  
-      position: "relative",
46  
-      top: null, left: null
47  
-    });
48  
-    visualHtmlTd.append("<textarea>" + $.trim(visualHtml) + "</textarea>");
49  
-    var diffHtml = diffString(escape(staticHtmlTd.find("textarea").val()), escape(visualHtmlTd.find("textarea").val()));
50  
-    console.log(diffHtml);
51  
-    diffTd.html(diffHtml);
52  
-  });
53  
-
54  
-});
55  
-
56  
-});
Txt tests/unit/accordion/accordion.html
  • View file @ 9483dcd
... ...
@@ -3,13 +3,15 @@
3 3
 <head>
4 4
   <title>jQuery UI Accordion Test Suite</title>
5 5
 
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.accordion.css" rel="stylesheet" />
  7
+
6 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
7 9
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 10
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
9 11
   <script type="text/javascript" src="../../../ui/jquery.ui.accordion.js"></script>
10 12
 
11  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
12  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  13
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  14
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
13 15
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
14 16
   <script type="text/javascript" src="../testsuite.js"></script>
15 17
 
... ...
@@ -21,12 +23,18 @@
21 23
   <script type="text/javascript" src="accordion_tickets.js"></script>
22 24
   
23 25
   <style>
24  
-    .ui-accordion-li-fix { margin: 0em; padding: 0 }
  26
+    #main { font-size: 10pt; font-family: 'trebuchet ms', verdana, arial; }
25 27
   </style>
26 28
 </head>
27 29
 <body>
28 30
 
29  
-<div id="main">
  31
+<h1 id="qunit-header">jQuery UI Accordion Test Suite</h1>
  32
+<h2 id="qunit-banner"></h2>
  33
+<h2 id="qunit-userAgent"></h2>
  34
+<ol id="qunit-tests">
  35
+</ol>
  36
+
  37
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
30 38
 
31 39
   <div id="list1">
32 40
         <a>There is one obvious advantage:</a>
Txt tests/unit/accordion/accordion_options.js
  • View file @ 9483dcd
... ...
@@ -116,9 +116,9 @@ test("{ fillSpace: false }, default", function() {
116 116
 test("{ fillSpace: true }", function() {
117 117
   $("#navigationWrapper").height(500);
118 118
   $('#navigation').accordion({ fillSpace: true });
119  
-  equals( $('#navigation > li:eq(0) > ul').height(), 386 );
120  
-  equals( $('#navigation > li:eq(1) > ul').height(), 386 );
121  
-  equals( $('#navigation > li:eq(2) > ul').height(), 386 );
  119
+  equals( $('#navigation > li:eq(0) > ul').height(), 281 );
  120
+  equals( $('#navigation > li:eq(1) > ul').height(), 281 );
  121
+  equals( $('#navigation > li:eq(2) > ul').height(), 281 );
122 122
 });
123 123
 
124 124
 test("{ header: '> li > :first-child,> :not(li):even' }, default", function() {
Txt tests/unit/all.html
  • View file @ 9483dcd
0 additions, 301 deletions not shown
Txt tests/unit/all_2.html
  • View file @ 9483dcd
... ...
@@ -1,84 +0,0 @@
1  
-<!doctype html>
2  
-<html lang="en">
3  
-<head>
4  
-  <title>jQuery UI All Tests</title>
5  
-  <link rel="stylesheet" href="testsuite.css" type="text/css">
6  
-
7  
-  <script type="text/javascript" src="../../jquery-1.4.2.js"></script>
8  
-  <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
9  
-  <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
10  
-  <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
11  
-
12  
-  <script type="text/javascript">
13  
-  var components = ["accordion","datepicker","dialog","draggable","progressbar","resizable","selectable","slider","sortable","tabs"];
14  
-
15  
-  $(function() {
16  
-
17  
-    var $list = $("#individual_list"),
18  
-      $main = $("#main");
19  
-
20  
-    $.each(components, function(i, val){
21  
-      $list.append('<li><a href="' + val + '/' + val + '.html">' + val + '</a></li>');
22  
-      $('<div class="component_panel" id="' + val + '">').appendTo($main);
23  
-      $('#' + val).load(val + '.html #main *');
24  
-    });
25  
-
26  
-    loadScripts();
27  
-
28  
-    function loadScripts() {
29  
-      if ( $("div.component_panel").length == components.length ) {
30  
-        $.each(components, function(i, val){
31  
-          $('head').append('<script type="text/javascript" src="' + val + '.js"></scr'+'ipt>');
32  
-        });
33  
-      } else {
34  
-        setTimeout(loadScripts, 10);
35  
-      }
36  
-    }
37  
-
38  
-
39  
-  });
40  
-
41  
-
42  
-  </script>
43  
-
44  
-  <script type="text/javascript" src="../../ui/jquery.ui.accordion.js"></script>
45  
-  <script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
46  
-  <script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script>
47  
-  <script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script>
48  
-  <script type="text/javascript" src="../../ui/jquery.ui.droppable.js"></script>
49  
-  <script type="text/javascript" src="../../ui/jquery.ui.progressbar.js"></script>
50  
-  <script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
51  
-  <script type="text/javascript" src="../../ui/jquery.ui.selectable.js"></script>
52  
-  <script type="text/javascript" src="../../ui/jquery.ui.slider.js"></script>
53  
-  <script type="text/javascript" src="../../ui/jquery.ui.sortable.js"></script>
54  
-  <script type="text/javascript" src="../../ui/jquery.ui.tabs.js"></script>
55  
-
56  
-  <script type="text/javascript" src="../../external/testrunner-r6588.js"></script>
57  
-  <script type="text/javascript" src="../../external/jquery.cookie.js"></script>
58  
-  <script type="text/javascript" src="../jquery.simulate.js"></script>
59  
-
60  
-  <style type="text/css">
61  
-    @import "../../../themes/base/jquery.ui.datepicker.css";
62  
-    .xerror, .error, .ui-tabs-hide {
63  
-        display: none;
64  
-    }
65  
-  </style>
66  
-
67  
-</head>
68  
-<body>
69  
-  <h1>jQuery UI All Tests</h1>
70  
-  <h2 id="banner"></h2>
71  
-  <h2 id="userAgent"></h2>
72  
-
73  
-  <h4>Run individual testsuites or doubleclick a test below</h4>
74  
-  <ul id="individual_list">
75  
-  </ul>
76  
-
77  
-  <ol id="tests"></ol>
78  
-
79  
-  <div id="main" style="position:absolute; top:-2000000px;">
80  
-
81  
-  </div>
82  
-
83  
-  </body>
84  
-</html>
85 0
\ No newline at end of file
Txt tests/unit/autocomplete/autocomplete.html
  • View file @ 9483dcd
... ...
@@ -3,6 +3,8 @@
3 3
 <head>
4 4
   <title>jQuery UI Autocomplete Test Suite</title>
5 5
 
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.autocomplete.css" rel="stylesheet" />
  7
+
6 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
7 9
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 10
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
... ...
@@ -10,8 +12,8 @@
10 12
   <script type="text/javascript" src="../../../ui/jquery.ui.menu.js"></script>
11 13
   <script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
12 14
 
13  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
14  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  15
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  16
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
15 17
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
16 18
   <script type="text/javascript" src="../testsuite.js"></script>
17 19
 
... ...
@@ -23,9 +25,15 @@
23 25
   <script type="text/javascript" src="autocomplete_tickets.js"></script>
24 26
   
25 27
 </head>
26  
-<body>
  28
+<body id="body">
  29
+
  30
+<h1 id="qunit-header">jQuery UI Autocomplete Test Suite</h1>
  31
+<h2 id="qunit-banner"></h2>
  32
+<h2 id="qunit-userAgent"></h2>
  33
+<ol id="qunit-tests">
  34
+</ol>
27 35
 
28  
-<div id="main">
  36
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
29 37
 
30 38
   <div><input id="autocomplete" class="foo" /></div>
31 39
 
Txt tests/unit/button/button.html
  • View file @ 9483dcd
... ...
@@ -3,16 +3,18 @@
3 3
 <head>
4 4
   <title>jQuery UI Button Test Suite</title>
5 5
 
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.button.css" rel="stylesheet" />
  7
+
6 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
7 9
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 10
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
9 11
   <script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
10 12
 
11  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
12  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  13
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  14
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
13 15
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
14 16
   <script type="text/javascript" src="../testsuite.js"></script>
15  
-
  17
+  
16 18
   <script type="text/javascript" src="button_core.js"></script>
17 19
   <script type="text/javascript" src="button_defaults.js"></script>
18 20
   <script type="text/javascript" src="button_events.js"></script>
... ...
@@ -23,7 +25,14 @@
23 25
 </head>
24 26
 <body>
25 27
 
26  
-<div id="main">
  28
+<h1 id="qunit-header">jQuery UI Button Test Suite</h1>
  29
+<h2 id="qunit-banner"></h2>
  30
+<h2 id="qunit-userAgent"></h2>
  31
+<ol id="qunit-tests">
  32
+</ol>
  33
+
  34
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
  35
+
27 36
 
28 37
   <div><button id="button" class="foo">Label</button></div>
29 38
   
Txt tests/unit/core/core.html
  • View file @ 9483dcd
... ...
@@ -7,11 +7,10 @@
7 7
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 8
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
9 9
 
10  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
11  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  10
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  11
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
12 12
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
13  
-  <script type="text/javascript" src="../testsuite.js"></script>
14  
-
  13
+  
15 14
   <script type="text/javascript" src="core.js"></script>
16 15
   <script type="text/javascript" src="selector.js"></script>
17 16
   
... ...
@@ -22,7 +21,14 @@
22 21
 </head>
23 22
 <body>
24 23
 
25  
-<div id="main">
  24
+<h1 id="qunit-header">jQuery UI Core Test Suite</h1>
  25
+<h2 id="qunit-banner"></h2>
  26
+<h2 id="qunit-userAgent"></h2>
  27
+<ol id="qunit-tests">
  28
+</ol>
  29
+
  30
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
  31
+
26 32
   <div>
27 33
     <input id="visibleAncestor-inputTypeNone" />
28 34
     <input type="text" id="visibleAncestor-inputTypeText" />
Txt tests/unit/datepicker/datepicker.html
  • View file @ 9483dcd
... ...
@@ -3,7 +3,7 @@
3 3
 <head>
4 4
   <title>jQuery UI Datepicker Test Suite</title>
5 5
 
6  
-  <link   type="text/css"       href="../../../themes/base/jquery.ui.base.css" rel="stylesheet" />
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.datepicker.css" rel="stylesheet" />
7 7
 
8 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
9 9
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
... ...
@@ -12,11 +12,11 @@
12 12
   <script type="text/javascript" src="../../../ui/i18n/jquery.ui.datepicker-fr.js"></script>
13 13
   <script type="text/javascript" src="../../../ui/i18n/jquery.ui.datepicker-he.js"></script>
14 14
 
15  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
16  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  15
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  16
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
17 17
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
18 18
   <script type="text/javascript" src="../testsuite.js"></script>
19  
-
  19
+  
20 20
   <script type="text/javascript" src="datepicker_core.js"></script>
21 21
   <script type="text/javascript" src="datepicker_defaults.js"></script>
22 22
   <script type="text/javascript" src="datepicker_events.js"></script>
... ...
@@ -26,7 +26,13 @@
26 26
 </head>
27 27
 <body>
28 28
 
29  
-<div id="main">
  29
+<h1 id="qunit-header">jQuery UI Datepicker Test Suite</h1>
  30
+<h2 id="qunit-banner"></h2>
  31
+<h2 id="qunit-userAgent"></h2>
  32
+<ol id="qunit-tests">
  33
+</ol>
  34
+
  35
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
30 36
   <p><input type="text" id="inp"/><input type="text" id="alt"/><div id="inl"></div></p>
31 37
 </div>
32 38
 
Txt tests/unit/datepicker/datepicker_options.js
  • View file @ 9483dcd
... ...
@@ -684,7 +684,7 @@ test('callbacks', function() {
684 684
   equals($.datepicker._get(inst, 'currentText'), 'Current', 'Before show - changed');
685 685
   ok(beforeShowThis.id == inp[0].id, 'Before show - this OK');
686 686
   ok(beforeShowInput.id == inp[0].id, 'Before show - input OK');
687  
-  isObj(beforeShowInst, inst, 'Before show - inst OK');
  687
+  deepEqual(beforeShowInst, inst, 'Before show - inst OK');
688 688
   inp.datepicker('hide').datepicker('destroy');
689 689
   // Before show day
690 690
   inp = init('#inp', {beforeShowDay: beforeDay});
... ...
@@ -734,7 +734,7 @@ test('localisation', function() {
734 734
 test('noWeekends', function() {
735 735
   for (var i = 1; i <= 31; i++) {
736 736
     var date = new Date(2001, 1 - 1, i);
737  
-    isSet($.datepicker.noWeekends(date), [(i + 1) % 7 >= 2, ''],
  737
+    deepEqual($.datepicker.noWeekends(date), [(i + 1) % 7 >= 2, ''],
738 738
       'No weekends ' + date);
739 739
   }
740 740
 });
Txt tests/unit/defaults.html
  • View file @ 9483dcd
... ...
@@ -4,8 +4,10 @@
4 4
   <title>jQuery UI Defaults</title>
5 5
 
6 6
   <script type="text/javascript" src="../../jquery-1.4.2.js"></script>
  7
+  <script type="text/javascript" src="../../external/jquery.cookie.js"></script>
7 8
   <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
8 9
   <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
  10
+  <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
9 11
   <script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script>
10 12
   <script type="text/javascript" src="../../ui/jquery.ui.droppable.js"></script>
11 13
   <script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
... ...
@@ -18,18 +20,19 @@
18 20
   <script type="text/javascript" src="../../ui/jquery.ui.slider.js"></script>
19 21
   <script type="text/javascript" src="../../ui/jquery.ui.tabs.js"></script>
20 22
 
21  
-  <link   type="text/css"       href="testsuite.css" rel="stylesheet" />
22  
-  <script type="text/javascript" src="testsuite.js"></script>
23  
-  <script type="text/javascript" src="../../external/testrunner-r6588.js"></script>
24  
-  <script type="text/javascript" src="../../external/jquery.cookie.js"></script>
  23
+  <link rel="stylesheet" href="../../external/qunit.css" type="text/css"/>
  24
+  <script type="text/javascript" src="../../external/qunit.js"></script>
25 25
   <script type="text/javascript" src="../jquery.simulate.js"></script>
  26
+  <script type="text/javascript" src="testsuite.js"></script>
26 27
 
27 28
   <script type="text/javascript" src="draggable/draggable_defaults.js"></script>
28 29
   <script type="text/javascript" src="droppable/droppable_defaults.js"></script>
29 30
   <script type="text/javascript" src="resizable/resizable_defaults.js"></script>
30 31
   <script type="text/javascript" src="selectable/selectable_defaults.js"></script>
31 32
   <script type="text/javascript" src="sortable/sortable_defaults.js"></script>
  33
+  <script type="text/javascript" src="autocomplete/autocomplete_defaults.js"></script>
32 34
   <script type="text/javascript" src="accordion/accordion_defaults.js"></script>
  35
+  <script type="text/javascript" src="button/button_defaults.js"></script>
33 36
   <script type="text/javascript" src="datepicker/datepicker_defaults.js"></script>
34 37
   <script type="text/javascript" src="dialog/dialog_defaults.js"></script>
35 38
   <script type="text/javascript" src="progressbar/progressbar_defaults.js"></script>
... ...
@@ -37,7 +40,16 @@
37 40
   <script type="text/javascript" src="tabs/tabs_defaults.js"></script>
38 41
 </head>
39 42
 <body>
40  
-  <div id="main">
41  
-  </div>
  43
+
  44
+<h1 id="qunit-header"></h1>
  45
+<h2 id="qunit-banner"></h2>
  46
+<h2 id="qunit-userAgent"></h2>
  47
+<ol id="qunit-tests">
  48
+</ol>
  49
+
  50
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
  51
+
  52
+</div>
  53
+
42 54
 </body>
43 55
 </html>
Txt tests/unit/dialog/dialog.html
  • View file @ 9483dcd
... ...
@@ -3,6 +3,8 @@
3 3
 <head>
4 4
   <title>jQuery UI Dialog Test Suite</title>
5 5
 
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.dialog.css" rel="stylesheet" />
  7
+
6 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
7 9
   <script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.1.js"></script>
8 10
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
... ...
@@ -13,11 +15,11 @@
13 15
   <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
14 16
   <script type="text/javascript" src="../../../ui/jquery.ui.dialog.js"></script>
15 17
 
16  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
17  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  18
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  19
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
18 20
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
19 21
   <script type="text/javascript" src="../testsuite.js"></script>
20  
-
  22
+  
21 23
   <script type="text/javascript" src="dialog_core.js"></script>
22 24
   <script type="text/javascript" src="dialog_defaults.js"></script>
23 25
   <script type="text/javascript" src="dialog_events.js"></script>
... ...
@@ -27,8 +29,13 @@
27 29
 </head>
28 30
 <body>
29 31
 
30  
-<div id="main">
31  
-  <div id="dialog1">Dialog Content</div>
  32
+<h1 id="qunit-header">jQuery UI Dialog Test Suite</h1>
  33
+<h2 id="qunit-banner"></h2>
  34
+<h2 id="qunit-userAgent"></h2>
  35
+<ol id="qunit-tests">
  36
+</ol>
  37
+
  38
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
32 39
 </div>
33 40
 
34 41
 </body>
Txt tests/unit/dialog/dialog_core.js
  • View file @ 9483dcd
... ...
@@ -9,7 +9,7 @@ var el,
9 9
   dragged;
10 10
 
11 11
 function dlg() {
12  
-  return el.data("dialog").element.parents(".ui-dialog:first");
  12
+  return el.dialog('widget');
13 13
 }
14 14
 
15 15
 function isOpen(why) {
Txt tests/unit/draggable/draggable.html
  • View file @ 9483dcd
... ...
@@ -9,8 +9,8 @@
9 9
   <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
10 10
   <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
11 11
 
12  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
13  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  12
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  13
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
14 14
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
15 15
   <script type="text/javascript" src="../testsuite.js"></script>
16 16
 
... ...
@@ -23,7 +23,13 @@
23 23
 </head>
24 24
 <body>
25 25
 
26  
-<div id="main">
  26
+<h1 id="qunit-header">jQuery UI Draggable Test Suite</h1>
  27
+<h2 id="qunit-banner"></h2>
  28
+<h2 id="qunit-userAgent"></h2>
  29
+<ol id="qunit-tests">
  30
+</ol>
  31
+
  32
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
27 33
   <div id="draggable1" style="background: green; width: 200px; height: 100px;">Relative</div>
28 34
   <div id="draggable2" style="background: green; width: 200px; height: 100px; position: absolute; top: 10px; left: 10px;"><span>Absolute</span></div>
29 35
   <div style='width: 1px; height: 1000px;'></div>
Txt tests/unit/droppable/droppable.html
  • View file @ 9483dcd
... ...
@@ -10,11 +10,11 @@
10 10
   <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
11 11
   <script type="text/javascript" src="../../../ui/jquery.ui.droppable.js"></script>
12 12
 
13  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
14  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  13
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  14
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
15 15
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
16 16
   <script type="text/javascript" src="../testsuite.js"></script>
17  
-
  17
+  
18 18
   <script type="text/javascript" src="droppable_core.js"></script>
19 19
   <script type="text/javascript" src="droppable_defaults.js"></script>
20 20
   <script type="text/javascript" src="droppable_events.js"></script>
... ...
@@ -24,7 +24,13 @@
24 24
 </head>
25 25
 <body>
26 26
 
27  
-<div id="main">
  27
+<h1 id="qunit-header">jQuery UI Droppable Test Suite</h1>
  28
+<h2 id="qunit-banner"></h2>
  29
+<h2 id="qunit-userAgent"></h2>
  30
+<ol id="qunit-tests">
  31
+</ol>
  32
+
  33
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
28 34
   <div id="draggable1" style="width: 25px; height: 25px;">Draggable</div>
29 35
   <div id="droppable1" style="width: 100px; height: 100px;">Droppable</div>
30 36
   <div style='width:1000px;height:1000px;'>&nbsp;</div>
Txt tests/unit/index.html
  • View file @ 9483dcd
... ...
@@ -1,10 +1,22 @@
1 1
 <!doctype html>
2 2
 <html lang="en">
3 3
 <head>
4  
-  <title>jQuery UI Unit Test Suite</title>
  4
+  <title>jQuery UI Unit Tests</title>
5 5
 
6 6
   <link   type="text/css"       href="../../themes/base/jquery.ui.base.css" rel="stylesheet" />
7  
-  <link   type="text/css"       href="testsuite.css" rel="stylesheet" />
  7
+  <link rel="stylesheet" href="../../external/qunit.css" type="text/css"/>
  8
+  <style type="text/css">
  9
+  ul { font-family: 'trebuchet ms', verdana, arial; }
  10
+  h2, ul {font-size: 10pt; }
  11
+  h2 {
  12
+    background-color:#EEEEEE;
  13
+    color:black;
  14
+    font-size:small;
  15
+    font-weight:normal;
  16
+    margin:0;
  17
+    padding:10px;
  18
+  }
  19
+  </style>
8 20
 
9 21
   <script type="text/javascript" src="../../jquery-1.4.2.js"></script>
10 22
   <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
... ...
@@ -30,7 +42,7 @@
30 42
 </head>
31 43
 <body>
32 44
 
33  
-<h1>jQuery UI Unit Tests</h1>
  45
+<h1 id="qunit-header">jQuery UI Unit Tests</h1>
34 46
 
35 47
 <h2>Core</h2>
36 48
 <ul>
Txt tests/unit/position/position.html
  • View file @ 9483dcd
... ...
@@ -6,15 +6,22 @@
6 6
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
7 7
   <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
8 8
 
9  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
10  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  9
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  10
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
  11
+  <script type="text/javascript" src="../../jquery.simulate.js"></script>
11 12
   <script type="text/javascript" src="../testsuite.js"></script>
12 13
 
13 14
   <script type="text/javascript" src="position_core.js"></script>
14 15
 </head>
15 16
 <body>
16 17
 
17  
-<div id="main" style="top: 0; left: 0;">
  18
+<h1 id="qunit-header">jQuery UI Position Test Suite</h1>
  19
+<h2 id="qunit-banner"></h2>
  20
+<h2 id="qunit-userAgent"></h2>
  21
+<ol id="qunit-tests">
  22
+</ol>
  23
+
  24
+<div id="main" style="position: absolute; top: 0; left: 0;">
18 25
   <div id="el1" style="position: absolute; width: 6px; height: 6px;"></div>
19 26
   <div id="el2" style="position: absolute; width: 6px; height: 6px;"></div>
20 27
   <div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px;"></div>
Txt tests/unit/position/position_core.js
  • View file @ 9483dcd
... ...
@@ -86,7 +86,7 @@ test('positions', function() {
86 86
       of: '#parent',
87 87
       collision: 'none'
88 88
     });
89  
-    same(el.offset(), definition.result, "Position via " + jsDump.parse({my:definition.my, at:definition.at}));
  89
+    same(el.offset(), definition.result, "Position via " + QUnit.jsDump.parse({my:definition.my, at:definition.at}));
90 90
   });
91 91
 });
92 92
 
Txt tests/unit/progressbar/progressbar.html
  • View file @ 9483dcd
... ...
@@ -3,13 +3,15 @@
3 3
 <head>
4 4
   <title>jQuery UI Progressbar Test Suite</title>
5 5
 
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.progressbar.css" rel="stylesheet" />
  7
+
6 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
7 9
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 10
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
9 11
   <script type="text/javascript" src="../../../ui/jquery.ui.progressbar.js"></script>
10 12
 
11  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
12  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  13
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  14
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
13 15
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
14 16
   <script type="text/javascript" src="../testsuite.js"></script>
15 17
 
... ...
@@ -22,7 +24,13 @@
22 24
 </head>
23 25
 <body>
24 26
 
25  
-<div id="main">
  27
+<h1 id="qunit-header">jQuery UI Progressbar Test Suite</h1>
  28
+<h2 id="qunit-banner"></h2>
  29
+<h2 id="qunit-userAgent"></h2>
  30
+<ol id="qunit-tests">
  31
+</ol>
  32
+
  33
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
26 34
   <div id="progressbar"></div>
27 35
 </div>
28 36
 
Txt tests/unit/resizable/resizable.html
  • View file @ 9483dcd
... ...
@@ -3,14 +3,16 @@
3 3
 <head>
4 4
   <title>jQuery UI Resizable Test Suite</title>
5 5
 
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.resizable.css" rel="stylesheet" />
  7
+
6 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
7 9
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 10
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
9 11
   <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
10 12
   <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
11 13
 
12  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
13  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  14
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  15
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
14 16
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
15 17
   <script type="text/javascript" src="../testsuite.js"></script>
16 18
 
... ...
@@ -23,7 +25,13 @@
23 25
 </head>
24 26
 <body>
25 27
 
26  
-<div id="main">
  28
+<h1 id="qunit-header">jQuery UI Resizable Test Suite</h1>
  29
+<h2 id="qunit-banner"></h2>
  30
+<h2 id="qunit-userAgent"></h2>
  31
+<ol id="qunit-tests">
  32
+</ol>
  33
+
  34
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
27 35
   <div id="resizable1" style="background: green; width: 100px; height: 100px;">I'm a resizable.</div>
28 36
   <img src="images/test.jpg" id="resizable2" style="width: 100px; height: 100px;"/>
29 37
 </div>
Txt tests/unit/selectable/selectable.html
  • View file @ 9483dcd
... ...
@@ -9,8 +9,8 @@
9 9
   <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
10 10
   <script type="text/javascript" src="../../../ui/jquery.ui.selectable.js"></script>
11 11
 
12  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
13  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  12
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  13
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
14 14
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
15 15
   <script type="text/javascript" src="../testsuite.js"></script>
16 16
 
... ...
@@ -23,7 +23,13 @@
23 23
 </head>
24 24
 <body>
25 25
 
26  
-<div id="main">
  26
+<h1 id="qunit-header">jQuery UI Selectable Test Suite</h1>
  27
+<h2 id="qunit-banner"></h2>
  28
+<h2 id="qunit-userAgent"></h2>
  29
+<ol id="qunit-tests">
  30
+</ol>
  31
+
  32
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
27 33
   <ul id="selectable1">
28 34
     <li>Item 1</li>
29 35
     <li>Item 2</li>
Txt tests/unit/slider/slider.html
  • View file @ 9483dcd
... ...
@@ -3,14 +3,16 @@
3 3
 <head>
4 4
   <title>jQuery UI Slider Test Suite</title>
5 5
 
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.slider.css" rel="stylesheet" />
  7
+
6 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
7 9
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 10
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
9 11
   <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
10 12
   <script type="text/javascript" src="../../../ui/jquery.ui.slider.js"></script>
11 13
 
12  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
13  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  14
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  15
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
14 16
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
15 17
   <script type="text/javascript" src="../testsuite.js"></script>
16 18
 
... ...
@@ -23,7 +25,13 @@
23 25
 </head>
24 26
 <body>
25 27
 
26  
-<div id="main">
  28
+<h1 id="qunit-header">jQuery UI Slider Test Suite</h1>
  29
+<h2 id="qunit-banner"></h2>
  30
+<h2 id="qunit-userAgent"></h2>
  31
+<ol id="qunit-tests">
  32
+</ol>
  33
+
  34
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
27 35
   <div id="slider1"></div>
28 36
   <div id="slider3" style="position: relative; margin: 40px; width: 217px; height: 28px;">
29 37
     <div class="ui-slider-handle" style="position: absolute; height: 21px; left: 0px; bottom: 0px; width: 17px;"></div>
Txt tests/unit/sortable/sortable.html
  • View file @ 9483dcd
... ...
@@ -9,8 +9,8 @@
9 9
   <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
10 10
   <script type="text/javascript" src="../../../ui/jquery.ui.sortable.js"></script>
11 11
 
12  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
13  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  12
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  13
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
14 14
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
15 15
   <script type="text/javascript" src="../testsuite.js"></script>
16 16
 
... ...
@@ -23,7 +23,13 @@
23 23
 </head>
24 24
 <body>
25 25
 
26  
-<div id="main">
  26
+<h1 id="qunit-header">jQuery UI Sortable Test Suite</h1>
  27
+<h2 id="qunit-banner"></h2>
  28
+<h2 id="qunit-userAgent"></h2>
  29
+<ol id="qunit-tests">
  30
+</ol>
  31
+
  32
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
27 33
   <ul id="sortable">
28 34
     <li>Item 1</li>
29 35
     <li>Item 2</li>
Txt tests/unit/tabs/tabs.html
  • View file @ 9483dcd
... ...
@@ -3,14 +3,16 @@
3 3
 <head>
4 4
   <title>jQuery UI Tabs Test Suite</title>
5 5
 
  6
+  <link type="text/css" href="../../../themes/base/jquery.ui.tabs.css" rel="stylesheet" />
  7
+
6 8
   <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
  9
+  <script type="text/javascript" src="../../../external/jquery.cookie.js"></script>
7 10
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 11
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
9 12
   <script type="text/javascript" src="../../../ui/jquery.ui.tabs.js"></script>
10 13
 
11  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
12  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
13  
-  <script type="text/javascript" src="../../../external/jquery.cookie.js"></script>
  14
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  15
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
14 16
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
15 17
   <script type="text/javascript" src="../testsuite.js"></script>
16 18
 
... ...
@@ -22,7 +24,15 @@
22 24
   <script type="text/javascript" src="tabs_tickets.js"></script>
23 25
 </head>
24 26
 <body>
25  
-  <div id="main">
  27
+
  28
+<h1 id="qunit-header">jQuery UI Tabs Test Suite</h1>
  29
+<h2 id="qunit-banner"></h2>
  30
+<h2 id="qunit-userAgent"></h2>
  31
+<ol id="qunit-tests">
  32
+</ol>
  33
+
  34
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
  35
+
26 36
     <div id="tabs1">
27 37
       <ul>
28 38
         <li><a href="#fragment-1"><span>1</span></a></li>
Txt tests/unit/testsuite.css
  • View file @ 9483dcd
... ...
@@ -1,4 +0,0 @@
1  
-@import "../../external/testsuite-r6565.css";
2  
-html { border: 0; }
3  
-.xerror, .error, .ui-tabs-hide { display: none }
4  
-#main { position: absolute; top: -10000px; left: -10000px; }
Txt tests/unit/widget/widget.html
  • View file @ 9483dcd
... ...
@@ -7,8 +7,8 @@
7 7
   <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
8 8
   <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
9 9
 
10  
-  <link   type="text/css"       href="../testsuite.css" rel="stylesheet" />
11  
-  <script type="text/javascript" src="../../../external/testrunner-r6588.js"></script>
  10
+  <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
  11
+  <script type="text/javascript" src="../../../external/qunit.js"></script>
12 12
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
13 13
   <script type="text/javascript" src="../testsuite.js"></script>
14 14
 
... ...
@@ -16,7 +16,13 @@
16 16
 </head>
17 17
 <body>
18 18
 
19  
-<div id="main">
  19
+<h1 id="qunit-header">jQuery UI Widget Test Suite</h1>
  20
+<h2 id="qunit-banner"></h2>
  21
+<h2 id="qunit-userAgent"></h2>
  22
+<ol id="qunit-tests">
  23
+</ol>
  24
+
  25
+<div id="main" style="position: absolute; top: -10000px; left: -10000px;">
20 26
 
21 27
 </div>
22 28
 
Txt tests/visual/index.html
  • View file @ 9483dcd
... ...
@@ -1,7 +1,7 @@
1 1
 <!doctype html>
2 2
 <html lang="en">
3 3
 <head>
4  
-  <title>Visual Tests</title>
  4
+  <title>jQuery UI Visual Tests</title>
5 5
   <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css" type="text/css" />
6 6
   <script type="text/javascript" src="../../jquery-1.4.2.js"></script>
7 7
   <script type="text/javascript">
... ...
@@ -12,6 +12,8 @@
12 12
 </head>
13 13
 
14 14
 <body>
  15
+  
  16
+<h1>jQuery UI Visual Tests</h1>
15 17
 
16 18
 <h2>Interactions</h2>
17 19
 <ul>
... ...
@@ -25,6 +27,7 @@
25 27
 <h2>Widgets</h2>
26 28
 <ul>
27 29
   <li><a href="accordion/default.html">Accordion</a></li>
  30
+  <li><a href="autocomplete/default.html">Autocomplete</a></li>
28 31
   <li><a href="button/default.html">Button</a></li>
29 32
   <li><a href="datepicker/default.html">Datepicker</a></li>
30 33
   <li><a href="dialog/default.html">Dialog</a></li>

0 notes on commit 9483dcd

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server