mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Added composite test suite for all 'active' tests.
This commit is contained in:
parent
932fe888c0
commit
edec16acbb
72
tests/unit/all-active.html
Normal file
72
tests/unit/all-active.html
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user