From 0472ff10bbd12648b57905d0833fb6e572853dd5 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Sat, 22 Nov 2008 19:29:03 +0000 Subject: tests: formatting and cleanup for consistency --- tests/accordion.html | 21 +++------------------ tests/core.html | 18 +++++------------- tests/datepicker.html | 17 +++++------------ tests/dialog.html | 19 +++---------------- tests/draggable.html | 21 +++------------------ tests/droppable.html | 20 +++----------------- tests/progressbar.html | 21 +++------------------ tests/resizable.html | 21 +++------------------ tests/selectable.html | 19 +++---------------- tests/slider.html | 21 +++------------------ tests/sortable.html | 21 +++------------------ tests/tabs.html | 22 ++++------------------ tests/testsuite.css | 4 ++++ tests/testsuite.js | 10 ++++++++++ tests/ui.html | 15 +++++---------- 15 files changed, 60 insertions(+), 210 deletions(-) create mode 100644 tests/testsuite.css create mode 100644 tests/testsuite.js (limited to 'tests') diff --git a/tests/accordion.html b/tests/accordion.html index 569a5d6d3..13079e1f2 100644 --- a/tests/accordion.html +++ b/tests/accordion.html @@ -3,35 +3,20 @@ jQuery UI Accordion Test Suite - - + + - - - - - - - -

jQuery UI Accordion Test Suite

- -

- -
    - -
    +
    There is one obvious advantage: diff --git a/tests/core.html b/tests/core.html index b7fc9c569..0ed3a7c9c 100644 --- a/tests/core.html +++ b/tests/core.html @@ -3,27 +3,19 @@ jQuery UI Core Test Suite - - + + - + - + -

    jQuery UI Core Test Suite

    - -

    - -
      - -
      +
      diff --git a/tests/datepicker.html b/tests/datepicker.html index d6c1a1424..9cd6a3422 100644 --- a/tests/datepicker.html +++ b/tests/datepicker.html @@ -3,33 +3,26 @@ jQuery UI Datepicker Test Suite - - + + - - + + -

      jQuery UI Datepicker Test Suite

      - -

      - -
        - -
        +

        diff --git a/tests/dialog.html b/tests/dialog.html index 200ed7660..8883350e9 100644 --- a/tests/dialog.html +++ b/tests/dialog.html @@ -3,35 +3,22 @@ jQuery UI Dialog Test Suite - - + + - - - - - -

        jQuery UI Dialog Test Suite

        - -

        - -
          - -
          +
          Dialog Content
          diff --git a/tests/draggable.html b/tests/draggable.html index 2c936f757..6329f9d54 100644 --- a/tests/draggable.html +++ b/tests/draggable.html @@ -3,35 +3,20 @@ jQuery UI Draggable Test Suite - - + + - - -

          jQuery UI Draggable Test Suite

          - -

          - -
            - -
            +
            Relative
            Absolute
            diff --git a/tests/droppable.html b/tests/droppable.html index d2a4e0beb..a318b5ba2 100644 --- a/tests/droppable.html +++ b/tests/droppable.html @@ -3,35 +3,21 @@ jQuery UI Droppable Test Suite - - + + - - -

            jQuery UI Droppable Test Suite

            - -

            - -
              - -
              +
              Draggable
              Droppable
               
              diff --git a/tests/progressbar.html b/tests/progressbar.html index 854d0c8e5..e9210bf12 100644 --- a/tests/progressbar.html +++ b/tests/progressbar.html @@ -3,35 +3,20 @@ jQuery UI Progressbar Test Suite - - + + - - - - - -

              jQuery UI Progressbar Test Suite

              - -

              - -
                - -
                +
                diff --git a/tests/resizable.html b/tests/resizable.html index 7e45de93d..87a4952bb 100644 --- a/tests/resizable.html +++ b/tests/resizable.html @@ -3,35 +3,20 @@ jQuery UI Resizable Test Suite - - + + - - - -

                jQuery UI Resizable Test Suite

                - -

                - -
                  - -
                  +
                  I'm a resizable.
                  diff --git a/tests/selectable.html b/tests/selectable.html index 834a48e4e..80084767e 100644 --- a/tests/selectable.html +++ b/tests/selectable.html @@ -3,33 +3,20 @@ jQuery UI Selectable Test Suite - - + + - - - - - -

                  jQuery UI Selectable Test Suite

                  - -

                  - -
                    - -
                    +
                    • Item 1
                    • Item 2
                    • diff --git a/tests/slider.html b/tests/slider.html index fd352ef87..22f0d581b 100644 --- a/tests/slider.html +++ b/tests/slider.html @@ -3,35 +3,20 @@ jQuery UI Slider Test Suite - - + + - - - - - -

                      jQuery UI Slider Test Suite

                      - -

                      - -
                        - -
                        +
                        diff --git a/tests/sortable.html b/tests/sortable.html index 4fa00cb76..2a70b8c8f 100644 --- a/tests/sortable.html +++ b/tests/sortable.html @@ -3,35 +3,20 @@ jQuery UI Sortable Test Suite - - + + - - -

                        jQuery UI Sortable Test Suite

                        - -

                        - -
                          - -
                          +
                          • Item 1
                          • Item 2
                          • diff --git a/tests/tabs.html b/tests/tabs.html index 78459b878..b8e904abb 100644 --- a/tests/tabs.html +++ b/tests/tabs.html @@ -3,36 +3,22 @@ jQuery UI Tabs Test Suite - - + + + - - - - - -

                            jQuery UI Tabs Test Suite

                            - -

                            - -
                              - -
                              +
                                diff --git a/tests/testsuite.css b/tests/testsuite.css new file mode 100644 index 000000000..b511c67ce --- /dev/null +++ b/tests/testsuite.css @@ -0,0 +1,4 @@ +@import url("qunit/testsuite.css"); +html { border: 0; } +.xerror, .error, .ui-tabs-hide { display: none } +#main { position: absolute; top: -10000px; left: -10000px; } diff --git a/tests/testsuite.js b/tests/testsuite.js new file mode 100644 index 000000000..5ae100a7d --- /dev/null +++ b/tests/testsuite.js @@ -0,0 +1,10 @@ +$(function() { + +$('body').prepend( + '

                                ' + document.title + '

                                ' + + '' + + '

                                ' + + '
                                  ' +); + +}); diff --git a/tests/ui.html b/tests/ui.html index a0de5cb8d..5d69a82db 100644 --- a/tests/ui.html +++ b/tests/ui.html @@ -3,8 +3,6 @@ jQuery UI Test Suite - - @@ -19,19 +17,16 @@ + + - + + -

                                  jQuery UI Test Suite

                                  - -

                                  - -
                                    - -
                                    +
                                    -- cgit v1.2.3