Tests: Added ability to run tests against minified files via ?min=1

This commit is contained in:
Scott González 2011-10-28 15:58:33 -04:00
parent 94b852f115
commit dcac8c1f29
25 changed files with 309 additions and 128 deletions

View File

@ -148,6 +148,13 @@
<fileset dir="${ui.dir}/themes/base/images" /> <fileset dir="${ui.dir}/themes/base/images" />
</copy> </copy>
<!-- make a copy of the minified files for use in tests -->
<copy todir="dist" file="${min.dir}/jquery-ui.min.js" />
<copy todir="dist/theme" file="${dist.dir}/themes/base/minified/jquery-ui.min.css" />
<copy todir="dist/theme/images" >
<fileset dir="${ui.dir}/themes/base/images" />
</copy>
<echo message="Minified ui/ built." /> <echo message="Minified ui/ built." />
</target> </target>

39
tests/resource_loader.js Normal file
View File

@ -0,0 +1,39 @@
(function( $ ) {
var parts = document.location.search.slice( 1 ).split( "&" ),
length = parts.length,
i = 0,
current,
min;
for ( ; i < length; i++ ) {
current = parts[ i ].split( "=" );
if ( current[ 0 ] === "min" ) {
min = current[ 1 ];
break;
}
}
function includeStyle( url ) {
document.write( "<link rel='stylesheet' href='../../../" + url + "'>" );
}
function includeScript( url ) {
document.write( "<script src='../../../" + url + "'></script>" );
}
window.loadResources = min ?
function() {
includeStyle( "build/dist/theme/jquery-ui.min.css" );
includeScript( "build/dist/jquery-ui.min.js" );
} :
function( resources ) {
$.each( resources.css || [], function( i, resource ) {
includeStyle( "themes/base/jquery." + resource + ".css" );
});
$.each( resources.js || [], function( i, resource ) {
includeScript( resource );
});
};
})( jQuery );

View File

