Skip to content

Commit edec16a

Browse files
committed
Added composite test suite for all 'active' tests.
1 parent 932fe88 commit edec16a

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

tests/unit/all-active.html

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>jQuery UI Test Suite</title>
6+
7+
<script src="../../jquery-1.7.1.js"></script>
8+
9+
<link rel="stylesheet" href="../../external/qunit.css">
10+
<link rel="stylesheet" href="subsuiteRunner.css">
11+
<script src="../../external/qunit.js"></script>
12+
<script src="subsuiteRunner.js"></script>
13+
14+
<script>
15+
(function() {
16+
17+
var params = [],
18+
suites = [
19+
"accordion/accordion.html",
20+
"accordion/accordion_deprecated.html",
21+
"autocomplete/autocomplete.html",
22+
"button/button.html",
23+
"core/core.html",
24+
//"datepicker/datepicker.html",
25+
//"dialog/dialog.html",
26+
//"draggable/draggable.html",
27+
//"droppable/droppable.html",
28+
"effects/effects.html",
29+
"menu/menu.html",
30+
"position/position.html",
31+
"position/position_deprecated.html",
32+
"progressbar/progressbar.html",
33+
//"resizable/resizable.html",
34+
//"selectable/selectable.html",
35+
//"slider/slider.html",
36+
//"sortable/sortable.html",
37+
"spinner/spinner.html",
38+
"tabs/tabs.html",
39+
"tabs/tabs_deprecated.html",
40+
"tooltip/tooltip.html",
41+
"widget/widget.html"
42+
];
43+
44+
$.each( QUnit.urlParams, function( key, value ) {
45+
if ( key === "filter" ) {
46+
return;
47+
}
48+
params.push( encodeURIComponent( key ) + "=" + encodeURIComponent( value ) );
49+
});
50+
if ( params.length ) {
51+
params = "?" + params.join( "&" );
52+
suites = $.map( suites, function( suite ) {
53+
return suite + params;
54+
});
55+
}
56+
QUnit.testSuites( suites );
57+
58+
}());
59+
</script>
60+
</head>
61+
<body>
62+
63+
<h1 id="qunit-header">jQuery UI Test Suite</h1>
64+
<h2 id="qunit-banner"></h2>
65+
<div id="qunit-testrunner-toolbar"></div>
66+
<h2 id="qunit-userAgent"></h2>
67+
<ol id="qunit-tests"></ol>
68+
<div id="qunit-fixture">
69+
70+
</div>
71+
</body>
72+
</html>

0 commit comments

Comments
 (0)