aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/accordion/accordion.html2
-rw-r--r--tests/unit/accordion/accordion_deprecated.html2
-rw-r--r--tests/unit/all.html64
-rw-r--r--tests/unit/autocomplete/autocomplete.html2
-rw-r--r--tests/unit/button/button.html2
-rw-r--r--tests/unit/core/core.html2
-rw-r--r--tests/unit/datepicker/datepicker.html2
-rw-r--r--tests/unit/dialog/dialog.html2
-rw-r--r--tests/unit/draggable/draggable.html2
-rw-r--r--tests/unit/droppable/droppable.html2
-rw-r--r--tests/unit/effects/effects.html2
-rw-r--r--tests/unit/menu/menu.html2
-rw-r--r--tests/unit/position/position.html2
-rw-r--r--tests/unit/position/position_deprecated.html2
-rw-r--r--tests/unit/progressbar/progressbar.html2
-rw-r--r--tests/unit/resizable/resizable.html2
-rw-r--r--tests/unit/selectable/selectable.html2
-rw-r--r--tests/unit/slider/slider.html2
-rw-r--r--tests/unit/sortable/sortable.html2
-rw-r--r--tests/unit/spinner/spinner.html2
-rw-r--r--tests/unit/tabs/tabs.html2
-rw-r--r--tests/unit/tabs/tabs_deprecated.html2
-rw-r--r--tests/unit/tooltip/tooltip.html2
-rw-r--r--tests/unit/widget/widget.html2
24 files changed, 63 insertions, 47 deletions
diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html
index 5cb972bb7..9e23a1243 100644
--- a/tests/unit/accordion/accordion.html
+++ b/tests/unit/accordion/accordion.html
@@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../../themes/base/jquery.ui.accordion.css">
- <script src="../../../jquery-1.6.2.js"></script>
+ <script src="../../jquery.js"></script>
<script>
$.uiBackCompat = false;
</script>
diff --git a/tests/unit/accordion/accordion_deprecated.html b/tests/unit/accordion/accordion_deprecated.html
index d1294390a..7ba6d47e4 100644
--- a/tests/unit/accordion/accordion_deprecated.html
+++ b/tests/unit/accordion/accordion_deprecated.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script src="../../../ui/jquery.ui.accordion.js"></script>
diff --git a/tests/unit/all.html b/tests/unit/all.html
index a36c9e004..cf8820c5e 100644
--- a/tests/unit/all.html
+++ b/tests/unit/all.html
@@ -11,30 +11,46 @@
<script src="testsuites.js"></script>
<script>
- QUnit.testSuites([
- "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",
- "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"
- ]);
+ (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 ) {
+ params += encodeURIComponent( key ) + "=" + encodeURIComponent( value );
+ });
+ if ( params ) {
+ suites = $.map( suites, function( suite ) {
+ return suite + "?" + params;
+ });
+ }
+ QUnit.testSuites( suites );
+
+ }());
</script>
</head>
<body>
diff --git a/tests/unit/autocomplete/autocomplete.html b/tests/unit/autocomplete/autocomplete.html
index 466713efb..82d04291b 100644
--- a/tests/unit/autocomplete/autocomplete.html
+++ b/tests/unit/autocomplete/autocomplete.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script src="../../../ui/jquery.ui.position.js"></script>
diff --git a/tests/unit/button/button.html b/tests/unit/button/button.html
index c009d8e64..3474df20c 100644
--- a/tests/unit/button/button.html
+++ b/tests/unit/button/button.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
diff --git a/tests/unit/core/core.html b/tests/unit/core/core.html
index bffadc12a..4c1186271 100644
--- a/tests/unit/core/core.html
+++ b/tests/unit/core/core.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<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.widget.js"></script>
diff --git a/tests/unit/datepicker/datepicker.html b/tests/unit/datepicker/datepicker.html
index 9dfc78b1b..51b61f603 100644
--- a/tests/unit/datepicker/datepicker.html
+++ b/tests/unit/datepicker/datepicker.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html
index fa78368ef..1840e2c4a 100644
--- a/tests/unit/dialog/dialog.html
+++ b/tests/unit/dialog/dialog.html
@@ -6,7 +6,7 @@
<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="../../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html
index 1d949550f..f9d3ee7a9 100644
--- a/tests/unit/draggable/draggable.html
+++ b/tests/unit/draggable/draggable.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
diff --git a/tests/unit/droppable/droppable.html b/tests/unit/droppable/droppable.html
index 3363cb45a..80edfa4b0 100644
--- a/tests/unit/droppable/droppable.html
+++ b/tests/unit/droppable/droppable.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
diff --git a/tests/unit/effects/effects.html b/tests/unit/effects/effects.html
index 3199ba4a8..3068aedc3 100644
--- a/tests/unit/effects/effects.html
+++ b/tests/unit/effects/effects.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Core Test Suite</title>
- <script src="../../../jquery-1.6.2.js"></script>
+ <script src="../../jquery.js"></script>
<script>
$.uiBackCompat = false;
</script>
diff --git a/tests/unit/menu/menu.html b/tests/unit/menu/menu.html
index 49e33e7b1..e1f79b0f9 100644
--- a/tests/unit/menu/menu.html
+++ b/tests/unit/menu/menu.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.menu.js"></script>
diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html
index fe8a21f06..3df9d465c 100644
--- a/tests/unit/position/position.html
+++ b/tests/unit/position/position.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Position Test Suite</title>
- <script src="../../../jquery-1.6.2.js"></script>
+ <script src="../../jquery.js"></script>
<script>
$.uiBackCompat = false;
</script>
diff --git a/tests/unit/position/position_deprecated.html b/tests/unit/position/position_deprecated.html
index e7af7cc46..9d595e48e 100644
--- a/tests/unit/position/position_deprecated.html
+++ b/tests/unit/position/position_deprecated.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<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>
<link rel="stylesheet" href="../../../external/qunit.css">
diff --git a/tests/unit/progressbar/progressbar.html b/tests/unit/progressbar/progressbar.html
index 0e812877a..d3f9b033d 100644
--- a/tests/unit/progressbar/progressbar.html
+++ b/tests/unit/progressbar/progressbar.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.progressbar.js"></script>
diff --git a/tests/unit/resizable/resizable.html b/tests/unit/resizable/resizable.html
index bb013cf9f..e29e94b16 100644
--- a/tests/unit/resizable/resizable.html
+++ b/tests/unit/resizable/resizable.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
diff --git a/tests/unit/selectable/selectable.html b/tests/unit/selectable/selectable.html
index a32e574a5..95501eaa9 100644
--- a/tests/unit/selectable/selectable.html
+++ b/tests/unit/selectable/selectable.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
diff --git a/tests/unit/slider/slider.html b/tests/unit/slider/slider.html
index 6f52b9024..962dadc40 100644
--- a/tests/unit/slider/slider.html
+++ b/tests/unit/slider/slider.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
diff --git a/tests/unit/sortable/sortable.html b/tests/unit/sortable/sortable.html
index 34b834e05..ee03e1344 100644
--- a/tests/unit/sortable/sortable.html
+++ b/tests/unit/sortable/sortable.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<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.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
diff --git a/tests/unit/spinner/spinner.html b/tests/unit/spinner/spinner.html
index ded4d081d..b3807a439 100644
--- a/tests/unit/spinner/spinner.html
+++ b/tests/unit/spinner/spinner.html
@@ -5,7 +5,7 @@
<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.global.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
diff --git a/tests/unit/tabs/tabs.html b/tests/unit/tabs/tabs.html
index 38dad7460..688b2642f 100644
--- a/tests/unit/tabs/tabs.html
+++ b/tests/unit/tabs/tabs.html
@@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../../themes/base/jquery.ui.tabs.css">
- <script src="../../../jquery-1.6.2.js"></script>
+ <script src="../../jquery.js"></script>
<script>
$.uiBackCompat = false;
</script>
diff --git a/tests/unit/tabs/tabs_deprecated.html b/tests/unit/tabs/tabs_deprecated.html
index f1b7f763f..322cec163 100644
--- a/tests/unit/tabs/tabs_deprecated.html
+++ b/tests/unit/tabs/tabs_deprecated.html
@@ -6,7 +6,7 @@
<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="../../../ui/jquery.ui.core.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script>
diff --git a/tests/unit/tooltip/tooltip.html b/tests/unit/tooltip/tooltip.html
index 10bd0f22e..82070fbfd 100644
--- a/tests/unit/tooltip/tooltip.html
+++ b/tests/unit/tooltip/tooltip.html
@@ -6,7 +6,7 @@
<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.widget.js"></script>
<script src="../../../ui/jquery.ui.position.js"></script>
diff --git a/tests/unit/widget/widget.html b/tests/unit/widget/widget.html
index bd673978c..eae47f4a1 100644
--- a/tests/unit/widget/widget.html
+++ b/tests/unit/widget/widget.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<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.widget.js"></script>