diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js index b9598c6df..6d608f2eb 100644 --- a/tests/lib/bootstrap.js +++ b/tests/lib/bootstrap.js @@ -123,14 +123,14 @@ function swarmInject() { if ( widget ) { modules = modules.concat([ - widget + ( deprecated ? "_common_deprecated" : "_common" ), - widget + "_core", - widget + "_events", - widget + "_methods", - widget + "_options" + ( deprecated ? "common-deprecated" : "common" ), + "core", + "events", + "methods", + "options" ]); if ( deprecated ) { - modules = modules.concat( widget + "_deprecated" ); + modules = modules.concat( "deprecated" ); } } diff --git a/tests/unit/accordion/accordion_common.js b/tests/unit/accordion/common.js similarity index 100% rename from tests/unit/accordion/accordion_common.js rename to tests/unit/accordion/common.js diff --git a/tests/unit/accordion/accordion_core.js b/tests/unit/accordion/core.js similarity index 99% rename from tests/unit/accordion/accordion_core.js rename to tests/unit/accordion/core.js index bd3b56752..b1d45f77e 100644 --- a/tests/unit/accordion/accordion_core.js +++ b/tests/unit/accordion/core.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./accordion_test_helpers", + "./helper", "ui/accordion" ], function( $, testHelper ) { diff --git a/tests/unit/accordion/accordion_events.js b/tests/unit/accordion/events.js similarity index 99% rename from tests/unit/accordion/accordion_events.js rename to tests/unit/accordion/events.js index ac05df30d..7f7390c83 100644 --- a/tests/unit/accordion/accordion_events.js +++ b/tests/unit/accordion/events.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./accordion_test_helpers", + "./helper", "ui/accordion" ], function( $, testHelper ) { diff --git a/tests/unit/accordion/accordion_test_helpers.js b/tests/unit/accordion/helper.js similarity index 100% rename from tests/unit/accordion/accordion_test_helpers.js rename to tests/unit/accordion/helper.js diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/methods.js similarity index 99% rename from tests/unit/accordion/accordion_methods.js rename to tests/unit/accordion/methods.js index f33996c36..efabfed10 100644 --- a/tests/unit/accordion/accordion_methods.js +++ b/tests/unit/accordion/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./accordion_test_helpers", + "./helper", "ui/accordion" ], function( $, testHelper ) { diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/options.js similarity index 99% rename from tests/unit/accordion/accordion_options.js rename to tests/unit/accordion/options.js index d33241dac..c95738c43 100644 --- a/tests/unit/accordion/accordion_options.js +++ b/tests/unit/accordion/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./accordion_test_helpers", + "./helper", "ui/accordion" ], function( $, testHelper ) { diff --git a/tests/unit/autocomplete/autocomplete_common.js b/tests/unit/autocomplete/common.js similarity index 100% rename from tests/unit/autocomplete/autocomplete_common.js rename to tests/unit/autocomplete/common.js diff --git a/tests/unit/autocomplete/autocomplete_core.js b/tests/unit/autocomplete/core.js similarity index 100% rename from tests/unit/autocomplete/autocomplete_core.js rename to tests/unit/autocomplete/core.js diff --git a/tests/unit/autocomplete/autocomplete_events.js b/tests/unit/autocomplete/events.js similarity index 100% rename from tests/unit/autocomplete/autocomplete_events.js rename to tests/unit/autocomplete/events.js diff --git a/tests/unit/autocomplete/autocomplete_methods.js b/tests/unit/autocomplete/methods.js similarity index 100% rename from tests/unit/autocomplete/autocomplete_methods.js rename to tests/unit/autocomplete/methods.js diff --git a/tests/unit/autocomplete/autocomplete_options.js b/tests/unit/autocomplete/options.js similarity index 100% rename from tests/unit/autocomplete/autocomplete_options.js rename to tests/unit/autocomplete/options.js diff --git a/tests/unit/button/button_common.js b/tests/unit/button/common.js similarity index 100% rename from tests/unit/button/button_common.js rename to tests/unit/button/common.js diff --git a/tests/unit/button/button_core.js b/tests/unit/button/core.js similarity index 100% rename from tests/unit/button/button_core.js rename to tests/unit/button/core.js diff --git a/tests/unit/button/button_events.js b/tests/unit/button/events.js similarity index 100% rename from tests/unit/button/button_events.js rename to tests/unit/button/events.js diff --git a/tests/unit/button/button_methods.js b/tests/unit/button/methods.js similarity index 100% rename from tests/unit/button/button_methods.js rename to tests/unit/button/methods.js diff --git a/tests/unit/button/button_options.js b/tests/unit/button/options.js similarity index 100% rename from tests/unit/button/button_options.js rename to tests/unit/button/options.js diff --git a/tests/unit/datepicker/datepicker_common.js b/tests/unit/datepicker/common.js similarity index 100% rename from tests/unit/datepicker/datepicker_common.js rename to tests/unit/datepicker/common.js diff --git a/tests/unit/datepicker/datepicker_core.js b/tests/unit/datepicker/core.js similarity index 99% rename from tests/unit/datepicker/datepicker_core.js rename to tests/unit/datepicker/core.js index a1e75848a..f6e0dd58f 100644 --- a/tests/unit/datepicker/datepicker_core.js +++ b/tests/unit/datepicker/core.js @@ -1,7 +1,7 @@ define( [ "jquery", "lib/common", - "./datepicker_test_helpers", + "./helper", "ui/datepicker", "ui/i18n/datepicker-he" ], function( $, common, testHelper ) { diff --git a/tests/unit/datepicker/datepicker_events.js b/tests/unit/datepicker/events.js similarity index 99% rename from tests/unit/datepicker/datepicker_events.js rename to tests/unit/datepicker/events.js index 04a4cbfe8..ea69c1aaa 100644 --- a/tests/unit/datepicker/datepicker_events.js +++ b/tests/unit/datepicker/events.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./datepicker_test_helpers", + "./helper", "ui/datepicker" ], function( $, testHelper ) { diff --git a/tests/unit/datepicker/datepicker_test_helpers.js b/tests/unit/datepicker/helper.js similarity index 100% rename from tests/unit/datepicker/datepicker_test_helpers.js rename to tests/unit/datepicker/helper.js diff --git a/tests/unit/datepicker/datepicker_methods.js b/tests/unit/datepicker/methods.js similarity index 99% rename from tests/unit/datepicker/datepicker_methods.js rename to tests/unit/datepicker/methods.js index 3899779a9..14fefacc2 100644 --- a/tests/unit/datepicker/datepicker_methods.js +++ b/tests/unit/datepicker/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./datepicker_test_helpers", + "./helper", "ui/datepicker" ], function( $, testHelper ) { diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/options.js similarity index 99% rename from tests/unit/datepicker/datepicker_options.js rename to tests/unit/datepicker/options.js index ee4a3bae4..c8a30678b 100644 --- a/tests/unit/datepicker/datepicker_options.js +++ b/tests/unit/datepicker/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./datepicker_test_helpers", + "./helper", "ui/datepicker", "ui/i18n/datepicker-fr", "ui/i18n/datepicker-he", diff --git a/tests/unit/dialog/dialog_common_deprecated.js b/tests/unit/dialog/common-deprecated.js similarity index 100% rename from tests/unit/dialog/dialog_common_deprecated.js rename to tests/unit/dialog/common-deprecated.js diff --git a/tests/unit/dialog/dialog_common.js b/tests/unit/dialog/common.js similarity index 100% rename from tests/unit/dialog/dialog_common.js rename to tests/unit/dialog/common.js diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/core.js similarity index 100% rename from tests/unit/dialog/dialog_core.js rename to tests/unit/dialog/core.js diff --git a/tests/unit/dialog/dialog_deprecated.html b/tests/unit/dialog/deprecated.html similarity index 100% rename from tests/unit/dialog/dialog_deprecated.html rename to tests/unit/dialog/deprecated.html diff --git a/tests/unit/dialog/dialog_deprecated.js b/tests/unit/dialog/deprecated.js similarity index 100% rename from tests/unit/dialog/dialog_deprecated.js rename to tests/unit/dialog/deprecated.js diff --git a/tests/unit/dialog/dialog_events.js b/tests/unit/dialog/events.js similarity index 99% rename from tests/unit/dialog/dialog_events.js rename to tests/unit/dialog/events.js index cc5bef8fa..5834b3481 100644 --- a/tests/unit/dialog/dialog_events.js +++ b/tests/unit/dialog/events.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./dialog_test_helpers", + "./helper", "ui/dialog" ], function( $, testHelper ) { diff --git a/tests/unit/dialog/dialog_test_helpers.js b/tests/unit/dialog/helper.js similarity index 100% rename from tests/unit/dialog/dialog_test_helpers.js rename to tests/unit/dialog/helper.js diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/methods.js similarity index 100% rename from tests/unit/dialog/dialog_methods.js rename to tests/unit/dialog/methods.js diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/options.js similarity index 99% rename from tests/unit/dialog/dialog_options.js rename to tests/unit/dialog/options.js index 1b9af7a09..c33a97c01 100644 --- a/tests/unit/dialog/dialog_options.js +++ b/tests/unit/dialog/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./dialog_test_helpers", + "./helper", "ui/dialog", "ui/effect-blind", "ui/effect-explode" diff --git a/tests/unit/draggable/draggable_common.js b/tests/unit/draggable/common.js similarity index 100% rename from tests/unit/draggable/draggable_common.js rename to tests/unit/draggable/common.js diff --git a/tests/unit/draggable/draggable_core.js b/tests/unit/draggable/core.js similarity index 99% rename from tests/unit/draggable/draggable_core.js rename to tests/unit/draggable/core.js index 6f6dc1a14..6e12b3521 100644 --- a/tests/unit/draggable/draggable_core.js +++ b/tests/unit/draggable/core.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./draggable_test_helpers", + "./helper", "ui/draggable", "ui/droppable", "ui/resizable" diff --git a/tests/unit/draggable/draggable_events.js b/tests/unit/draggable/events.js similarity index 100% rename from tests/unit/draggable/draggable_events.js rename to tests/unit/draggable/events.js diff --git a/tests/unit/draggable/draggable_test_helpers.js b/tests/unit/draggable/helper.js similarity index 100% rename from tests/unit/draggable/draggable_test_helpers.js rename to tests/unit/draggable/helper.js diff --git a/tests/unit/draggable/draggable_methods.js b/tests/unit/draggable/methods.js similarity index 99% rename from tests/unit/draggable/draggable_methods.js rename to tests/unit/draggable/methods.js index 74c5b67e8..195e9e2fb 100644 --- a/tests/unit/draggable/draggable_methods.js +++ b/tests/unit/draggable/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./draggable_test_helpers", + "./helper", "ui/draggable" ], function( $, testHelper ) { diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/options.js similarity index 99% rename from tests/unit/draggable/draggable_options.js rename to tests/unit/draggable/options.js index 5368103b7..877b4275c 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./draggable_test_helpers", + "./helper", "ui/draggable", "ui/droppable", "ui/sortable" diff --git a/tests/unit/droppable/droppable_common_deprecated.js b/tests/unit/droppable/common-deprecated.js similarity index 100% rename from tests/unit/droppable/droppable_common_deprecated.js rename to tests/unit/droppable/common-deprecated.js diff --git a/tests/unit/droppable/droppable_common.js b/tests/unit/droppable/common.js similarity index 100% rename from tests/unit/droppable/droppable_common.js rename to tests/unit/droppable/common.js diff --git a/tests/unit/droppable/droppable_core.js b/tests/unit/droppable/core.js similarity index 95% rename from tests/unit/droppable/droppable_core.js rename to tests/unit/droppable/core.js index 25d052a59..43608353d 100644 --- a/tests/unit/droppable/droppable_core.js +++ b/tests/unit/droppable/core.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./droppable_test_helpers", + "./helper", "ui/droppable" ], function( $, testHelper ) { diff --git a/tests/unit/droppable/droppable_deprecated.html b/tests/unit/droppable/deprecated.html similarity index 100% rename from tests/unit/droppable/droppable_deprecated.html rename to tests/unit/droppable/deprecated.html diff --git a/tests/unit/droppable/droppable_deprecated.js b/tests/unit/droppable/deprecated.js similarity index 100% rename from tests/unit/droppable/droppable_deprecated.js rename to tests/unit/droppable/deprecated.js diff --git a/tests/unit/droppable/droppable_events.js b/tests/unit/droppable/events.js similarity index 100% rename from tests/unit/droppable/droppable_events.js rename to tests/unit/droppable/events.js diff --git a/tests/unit/droppable/droppable_test_helpers.js b/tests/unit/droppable/helper.js similarity index 100% rename from tests/unit/droppable/droppable_test_helpers.js rename to tests/unit/droppable/helper.js diff --git a/tests/unit/droppable/droppable_methods.js b/tests/unit/droppable/methods.js similarity index 98% rename from tests/unit/droppable/droppable_methods.js rename to tests/unit/droppable/methods.js index 816fed0ec..1c9bba023 100644 --- a/tests/unit/droppable/droppable_methods.js +++ b/tests/unit/droppable/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "./droppable_test_helpers", + "./helper", "ui/droppable" ], function( $, testHelper ) { diff --git a/tests/unit/droppable/droppable_options.js b/tests/unit/droppable/options.js similarity index 100% rename from tests/unit/droppable/droppable_options.js rename to tests/unit/droppable/options.js diff --git a/tests/unit/effects/effects_core.js b/tests/unit/effects/core.js similarity index 100% rename from tests/unit/effects/effects_core.js rename to tests/unit/effects/core.js diff --git a/tests/unit/effects/effects.html b/tests/unit/effects/effects.html index d444d3853..91c31428c 100644 --- a/tests/unit/effects/effects.html +++ b/tests/unit/effects/effects.html @@ -5,7 +5,7 @@ jQuery UI Effects Test Suite -