From c37637ee99ed737d2f81b58cb4d307fc01791319 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Wed, 23 Feb 2011 12:46:13 +0100 Subject: [PATCH] Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use --- tests/unit/accordion/accordio.html | 4 ++-- tests/unit/accordion/accordion.html | 4 ++-- tests/unit/autocomplete/autocomplete.html | 2 +- tests/unit/button/button.html | 2 +- tests/unit/core/core.html | 2 +- tests/unit/datepicker/datepicker.html | 2 +- tests/unit/dialog/dialog.html | 2 +- tests/unit/draggable/draggable.html | 2 +- tests/unit/droppable/droppable.html | 2 +- tests/unit/menu/menu.html | 2 +- tests/unit/position/position.html | 2 +- tests/unit/progressbar/progressbar.html | 2 +- tests/unit/resizable/resizable.html | 2 +- tests/unit/selectable/selectable.html | 2 +- tests/unit/slider/slider.html | 2 +- tests/unit/sortable/sortable.html | 2 +- tests/unit/tabs/tabs.html | 2 +- tests/unit/widget/widget.html | 2 +- tests/unit/widget/widget_core.js | 2 +- 19 files changed, 21 insertions(+), 21 deletions(-) diff --git a/tests/unit/accordion/accordio.html b/tests/unit/accordion/accordio.html index fdab26de8..22d88e90d 100644 --- a/tests/unit/accordion/accordio.html +++ b/tests/unit/accordion/accordio.html @@ -56,7 +56,7 @@ @@ -69,7 +69,7 @@
-
+
diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html index 60989694c..8eed65073 100644 --- a/tests/unit/accordion/accordion.html +++ b/tests/unit/accordion/accordion.html @@ -58,7 +58,7 @@ @@ -71,7 +71,7 @@
-
+
diff --git a/tests/unit/autocomplete/autocomplete.html b/tests/unit/autocomplete/autocomplete.html index f871e3892..ef9d64baf 100644 --- a/tests/unit/autocomplete/autocomplete.html +++ b/tests/unit/autocomplete/autocomplete.html @@ -36,7 +36,7 @@
-
+
diff --git a/tests/unit/button/button.html b/tests/unit/button/button.html index 91910a232..627578654 100644 --- a/tests/unit/button/button.html +++ b/tests/unit/button/button.html @@ -34,7 +34,7 @@
-
+
diff --git a/tests/unit/core/core.html b/tests/unit/core/core.html index ce6663bb0..fb9cf0a61 100644 --- a/tests/unit/core/core.html +++ b/tests/unit/core/core.html @@ -32,7 +32,7 @@
-
+
diff --git a/tests/unit/datepicker/datepicker.html b/tests/unit/datepicker/datepicker.html index 509f0443e..5a20042de 100644 --- a/tests/unit/datepicker/datepicker.html +++ b/tests/unit/datepicker/datepicker.html @@ -46,7 +46,7 @@
-
+

diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html index d76bed854..7d8aafe6c 100644 --- a/tests/unit/dialog/dialog.html +++ b/tests/unit/dialog/dialog.html @@ -50,7 +50,7 @@
-
+
diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html index a0a0834e3..bb2b0f7c1 100644 --- a/tests/unit/draggable/draggable.html +++ b/tests/unit/draggable/draggable.html @@ -43,7 +43,7 @@
-
+
Relative
Absolute
diff --git a/tests/unit/droppable/droppable.html b/tests/unit/droppable/droppable.html index 2ae6e1b07..0092647ce 100644 --- a/tests/unit/droppable/droppable.html +++ b/tests/unit/droppable/droppable.html @@ -44,7 +44,7 @@
-
+
Draggable
Droppable
 
diff --git a/tests/unit/menu/menu.html b/tests/unit/menu/menu.html index 625001536..d134670cc 100644 --- a/tests/unit/menu/menu.html +++ b/tests/unit/menu/menu.html @@ -44,7 +44,7 @@ diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html index 5413cfdd6..c9a2be82d 100644 --- a/tests/unit/position/position.html +++ b/tests/unit/position/position.html @@ -30,7 +30,7 @@ elements smaller than 10px have a line-height set on them to avoid a bug in IE6 .height() returns the greater of the height and line-height --> -
+
diff --git a/tests/unit/progressbar/progressbar.html b/tests/unit/progressbar/progressbar.html index 4315fb103..7ec8d56d7 100644 --- a/tests/unit/progressbar/progressbar.html +++ b/tests/unit/progressbar/progressbar.html @@ -34,7 +34,7 @@
-
+
diff --git a/tests/unit/resizable/resizable.html b/tests/unit/resizable/resizable.html index d41af4272..02d95e532 100644 --- a/tests/unit/resizable/resizable.html +++ b/tests/unit/resizable/resizable.html @@ -45,7 +45,7 @@
-
+
I'm a resizable.
diff --git a/tests/unit/selectable/selectable.html b/tests/unit/selectable/selectable.html index ea93b24b8..d3aafe616 100644 --- a/tests/unit/selectable/selectable.html +++ b/tests/unit/selectable/selectable.html @@ -43,7 +43,7 @@
-
+
  • Item 1
  • Item 2
  • diff --git a/tests/unit/slider/slider.html b/tests/unit/slider/slider.html index 24fb0c0b0..dffdcae6a 100644 --- a/tests/unit/slider/slider.html +++ b/tests/unit/slider/slider.html @@ -45,7 +45,7 @@
    -
    +
    diff --git a/tests/unit/sortable/sortable.html b/tests/unit/sortable/sortable.html index fc1fc72fd..f753bf1a4 100644 --- a/tests/unit/sortable/sortable.html +++ b/tests/unit/sortable/sortable.html @@ -43,7 +43,7 @@
    -
    +
    • Item 1
    • Item 2
    • diff --git a/tests/unit/tabs/tabs.html b/tests/unit/tabs/tabs.html index d03104c4e..507b31822 100644 --- a/tests/unit/tabs/tabs.html +++ b/tests/unit/tabs/tabs.html @@ -45,7 +45,7 @@
      -
      +
        diff --git a/tests/unit/widget/widget.html b/tests/unit/widget/widget.html index fda543ae0..c3b9bfe95 100644 --- a/tests/unit/widget/widget.html +++ b/tests/unit/widget/widget.html @@ -27,7 +27,7 @@
        -
        +
        diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js index 11325140f..837e282c6 100644 --- a/tests/unit/widget/widget_core.js +++ b/tests/unit/widget/widget_core.js @@ -56,7 +56,7 @@ test( "element normalization", function() { $.ui.testWidget( {}, elem ); elem = $( "
        " ) - .appendTo( "#main" ); + .appendTo( "#qunit-fixture" ); $.ui.testWidget.prototype._create = function() { same( this.element[ 0 ], elem[ 0 ], "from selector" ); same( elem.data( "testWidget" ), this, "instace stored in .data()" ); -- 2.39.5