]> source.dussan.org Git - jquery-ui.git/commitdiff
Added composite test suite for all 'active' tests.
authorScott González <scott.gonzalez@gmail.com>
Thu, 8 Mar 2012 16:11:30 +0000 (11:11 -0500)
committerScott González <scott.gonzalez@gmail.com>
Thu, 8 Mar 2012 16:11:30 +0000 (11:11 -0500)
tests/unit/all-active.html [new file with mode: 0644]

diff --git a/tests/unit/all-active.html b/tests/unit/all-active.html
new file mode 100644 (file)
index 0000000..f014078
--- /dev/null
@@ -0,0 +1,72 @@
+<!doctype html>
+<html lang="en">
+<head>
+       <meta charset="utf-8">
+       <title>jQuery UI Test Suite</title>
+
+       <script src="../../jquery-1.7.1.js"></script>
+
+       <link rel="stylesheet" href="../../external/qunit.css">
+       <link rel="stylesheet" href="subsuiteRunner.css">
+       <script src="../../external/qunit.js"></script>
+       <script src="subsuiteRunner.js"></script>
+
+       <script>
+       (function() {
+
+       var params = [],
+               suites = [
+                       "accordion/accordion.html",
+                       "accordion/accordion_deprecated.html",
+                       "autocomplete/autocomplete.html",
+                       "button/button.html",
+                       "core/core.html",
+                       //"datepicker/datepicker.html",
+                       //"dialog/dialog.html",
+                       //"draggable/draggable.html",
+                       //"droppable/droppable.html",
+                       "effects/effects.html",
+                       "menu/menu.html",
+                       "position/position.html",
+                       "position/position_deprecated.html",
+                       "progressbar/progressbar.html",
+                       //"resizable/resizable.html",
+                       //"selectable/selectable.html",
+                       //"slider/slider.html",
+                       //"sortable/sortable.html",
+                       "spinner/spinner.html",
+                       "tabs/tabs.html",
+                       "tabs/tabs_deprecated.html",
+                       "tooltip/tooltip.html",
+                       "widget/widget.html"
+               ];
+
+       $.each( QUnit.urlParams, function( key, value ) {
+               if ( key === "filter" ) {
+                       return;
+               }
+               params.push( encodeURIComponent( key ) + "=" + encodeURIComponent( value ) );
+       });
+       if ( params.length ) {
+               params = "?" + params.join( "&" );
+               suites = $.map( suites, function( suite ) {
+                       return suite + params;
+               });
+       }
+       QUnit.testSuites( suites );
+
+       }());
+       </script>
+</head>
+<body>
+
+<h1 id="qunit-header">jQuery UI Test Suite</h1>
+<h2 id="qunit-banner"></h2>
+<div id="qunit-testrunner-toolbar"></div>
+<h2 id="qunit-userAgent"></h2>
+<ol id="qunit-tests"></ol>
+<div id="qunit-fixture">
+
+</div>
+</body>
+</html>