mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Tests: Added ability to run tests suites against different versions of jQuery core.
This commit is contained in:
parent
0ba493d3b4
commit
d92b61e865
8936
tests/jquery-1.6.1.js
vendored
Normal file
8936
tests/jquery-1.6.1.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
8981
tests/jquery-1.6.2.js
vendored
Normal file
8981
tests/jquery-1.6.2.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
8865
tests/jquery-1.6.js
vendored
Normal file
8865
tests/jquery-1.6.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
26
tests/jquery.js
vendored
Normal file
26
tests/jquery.js
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
(function() {
|
||||||
|
|
||||||
|
var parts = document.location.search.slice( 1 ).split( "&" ),
|
||||||
|
length = parts.length,
|
||||||
|
i = 0,
|
||||||
|
current,
|
||||||
|
version,
|
||||||
|
url;
|
||||||
|
|
||||||
|
for ( ; i < length; i++ ) {
|
||||||
|
current = parts[ i ].split( "=" );
|
||||||
|
if ( current[ 0 ] === "jquery" ) {
|
||||||
|
version = current[ 1 ];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( version === "git" ) {
|
||||||
|
url = "http://code.jquery.com/jquery-git.js";
|
||||||
|
} else {
|
||||||
|
url = "../../jquery-" + ( version || "1.6.2" ) + ".js";
|
||||||
|
}
|
||||||
|
|
||||||
|
document.write( "<script src='" + url + "'></script>" );
|
||||||
|
|
||||||
|
}() );
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.accordion.css">
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.accordion.css">
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$.uiBackCompat = false;
|
$.uiBackCompat = false;
|
||||||
</script>
|
</script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.accordion.css">
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.accordion.css">
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.core.js"></script>
|
<script src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.widget.js"></script>
|
<script src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.accordion.js"></script>
|
<script src="../../../ui/jquery.ui.accordion.js"></script>
|
||||||
|
@ -11,30 +11,46 @@
|
|||||||
<script src="testsuites.js"></script>
|
<script src="testsuites.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
QUnit.testSuites([
|
(function() {
|
||||||
"accordion/accordion.html",
|
|
||||||
"accordion/accordion_deprecated.html",
|
var params = "",
|
||||||
"autocomplete/autocomplete.html",
|
suites = [
|
||||||
"button/button.html",
|
"accordion/accordion.html",
|
||||||
"core/core.html",
|
"accordion/accordion_deprecated.html",
|
||||||
"datepicker/datepicker.html",
|
"autocomplete/autocomplete.html",
|
||||||
"dialog/dialog.html",
|
"button/button.html",
|
||||||
//"draggable/draggable.html",
|
"core/core.html",
|
||||||
//"droppable/droppable.html",
|
"datepicker/datepicker.html",
|
||||||
"effects/effects.html",
|
"dialog/dialog.html",
|
||||||
"menu/menu.html",
|
//"draggable/draggable.html",
|
||||||
"position/position.html",
|
//"droppable/droppable.html",
|
||||||
"progressbar/progressbar.html",
|
"effects/effects.html",
|
||||||
//"resizable/resizable.html",
|
"menu/menu.html",
|
||||||
//"selectable/selectable.html",
|
"position/position.html",
|
||||||
"slider/slider.html",
|
"position/position_deprecated.html",
|
||||||
//"sortable/sortable.html",
|
"progressbar/progressbar.html",
|
||||||
"spinner/spinner.html",
|
//"resizable/resizable.html",
|
||||||
"tabs/tabs.html",
|
//"selectable/selectable.html",
|
||||||
"tabs/tabs_deprecated.html",
|
"slider/slider.html",
|
||||||
"tooltip/tooltip.html",
|
//"sortable/sortable.html",
|
||||||
"widget/widget.html"
|
"spinner/spinner.html",
|
||||||
]);
|
"tabs/tabs.html",
|
||||||
|
"tabs/tabs_deprecated.html",
|
||||||
|
"tooltip/tooltip.html",
|
||||||
|
"widget/widget.html"
|
||||||
|
];
|
||||||
|
|
||||||
|
$.each( QUnit.urlParams, function( key, value ) {
|
||||||
|
params += encodeURIComponent( key ) + "=" + encodeURIComponent( value );
|
||||||
|
});
|
||||||
|
if ( params ) {
|
||||||
|
suites = $.map( suites, function( suite ) {
|
||||||
|
return suite + "?" + params;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
QUnit.testSuites( suites );
|
||||||
|
|
||||||
|
}());
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.autocomplete.css">
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.autocomplete.css">
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.core.js"></script>
|
<script src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.widget.js"></script>
|
<script src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.position.js"></script>
|
<script src="../../../ui/jquery.ui.position.js"></script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link type="text/css" href="../../../themes/base/jquery.ui.button.css" rel="stylesheet" />
|
<link type="text/css" href="../../../themes/base/jquery.ui.button.css" rel="stylesheet" />
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>jQuery UI Core Test Suite</title>
|
<title>jQuery UI Core Test Suite</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link type="text/css" href="../../../themes/base/jquery.ui.datepicker.css" rel="stylesheet" />
|
<link type="text/css" href="../../../themes/base/jquery.ui.datepicker.css" rel="stylesheet" />
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link type="text/css" href="../../../themes/base/jquery.ui.dialog.css" rel="stylesheet" />
|
<link type="text/css" href="../../../themes/base/jquery.ui.dialog.css" rel="stylesheet" />
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.2.js"></script>
|
<script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.2.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>jQuery UI Draggable Test Suite</title>
|
<title>jQuery UI Draggable Test Suite</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>jQuery UI Droppable Test Suite</title>
|
<title>jQuery UI Droppable Test Suite</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery UI Core Test Suite</title>
|
<title>jQuery UI Core Test Suite</title>
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$.uiBackCompat = false;
|
$.uiBackCompat = false;
|
||||||
</script>
|
</script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.menu.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.menu.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery UI Position Test Suite</title>
|
<title>jQuery UI Position Test Suite</title>
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$.uiBackCompat = false;
|
$.uiBackCompat = false;
|
||||||
</script>
|
</script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery UI Position Test Suite</title>
|
<title>jQuery UI Position Test Suite</title>
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.position.js"></script>
|
<script src="../../../ui/jquery.ui.position.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../../external/qunit.css">
|
<link rel="stylesheet" href="../../../external/qunit.css">
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link type="text/css" href="../../../themes/base/jquery.ui.progressbar.css" rel="stylesheet" />
|
<link type="text/css" href="../../../themes/base/jquery.ui.progressbar.css" rel="stylesheet" />
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.progressbar.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.progressbar.js"></script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link type="text/css" href="../../../themes/base/jquery.ui.resizable.css" rel="stylesheet" />
|
<link type="text/css" href="../../../themes/base/jquery.ui.resizable.css" rel="stylesheet" />
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>jQuery UI Selectable Test Suite</title>
|
<title>jQuery UI Selectable Test Suite</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link type="text/css" href="../../../themes/base/jquery.ui.slider.css" rel="stylesheet" />
|
<link type="text/css" href="../../../themes/base/jquery.ui.slider.css" rel="stylesheet" />
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>jQuery UI Sortable Test Suite</title>
|
<title>jQuery UI Sortable Test Suite</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<link type="text/css" href="../../../themes/base/jquery.ui.spinner.css" rel="stylesheet" />
|
<link type="text/css" href="../../../themes/base/jquery.ui.spinner.css" rel="stylesheet" />
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../../external/jquery.mousewheel-3.0.4.js"></script>
|
<script type="text/javascript" src="../../../external/jquery.mousewheel-3.0.4.js"></script>
|
||||||
<script type="text/javascript" src="../../../external/jquery.global.js"></script>
|
<script type="text/javascript" src="../../../external/jquery.global.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tabs.css">
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tabs.css">
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$.uiBackCompat = false;
|
$.uiBackCompat = false;
|
||||||
</script>
|
</script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tabs.css">
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tabs.css">
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script src="../../../external/jquery.cookie.js"></script>
|
<script src="../../../external/jquery.cookie.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.core.js"></script>
|
<script src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.widget.js"></script>
|
<script src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tooltip.css">
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tooltip.css">
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.core.js"></script>
|
<script src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.widget.js"></script>
|
<script src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.position.js"></script>
|
<script src="../../../ui/jquery.ui.position.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery UI Widget Test Suite</title>
|
<title>jQuery UI Widget Test Suite</title>
|
||||||
|
|
||||||
<script src="../../../jquery-1.6.2.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.core.js"></script>
|
<script src="../../../ui/jquery.ui.core.js"></script>
|
||||||
<script src="../../../ui/jquery.ui.widget.js"></script>
|
<script src="../../../ui/jquery.ui.widget.js"></script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user