From f5a14de1b1315140eaf04a8056107cc95732922f Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Sun, 21 Mar 2010 21:07:25 +0100 Subject: [PATCH] Cleaning up visual tests Fixes #5395 - Visual Tests Cleanup --- tests/visual/accordion/accordion.html | 2 +- tests/visual/accordion/default.html | 36 ------ .../{default.html => autocomplete.html} | 0 .../button/{default.html => button.html} | 0 tests/visual/datepicker/datepicker.html | 98 +-------------- .../datepicker/datepicker_multi_inline.html | 113 ++++++++++++++++++ tests/visual/datepicker/default.html | 23 ---- tests/visual/dialog/default.html | 32 ----- tests/visual/dialog/dialog.html | 49 ++------ tests/visual/draggable/default.html | 24 ---- tests/visual/droppable/default.html | 25 ---- tests/visual/droppable/droppable.html | 10 +- tests/visual/index.html | 26 ++-- tests/visual/menu/{default.html => menu.html} | 0 .../position/{default.html => position.html} | 0 tests/visual/progressbar/default.html | 31 ----- tests/visual/progressbar/progressbar.html | 2 +- tests/visual/resizable/default.html | 28 ----- tests/visual/selectable/default.html | 28 ----- tests/visual/selectable/selectable.html | 2 +- tests/visual/slider/default.html | 24 ---- tests/visual/slider/default_vertical.html | 26 ---- tests/visual/slider/slider.html | 94 +-------------- tests/visual/sortable/default.html | 24 ---- tests/visual/sortable/sortable.html | 2 +- tests/visual/tabs/default.html | 32 ----- tests/visual/tabs/tabs.html | 29 ++--- tests/visual/visual.css | 3 +- 28 files changed, 169 insertions(+), 594 deletions(-) delete mode 100644 tests/visual/accordion/default.html rename tests/visual/autocomplete/{default.html => autocomplete.html} (100%) rename tests/visual/button/{default.html => button.html} (100%) create mode 100644 tests/visual/datepicker/datepicker_multi_inline.html delete mode 100644 tests/visual/datepicker/default.html delete mode 100644 tests/visual/dialog/default.html delete mode 100644 tests/visual/draggable/default.html delete mode 100644 tests/visual/droppable/default.html rename tests/visual/menu/{default.html => menu.html} (100%) rename tests/visual/position/{default.html => position.html} (100%) delete mode 100644 tests/visual/progressbar/default.html delete mode 100644 tests/visual/resizable/default.html delete mode 100644 tests/visual/selectable/default.html delete mode 100644 tests/visual/slider/default.html delete mode 100644 tests/visual/slider/default_vertical.html delete mode 100644 tests/visual/sortable/default.html delete mode 100644 tests/visual/tabs/default.html diff --git a/tests/visual/accordion/accordion.html b/tests/visual/accordion/accordion.html index 1f50888ed..01a6fc0ad 100644 --- a/tests/visual/accordion/accordion.html +++ b/tests/visual/accordion/accordion.html @@ -2,7 +2,7 @@ - Accordion Visual Test : Accordion + Accordion Visual Test : Default diff --git a/tests/visual/accordion/default.html b/tests/visual/accordion/default.html deleted file mode 100644 index 01a6fc0ad..000000000 --- a/tests/visual/accordion/default.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Accordion Visual Test : Default - - - - - - - - - - -
-

Accordion Header 1

-
- Accordion Content 1 -
-

Accordion Header 2

-
- Accordion Content 2 -
-

Accordion Header 3

-
- Accordion Content 3 -
-
- - - diff --git a/tests/visual/autocomplete/default.html b/tests/visual/autocomplete/autocomplete.html similarity index 100% rename from tests/visual/autocomplete/default.html rename to tests/visual/autocomplete/autocomplete.html diff --git a/tests/visual/button/default.html b/tests/visual/button/button.html similarity index 100% rename from tests/visual/button/default.html rename to tests/visual/button/button.html diff --git a/tests/visual/datepicker/datepicker.html b/tests/visual/datepicker/datepicker.html index 988ada690..760bcd94d 100644 --- a/tests/visual/datepicker/datepicker.html +++ b/tests/visual/datepicker/datepicker.html @@ -2,8 +2,8 @@ - Simple Datepicker - + Datepicker Visual Test : Default + @@ -11,103 +11,13 @@ - +
diff --git a/tests/visual/datepicker/datepicker_multi_inline.html b/tests/visual/datepicker/datepicker_multi_inline.html new file mode 100644 index 000000000..988ada690 --- /dev/null +++ b/tests/visual/datepicker/datepicker_multi_inline.html @@ -0,0 +1,113 @@ + + + + + Simple Datepicker + + + + + + + + + + + + + + diff --git a/tests/visual/datepicker/default.html b/tests/visual/datepicker/default.html deleted file mode 100644 index 760bcd94d..000000000 --- a/tests/visual/datepicker/default.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Datepicker Visual Test : Default - - - - - - - - - - -
- - - diff --git a/tests/visual/dialog/default.html b/tests/visual/dialog/default.html deleted file mode 100644 index 31ffda0b0..000000000 --- a/tests/visual/dialog/default.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Dialog Visual Test : Default - - - - - - - - - - - - - - - -
-

- Dialog Content -

-
- - - diff --git a/tests/visual/dialog/dialog.html b/tests/visual/dialog/dialog.html index 5c2129050..31ffda0b0 100644 --- a/tests/visual/dialog/dialog.html +++ b/tests/visual/dialog/dialog.html @@ -2,62 +2,31 @@ - Dialog Visual Tests Page - + Dialog Visual Test : Default + + - +
+

+ Dialog Content +