@ -4,16 +4,21 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Accordion Test Suite</title> <title>jQuery UI Accordion Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.accordion.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script> <script>
$.uiBackCompat = false; $.uiBackCompat = false;
</script> </script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.accordion.js"></script> loadResources({
css: [ "ui.core", "ui.accordion" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.accordion.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,13 +4,18 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Accordion Test Suite</title> <title>jQuery UI Accordion Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.accordion.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.accordion.js"></script> loadResources({
css: [ "ui.core", "ui.accordion" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.accordion.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,15 +4,20 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Autocomplete Test Suite</title> <title>jQuery UI Autocomplete Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.autocomplete.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.position.js"></script> loadResources({
<script src="../../../ui/jquery.ui.menu.js"></script> css: [ "ui.core", "ui.menu", "ui.autocomplete" ],
<script src="../../../ui/jquery.ui.autocomplete.js"></script> js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.position.js",
"ui/jquery.ui.menu.js",
"ui/jquery.ui.autocomplete.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,13 +4,18 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Button Test Suite</title> <title>jQuery UI Button Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.button.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.button.js"></script> loadResources({
css: [ "ui.core", "ui.button" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.button.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -5,8 +5,12 @@
<title>jQuery UI Core Test Suite</title> <title>jQuery UI Core Test Suite</title>
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
loadResources({
js: [ "ui/jquery.ui.core.js" ]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,16 +4,20 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Datepicker Test Suite</title> <title>jQuery UI Datepicker Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.datepicker.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.datepicker.js"></script> loadResources({
<script src="../../../ui/i18n/jquery.ui.datepicker-fr.js"></script> css: [ "ui.core", "ui.datepicker" ],
<script src="../../../ui/i18n/jquery.ui.datepicker-he.js"></script> js: [
<script src="../../../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script> "ui/jquery.ui.core.js",
"ui/jquery.ui.datepicker.js",
"ui/i18n/jquery.ui.datepicker-fr.js",
"ui/i18n/jquery.ui.datepicker-he.js",
"ui/i18n/jquery.ui.datepicker-zh-CN.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,18 +4,23 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Dialog Test Suite</title> <title>jQuery UI Dialog Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.dialog.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../external/jquery.bgiframe-2.1.2.js"></script> <script src="../../../external/jquery.bgiframe-2.1.2.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.mouse.js"></script> loadResources({
<script src="../../../ui/jquery.ui.draggable.js"></script> css: [ "ui.core", "ui.dialog" ],
<script src="../../../ui/jquery.ui.position.js"></script> js: [
<script src="../../../ui/jquery.ui.resizable.js"></script> "ui/jquery.ui.core.js",
<script src="../../../ui/jquery.ui.dialog.js"></script> "ui/jquery.ui.widget.js",
"ui/jquery.ui.position.js",
"ui/jquery.ui.mouse.js",
"ui/jquery.ui.draggable.js",
"ui/jquery.ui.resizable.js",
"ui/jquery.ui.dialog.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -5,10 +5,18 @@
<title>jQuery UI Draggable Test Suite</title> <title>jQuery UI Draggable Test Suite</title>
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.mouse.js"></script> loadResources({
<script src="../../../ui/jquery.ui.draggable.js"></script> css: [ "ui.core" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.mouse.js",
"ui/jquery.ui.draggable.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -5,11 +5,19 @@
<title>jQuery UI Droppable Test Suite</title> <title>jQuery UI Droppable Test Suite</title>
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.mouse.js"></script> loadResources({
<script src="../../../ui/jquery.ui.draggable.js"></script> css: [ "ui.core" ],
<script src="../../../ui/jquery.ui.droppable.js"></script> js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.mouse.js",
"ui/jquery.ui.draggable.js",
"ui/jquery.ui.droppable.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -8,20 +8,27 @@
<script> <script>
$.uiBackCompat = false; $.uiBackCompat = false;
</script> </script>
<script src="../../../ui/jquery.effects.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.effects.blind.js"></script> <script>
<script src="../../../ui/jquery.effects.bounce.js"></script> loadResources({
<script src="../../../ui/jquery.effects.clip.js"></script> js: [
<script src="../../../ui/jquery.effects.drop.js"></script> "ui/jquery.effects.core.js",
<script src="../../../ui/jquery.effects.explode.js"></script> "ui/jquery.effects.blind.js",
<script src="../../../ui/jquery.effects.fade.js"></script> "ui/jquery.effects.bounce.js",
<script src="../../../ui/jquery.effects.fold.js"></script> "ui/jquery.effects.clip.js",
<script src="../../../ui/jquery.effects.highlight.js"></script> "ui/jquery.effects.drop.js",
<script src="../../../ui/jquery.effects.pulsate.js"></script> "ui/jquery.effects.explode.js",
<script src="../../../ui/jquery.effects.scale.js"></script> "ui/jquery.effects.fade.js",
<script src="../../../ui/jquery.effects.shake.js"></script> "ui/jquery.effects.fold.js",
<script src="../../../ui/jquery.effects.slide.js"></script> "ui/jquery.effects.highlight.js",
<script src="../../../ui/jquery.effects.transfer.js"></script> "ui/jquery.effects.pulsate.js",
"ui/jquery.effects.scale.js",
"ui/jquery.effects.shake.js",
"ui/jquery.effects.slide.js",
"ui/jquery.effects.transfer.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,12 +4,18 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Menu Test Suite</title> <title>jQuery UI Menu Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.menu.js"></script> loadResources({
css: [ "ui.core", "ui.menu" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.menu.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -8,7 +8,12 @@
<script> <script>
$.uiBackCompat = false; $.uiBackCompat = false;
</script> </script>
<script src="../../../ui/jquery.ui.position.js"></script> <script src="../../resource_loader.js"></script>
<script>
loadResources({
js: [ "ui/jquery.ui.position.js" ]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -5,7 +5,12 @@
<title>jQuery UI Position Test Suite</title> <title>jQuery UI Position Test Suite</title>
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.position.js"></script> <script src="../../resource_loader.js"></script>
<script>
loadResources({
js: [ "ui/jquery.ui.position.js" ]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,13 +4,18 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Progressbar Test Suite</title> <title>jQuery UI Progressbar Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.progressbar.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.progressbar.js"></script> loadResources({
css: [ "ui.core", "ui.progressbar" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.progressbar.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,14 +4,19 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Resizable Test Suite</title> <title>jQuery UI Resizable Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.resizable.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.mouse.js"></script> loadResources({
<script src="../../../ui/jquery.ui.resizable.js"></script> css: [ "ui.core", "ui.resizable" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.mouse.js",
"ui/jquery.ui.resizable.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -5,10 +5,18 @@
<title>jQuery UI Selectable Test Suite</title> <title>jQuery UI Selectable Test Suite</title>
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.mouse.js"></script> loadResources({
<script src="../../../ui/jquery.ui.selectable.js"></script> css: [ "ui.core", "ui.selectable" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.mouse.js",
"ui/jquery.ui.selectable.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,13 +4,19 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Slider Test Suite</title> <title>jQuery UI Slider Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.slider.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.mouse.js"></script> loadResources({
<script src="../../../ui/jquery.ui.slider.js"></script> css: [ "ui.core", "ui.slider" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.mouse.js",
"ui/jquery.ui.slider.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -5,10 +5,18 @@
<title>jQuery UI Sortable Test Suite</title> <title>jQuery UI Sortable Test Suite</title>
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.mouse.js"></script> loadResources({
<script src="../../../ui/jquery.ui.sortable.js"></script> css: [ "ui.core", "ui.sortable" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.mouse.js",
"ui/jquery.ui.sortable.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,16 +4,22 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Spinner Test Suite</title> <title>jQuery UI Spinner Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.spinner.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../external/jquery.mousewheel-3.0.4.js"></script> <script src="../../../external/jquery.mousewheel-3.0.4.js"></script>
<script src="../../../external/globalize.js"></script> <script src="../../../external/globalize.js"></script>
<script src="../../../external/globalize.culture.ja-JP.js"></script> <script src="../../../external/globalize.culture.ja-JP.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.button.js"></script> loadResources({
<script src="../../../ui/jquery.ui.spinner.js"></script> css: [ "ui.core", "ui.button", "ui.spinner" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.button.js",
"ui/jquery.ui.spinner.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,15 +4,21 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Tabs Test Suite</title> <title>jQuery UI Tabs Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tabs.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script> <script>
$.uiBackCompat = false; $.uiBackCompat = false;
</script> </script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.tabs.js"></script> loadResources({
css: [ "ui.core", "ui.tabs" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.tabs.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,13 +4,19 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Tabs Test Suite</title> <title>jQuery UI Tabs Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tabs.css">
<script src="../../jquery.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="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.tabs.js"></script> loadResources({
css: [ "ui.core", "ui.tabs" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.tabs.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -4,13 +4,19 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Tooltip Test Suite</title> <title>jQuery UI Tooltip Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tooltip.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
<script src="../../../ui/jquery.ui.position.js"></script> loadResources({
<script src="../../../ui/jquery.ui.tooltip.js"></script> css: [ "ui.core", "ui.tooltip" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.position.js",
"ui/jquery.ui.tooltip.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>

View File

@ -5,8 +5,15 @@
<title>jQuery UI Widget Test Suite</title> <title>jQuery UI Widget Test Suite</title>
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script> <script src="../../resource_loader.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script> <script>
loadResources({
css: [ "ui.core" ],
js: [
"ui/jquery.ui.widget.js"
]
});
</script>
<link rel="stylesheet" href="../../../external/qunit.css"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>