diff options
author | Richard Worth <rdworth@gmail.com> | 2009-02-02 14:36:08 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-02-02 14:36:08 +0000 |
commit | 43ab3a04e549a31a0872b03f22d1e26ad22c2cb4 (patch) | |
tree | cc54ea5e747c3f8c1200c641dbe7fb6f96549922 /tests/unit | |
parent | bf16dc1853dca7961947158a1d3be430362386eb (diff) | |
download | jquery-ui-43ab3a04e549a31a0872b03f22d1e26ad22c2cb4.tar.gz jquery-ui-43ab3a04e549a31a0872b03f22d1e26ad22c2cb4.zip |
unit tests: created separate file for each module: core, common widget, events, methods, options, tickets
Diffstat (limited to 'tests/unit')
48 files changed, 552 insertions, 0 deletions
diff --git a/tests/unit/accordion/accordion_core.js b/tests/unit/accordion/accordion_core.js new file mode 100644 index 000000000..eb74d1cef --- /dev/null +++ b/tests/unit/accordion/accordion_core.js @@ -0,0 +1,12 @@ +/* + * accordion_core.js + */ +(function($) { + +module("accordion: core"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/accordion/accordion_defaults.js b/tests/unit/accordion/accordion_defaults.js new file mode 100644 index 000000000..c6897a23f --- /dev/null +++ b/tests/unit/accordion/accordion_defaults.js @@ -0,0 +1,9 @@ +/* + * accordion_defaults.js + */ + +var accordion_defaults = { + disabled: false +}; + +commonWidgetTests('accordion', { defaults: accordion_defaults }); diff --git a/tests/unit/accordion/accordion_events.js b/tests/unit/accordion/accordion_events.js new file mode 100644 index 000000000..c7bcf565e --- /dev/null +++ b/tests/unit/accordion/accordion_events.js @@ -0,0 +1,12 @@ +/* + * accordion_events.js + */ +(function($) { + +module("accordion: events"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js new file mode 100644 index 000000000..f234ec293 --- /dev/null +++ b/tests/unit/accordion/accordion_methods.js @@ -0,0 +1,12 @@ +/* + * accordion_methods.js + */ +(function($) { + +module("accordion: methods"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js new file mode 100644 index 000000000..3def620df --- /dev/null +++ b/tests/unit/accordion/accordion_options.js @@ -0,0 +1,12 @@ +/* + * accordion_options.js + */ +(function($) { + +module("accordion: options"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/accordion/accordion_tickets.js b/tests/unit/accordion/accordion_tickets.js new file mode 100644 index 000000000..f36d4c971 --- /dev/null +++ b/tests/unit/accordion/accordion_tickets.js @@ -0,0 +1,12 @@ +/* + * accordion_tickets.js + */ +(function($) { + +module("accordion: tickets"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/datepicker/datepicker_core.js b/tests/unit/datepicker/datepicker_core.js new file mode 100644 index 000000000..a3eefdf78 --- /dev/null +++ b/tests/unit/datepicker/datepicker_core.js @@ -0,0 +1,12 @@ +/* + * datepicker_core.js + */ +(function($) { + +module("datepicker: core"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/datepicker/datepicker_defaults.js b/tests/unit/datepicker/datepicker_defaults.js new file mode 100644 index 000000000..015427ddf --- /dev/null +++ b/tests/unit/datepicker/datepicker_defaults.js @@ -0,0 +1,9 @@ +/* + * datepicker_defaults.js + */ + +var datepicker_defaults = { + disabled: false +}; + +commonWidgetTests('datepicker', { defaults: datepicker_defaults }); diff --git a/tests/unit/datepicker/datepicker_events.js b/tests/unit/datepicker/datepicker_events.js new file mode 100644 index 000000000..57ca65334 --- /dev/null +++ b/tests/unit/datepicker/datepicker_events.js @@ -0,0 +1,12 @@ +/* + * datepicker_events.js + */ +(function($) { + +module("datepicker: events"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/datepicker/datepicker_methods.js b/tests/unit/datepicker/datepicker_methods.js new file mode 100644 index 000000000..aa5fc3b03 --- /dev/null +++ b/tests/unit/datepicker/datepicker_methods.js @@ -0,0 +1,12 @@ +/* + * datepicker_methods.js + */ +(function($) { + +module("datepicker: methods"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js new file mode 100644 index 000000000..ad6b37ccb --- /dev/null +++ b/tests/unit/datepicker/datepicker_options.js @@ -0,0 +1,12 @@ +/* + * datepicker_options.js + */ +(function($) { + +module("datepicker: options"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/datepicker/datepicker_tickets.js b/tests/unit/datepicker/datepicker_tickets.js new file mode 100644 index 000000000..50eb09c17 --- /dev/null +++ b/tests/unit/datepicker/datepicker_tickets.js @@ -0,0 +1,12 @@ +/* + * datepicker_tickets.js + */ +(function($) { + +module("datepicker: tickets"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/dialog_core.js new file mode 100644 index 000000000..fda357c82 --- /dev/null +++ b/tests/unit/dialog/dialog_core.js @@ -0,0 +1,12 @@ +/* + * dialog_core.js + */ +(function($) { + +module("dialog: core"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/dialog/dialog_defaults.js b/tests/unit/dialog/dialog_defaults.js new file mode 100644 index 000000000..998a11b70 --- /dev/null +++ b/tests/unit/dialog/dialog_defaults.js @@ -0,0 +1,9 @@ +/* + * dialog_defaults.js + */ + +var dialog_defaults = { + disabled: false +}; + +commonWidgetTests('dialog', { defaults: dialog_defaults }); diff --git a/tests/unit/dialog/dialog_events.js b/tests/unit/dialog/dialog_events.js new file mode 100644 index 000000000..bc88e9747 --- /dev/null +++ b/tests/unit/dialog/dialog_events.js @@ -0,0 +1,12 @@ +/* + * dialog_events.js + */ +(function($) { + +module("dialog: events"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js new file mode 100644 index 000000000..16037ae7c --- /dev/null +++ b/tests/unit/dialog/dialog_methods.js @@ -0,0 +1,12 @@ +/* + * dialog_methods.js + */ +(function($) { + +module("dialog: methods"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js new file mode 100644 index 000000000..2d2470852 --- /dev/null +++ b/tests/unit/dialog/dialog_options.js @@ -0,0 +1,12 @@ +/* + * dialog_options.js + */ +(function($) { + +module("dialog: options"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/dialog/dialog_tickets.js b/tests/unit/dialog/dialog_tickets.js new file mode 100644 index 000000000..996d4509c --- /dev/null +++ b/tests/unit/dialog/dialog_tickets.js @@ -0,0 +1,12 @@ +/* + * dialog_tickets.js + */ +(function($) { + +module("dialog: tickets"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/progressbar/progressbar_core.js b/tests/unit/progressbar/progressbar_core.js new file mode 100644 index 000000000..b104ffe38 --- /dev/null +++ b/tests/unit/progressbar/progressbar_core.js @@ -0,0 +1,12 @@ +/* + * progressbar_core.js + */ +(function($) { + +module("progressbar: core"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/progressbar/progressbar_defaults.js b/tests/unit/progressbar/progressbar_defaults.js new file mode 100644 index 000000000..70934818c --- /dev/null +++ b/tests/unit/progressbar/progressbar_defaults.js @@ -0,0 +1,9 @@ +/* + * progressbar_defaults.js + */ + +var progressbar_defaults = { + disabled: false +}; + +commonWidgetTests('progressbar', { defaults: progressbar_defaults }); diff --git a/tests/unit/progressbar/progressbar_events.js b/tests/unit/progressbar/progressbar_events.js new file mode 100644 index 000000000..26f2500ec --- /dev/null +++ b/tests/unit/progressbar/progressbar_events.js @@ -0,0 +1,12 @@ +/* + * progressbar_events.js + */ +(function($) { + +module("progressbar: events"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/progressbar/progressbar_methods.js b/tests/unit/progressbar/progressbar_methods.js new file mode 100644 index 000000000..810d33a11 --- /dev/null +++ b/tests/unit/progressbar/progressbar_methods.js @@ -0,0 +1,12 @@ +/* + * progressbar_methods.js + */ +(function($) { + +module("progressbar: methods"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/progressbar/progressbar_options.js b/tests/unit/progressbar/progressbar_options.js new file mode 100644 index 000000000..4699a11e4 --- /dev/null +++ b/tests/unit/progressbar/progressbar_options.js @@ -0,0 +1,12 @@ +/* + * progressbar_options.js + */ +(function($) { + +module("progressbar: options"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/progressbar/progressbar_tickets.js b/tests/unit/progressbar/progressbar_tickets.js new file mode 100644 index 000000000..198b0b852 --- /dev/null +++ b/tests/unit/progressbar/progressbar_tickets.js @@ -0,0 +1,12 @@ +/* + * progressbar_tickets.js + */ +(function($) { + +module("progressbar: tickets"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/resizable/resizable_core.js b/tests/unit/resizable/resizable_core.js new file mode 100644 index 000000000..bc9b62650 --- /dev/null +++ b/tests/unit/resizable/resizable_core.js @@ -0,0 +1,12 @@ +/* + * resizable_core.js + */ +(function($) { + +module("resizable: core"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/resizable/resizable_defaults.js b/tests/unit/resizable/resizable_defaults.js new file mode 100644 index 000000000..256f6fdec --- /dev/null +++ b/tests/unit/resizable/resizable_defaults.js @@ -0,0 +1,9 @@ +/* + * resizable_defaults.js + */ + +var resizable_defaults = { + disabled: false +}; + +commonWidgetTests('resizable', { defaults: resizable_defaults }); diff --git a/tests/unit/resizable/resizable_events.js b/tests/unit/resizable/resizable_events.js new file mode 100644 index 000000000..0395a55e7 --- /dev/null +++ b/tests/unit/resizable/resizable_events.js @@ -0,0 +1,12 @@ +/* + * resizable_events.js + */ +(function($) { + +module("resizable: events"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/resizable/resizable_methods.js b/tests/unit/resizable/resizable_methods.js new file mode 100644 index 000000000..b5703cde6 --- /dev/null +++ b/tests/unit/resizable/resizable_methods.js @@ -0,0 +1,12 @@ +/* + * resizable_methods.js + */ +(function($) { + +module("resizable: methods"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/resizable/resizable_options.js b/tests/unit/resizable/resizable_options.js new file mode 100644 index 000000000..f45d06f04 --- /dev/null +++ b/tests/unit/resizable/resizable_options.js @@ -0,0 +1,12 @@ +/* + * resizable_options.js + */ +(function($) { + +module("resizable: options"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/resizable/resizable_tickets.js b/tests/unit/resizable/resizable_tickets.js new file mode 100644 index 000000000..73ee57359 --- /dev/null +++ b/tests/unit/resizable/resizable_tickets.js @@ -0,0 +1,12 @@ +/* + * resizable_tickets.js + */ +(function($) { + +module("resizable: tickets"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/selectable/selectable_core.js b/tests/unit/selectable/selectable_core.js new file mode 100644 index 000000000..e4ccb9efd --- /dev/null +++ b/tests/unit/selectable/selectable_core.js @@ -0,0 +1,12 @@ +/* + * selectable_core.js + */ +(function($) { + +module("selectable: core"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/selectable/selectable_defaults.js b/tests/unit/selectable/selectable_defaults.js new file mode 100644 index 000000000..09cff3ce1 --- /dev/null +++ b/tests/unit/selectable/selectable_defaults.js @@ -0,0 +1,9 @@ +/* + * selectable_defaults.js + */ + +var selectable_defaults = { + disabled: false +}; + +commonWidgetTests('selectable', { defaults: selectable_defaults }); diff --git a/tests/unit/selectable/selectable_events.js b/tests/unit/selectable/selectable_events.js new file mode 100644 index 000000000..3fa1552ba --- /dev/null +++ b/tests/unit/selectable/selectable_events.js @@ -0,0 +1,12 @@ +/* + * selectable_events.js + */ +(function($) { + +module("selectable: events"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/selectable/selectable_methods.js b/tests/unit/selectable/selectable_methods.js new file mode 100644 index 000000000..54adc4f87 --- /dev/null +++ b/tests/unit/selectable/selectable_methods.js @@ -0,0 +1,12 @@ +/* + * selectable_methods.js + */ +(function($) { + +module("selectable: methods"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/selectable/selectable_options.js b/tests/unit/selectable/selectable_options.js new file mode 100644 index 000000000..49108f4d8 --- /dev/null +++ b/tests/unit/selectable/selectable_options.js @@ -0,0 +1,12 @@ +/* + * selectable_options.js + */ +(function($) { + +module("selectable: options"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/selectable/selectable_tickets.js b/tests/unit/selectable/selectable_tickets.js new file mode 100644 index 000000000..8a9c9eae7 --- /dev/null +++ b/tests/unit/selectable/selectable_tickets.js @@ -0,0 +1,12 @@ +/* + * selectable_tickets.js + */ +(function($) { + +module("selectable: tickets"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/sortable/sortable_core.js b/tests/unit/sortable/sortable_core.js new file mode 100644 index 000000000..0a050e800 --- /dev/null +++ b/tests/unit/sortable/sortable_core.js @@ -0,0 +1,12 @@ +/* + * sortable_core.js + */ +(function($) { + +module("sortable: core"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/sortable/sortable_defaults.js b/tests/unit/sortable/sortable_defaults.js new file mode 100644 index 000000000..392f1c858 --- /dev/null +++ b/tests/unit/sortable/sortable_defaults.js @@ -0,0 +1,9 @@ +/* + * sortable_defaults.js + */ + +var sortable_defaults = { + disabled: false +}; + +commonWidgetTests('sortable', { defaults: sortable_defaults }); diff --git a/tests/unit/sortable/sortable_events.js b/tests/unit/sortable/sortable_events.js new file mode 100644 index 000000000..9cdc2e5dc --- /dev/null +++ b/tests/unit/sortable/sortable_events.js @@ -0,0 +1,12 @@ +/* + * sortable_events.js + */ +(function($) { + +module("sortable: events"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/sortable/sortable_methods.js b/tests/unit/sortable/sortable_methods.js new file mode 100644 index 000000000..cc505ebc0 --- /dev/null +++ b/tests/unit/sortable/sortable_methods.js @@ -0,0 +1,12 @@ +/* + * sortable_methods.js + */ +(function($) { + +module("sortable: methods"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/sortable/sortable_options.js b/tests/unit/sortable/sortable_options.js new file mode 100644 index 000000000..49f291bb6 --- /dev/null +++ b/tests/unit/sortable/sortable_options.js @@ -0,0 +1,12 @@ +/* + * sortable_options.js + */ +(function($) { + +module("sortable: options"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/sortable/sortable_tickets.js b/tests/unit/sortable/sortable_tickets.js new file mode 100644 index 000000000..a5cd9a8de --- /dev/null +++ b/tests/unit/sortable/sortable_tickets.js @@ -0,0 +1,12 @@ +/* + * sortable_tickets.js + */ +(function($) { + +module("sortable: tickets"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/tabs/tabs_core.js b/tests/unit/tabs/tabs_core.js new file mode 100644 index 000000000..480573bfd --- /dev/null +++ b/tests/unit/tabs/tabs_core.js @@ -0,0 +1,12 @@ +/* + * tabs_core.js + */ +(function($) { + +module("tabs: core"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/tabs/tabs_defaults.js b/tests/unit/tabs/tabs_defaults.js new file mode 100644 index 000000000..badbc2126 --- /dev/null +++ b/tests/unit/tabs/tabs_defaults.js @@ -0,0 +1,9 @@ +/* + * tabs_defaults.js + */ + +var tabs_defaults = { + disabled: false +}; + +commonWidgetTests('tabs', { defaults: tabs_defaults }); diff --git a/tests/unit/tabs/tabs_events.js b/tests/unit/tabs/tabs_events.js new file mode 100644 index 000000000..3c3ea8d86 --- /dev/null +++ b/tests/unit/tabs/tabs_events.js @@ -0,0 +1,12 @@ +/* + * tabs_events.js + */ +(function($) { + +module("tabs: events"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/tabs/tabs_methods.js b/tests/unit/tabs/tabs_methods.js new file mode 100644 index 000000000..9ab8216c9 --- /dev/null +++ b/tests/unit/tabs/tabs_methods.js @@ -0,0 +1,12 @@ +/* + * tabs_methods.js + */ +(function($) { + +module("tabs: methods"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/tabs/tabs_options.js b/tests/unit/tabs/tabs_options.js new file mode 100644 index 000000000..02147ff70 --- /dev/null +++ b/tests/unit/tabs/tabs_options.js @@ -0,0 +1,12 @@ +/* + * tabs_options.js + */ +(function($) { + +module("tabs: options"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); diff --git a/tests/unit/tabs/tabs_tickets.js b/tests/unit/tabs/tabs_tickets.js new file mode 100644 index 000000000..1d3485e88 --- /dev/null +++ b/tests/unit/tabs/tabs_tickets.js @@ -0,0 +1,12 @@ +/* + * tabs_tickets.js + */ +(function($) { + +module("tabs: tickets"); + +test("testname", function() { + ok(false, "missing test - untested code is broken code."); +}); + +})(jQuery); |