+
diff --git a/tests/visual/draggable/default.html b/tests/visual/draggable/default.html deleted file mode 100644 index 59166f3ab..000000000 --- a/tests/visual/draggable/default.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Draggable Visual Test : Default - - - - - - - - - - - -

Draggable

- - - diff --git a/tests/visual/droppable/default.html b/tests/visual/droppable/default.html deleted file mode 100644 index c49ec3a61..000000000 --- a/tests/visual/droppable/default.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Droppable Visual Test : Default - - - - - - - - - - - - -

Droppable

- - - diff --git a/tests/visual/droppable/droppable.html b/tests/visual/droppable/droppable.html index b372fa1a4..0d306f709 100644 --- a/tests/visual/droppable/droppable.html +++ b/tests/visual/droppable/droppable.html @@ -13,11 +13,19 @@ +
+

Draggable

+

Droppable

diff --git a/tests/visual/index.html b/tests/visual/index.html index 4e36aff31..ad46ddf8d 100644 --- a/tests/visual/index.html +++ b/tests/visual/index.html @@ -26,23 +26,23 @@

Interactions

Widgets

diff --git a/tests/visual/menu/default.html b/tests/visual/menu/menu.html similarity index 100% rename from tests/visual/menu/default.html rename to tests/visual/menu/menu.html diff --git a/tests/visual/position/default.html b/tests/visual/position/position.html similarity index 100% rename from tests/visual/position/default.html rename to tests/visual/position/position.html diff --git a/tests/visual/progressbar/default.html b/tests/visual/progressbar/default.html deleted file mode 100644 index f18cc1434..000000000 --- a/tests/visual/progressbar/default.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Progressbar Visual Test : Default - - - - - - - - - - -
-
-
- - - - - diff --git a/tests/visual/progressbar/progressbar.html b/tests/visual/progressbar/progressbar.html index 167272512..44cd47e02 100644 --- a/tests/visual/progressbar/progressbar.html +++ b/tests/visual/progressbar/progressbar.html @@ -2,7 +2,7 @@ - Simple Progressbar + Progressbar Visual Test: Default diff --git a/tests/visual/resizable/default.html b/tests/visual/resizable/default.html deleted file mode 100644 index 43338f9a6..000000000 --- a/tests/visual/resizable/default.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Resizable Visual Test : Default - - - - - - - - - - - -
-

- Resizable -

-
- - - diff --git a/tests/visual/selectable/default.html b/tests/visual/selectable/default.html deleted file mode 100644 index 53dd44d1d..000000000 --- a/tests/visual/selectable/default.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Selectable Visual Test : Default - - - - - - - - - - - -
-
Selectable 1
-
Selectable 2
-
Selectable 3
-
- - - diff --git a/tests/visual/selectable/selectable.html b/tests/visual/selectable/selectable.html index 21fc2b9dd..ef4f9c11f 100644 --- a/tests/visual/selectable/selectable.html +++ b/tests/visual/selectable/selectable.html @@ -2,7 +2,7 @@ - Simple Selectable + Selectable Visual Test : Default diff --git a/tests/visual/slider/default.html b/tests/visual/slider/default.html deleted file mode 100644 index f1ec61b6e..000000000 --- a/tests/visual/slider/default.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Slider Visual Test : Default - - - - - - - - - - - -
- - - diff --git a/tests/visual/slider/default_vertical.html b/tests/visual/slider/default_vertical.html deleted file mode 100644 index 454e37ca5..000000000 --- a/tests/visual/slider/default_vertical.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Slider Visual Test : Default vertical - - - - - - - - - - - -
- - - diff --git a/tests/visual/slider/slider.html b/tests/visual/slider/slider.html index 37311ab13..6b79b1eac 100644 --- a/tests/visual/slider/slider.html +++ b/tests/visual/slider/slider.html @@ -2,8 +2,8 @@ - Slider Visual Test Page - + Slider Visual Test : Default + @@ -13,100 +13,12 @@ - - - - - - +
diff --git a/tests/visual/sortable/default.html b/tests/visual/sortable/default.html deleted file mode 100644 index 58239298a..000000000 --- a/tests/visual/sortable/default.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Sortable Visual Test : Default - - - - - - - - - - - -
Sortable 1
Sortable 2
Sortable 3
- - - diff --git a/tests/visual/sortable/sortable.html b/tests/visual/sortable/sortable.html index 6bc8fb8b2..1fb08993e 100644 --- a/tests/visual/sortable/sortable.html +++ b/tests/visual/sortable/sortable.html @@ -2,7 +2,7 @@ - Simple Sortable + Sortable Visual Test : Default diff --git a/tests/visual/tabs/default.html b/tests/visual/tabs/default.html deleted file mode 100644 index ff444cad5..000000000 --- a/tests/visual/tabs/default.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Tabs Visual Test : Default - - - - - - - - - - -
- -
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.
-
Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.
-
- - - diff --git a/tests/visual/tabs/tabs.html b/tests/visual/tabs/tabs.html index fe9a87d01..ff444cad5 100644 --- a/tests/visual/tabs/tabs.html +++ b/tests/visual/tabs/tabs.html @@ -2,8 +2,8 @@ - Simple Tabs - + Tabs Visual Test : Default + @@ -17,21 +17,16 @@ - +
+ +
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+
Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.
+
Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.
+
diff --git a/tests/visual/visual.css b/tests/visual/visual.css index fb2b99f1c..b61fc0e9d 100644 --- a/tests/visual/visual.css +++ b/tests/visual/visual.css @@ -1,2 +1,3 @@ body { font-size: 62.5%; } -#draggable { width: 100px; height: 100px; background: #abc; } +#draggable, #resizable { width: 100px; height: 100px; background: #abc; } +#droppable { width: 100px; height: 100px; background: #cde; } -- 2.39.5