]> source.dussan.org Git - jquery-ui.git/commitdiff
unit tests: created separate file for each module: core, common widget, events, metho...
authorRichard Worth <rdworth@gmail.com>
Mon, 2 Feb 2009 14:36:08 +0000 (14:36 +0000)
committerRichard Worth <rdworth@gmail.com>
Mon, 2 Feb 2009 14:36:08 +0000 (14:36 +0000)
48 files changed:
tests/unit/accordion/accordion_core.js [new file with mode: 0644]
tests/unit/accordion/accordion_defaults.js [new file with mode: 0644]
tests/unit/accordion/accordion_events.js [new file with mode: 0644]
tests/unit/accordion/accordion_methods.js [new file with mode: 0644]
tests/unit/accordion/accordion_options.js [new file with mode: 0644]
tests/unit/accordion/accordion_tickets.js [new file with mode: 0644]
tests/unit/datepicker/datepicker_core.js [new file with mode: 0644]
tests/unit/datepicker/datepicker_defaults.js [new file with mode: 0644]
tests/unit/datepicker/datepicker_events.js [new file with mode: 0644]
tests/unit/datepicker/datepicker_methods.js [new file with mode: 0644]
tests/unit/datepicker/datepicker_options.js [new file with mode: 0644]
tests/unit/datepicker/datepicker_tickets.js [new file with mode: 0644]
tests/unit/dialog/dialog_core.js [new file with mode: 0644]
tests/unit/dialog/dialog_defaults.js [new file with mode: 0644]
tests/unit/dialog/dialog_events.js [new file with mode: 0644]
tests/unit/dialog/dialog_methods.js [new file with mode: 0644]
tests/unit/dialog/dialog_options.js [new file with mode: 0644]
tests/unit/dialog/dialog_tickets.js [new file with mode: 0644]
tests/unit/progressbar/progressbar_core.js [new file with mode: 0644]
tests/unit/progressbar/progressbar_defaults.js [new file with mode: 0644]
tests/unit/progressbar/progressbar_events.js [new file with mode: 0644]
tests/unit/progressbar/progressbar_methods.js [new file with mode: 0644]
tests/unit/progressbar/progressbar_options.js [new file with mode: 0644]
tests/unit/progressbar/progressbar_tickets.js [new file with mode: 0644]
tests/unit/resizable/resizable_core.js [new file with mode: 0644]
tests/unit/resizable/resizable_defaults.js [new file with mode: 0644]
tests/unit/resizable/resizable_events.js [new file with mode: 0644]
tests/unit/resizable/resizable_methods.js [new file with mode: 0644]
tests/unit/resizable/resizable_options.js [new file with mode: 0644]
tests/unit/resizable/resizable_tickets.js [new file with mode: 0644]
tests/unit/selectable/selectable_core.js [new file with mode: 0644]
tests/unit/selectable/selectable_defaults.js [new file with mode: 0644]
tests/unit/selectable/selectable_events.js [new file with mode: 0644]
tests/unit/selectable/selectable_methods.js [new file with mode: 0644]
tests/unit/selectable/selectable_options.js [new file with mode: 0644]
tests/unit/selectable/selectable_tickets.js [new file with mode: 0644]
tests/unit/sortable/sortable_core.js [new file with mode: 0644]
tests/unit/sortable/sortable_defaults.js [new file with mode: 0644]
tests/unit/sortable/sortable_events.js [new file with mode: 0644]
tests/unit/sortable/sortable_methods.js [new file with mode: 0644]
tests/unit/sortable/sortable_options.js [new file with mode: 0644]
tests/unit/sortable/sortable_tickets.js [new file with mode: 0644]
tests/unit/tabs/tabs_core.js [new file with mode: 0644]
tests/unit/tabs/tabs_defaults.js [new file with mode: 0644]
tests/unit/tabs/tabs_events.js [new file with mode: 0644]
tests/unit/tabs/tabs_methods.js [new file with mode: 0644]
tests/unit/tabs/tabs_options.js [new file with mode: 0644]
tests/unit/tabs/tabs_tickets.js [new file with mode: 0644]

diff --git a/tests/unit/accordion/accordion_core.js b/tests/unit/accordion/accordion_core.js
new file mode 100644 (file)
index 0000000..eb74d1c
--- /dev/null
@@ -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 (file)
index 0000000..c6897a2
--- /dev/null
@@ -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 (file)
index 0000000..c7bcf56
--- /dev/null
@@ -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 (file)
index 0000000..f234ec2
--- /dev/null
@@ -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 (file)
index 0000000..3def620
--- /dev/null
@@ -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 (file)
index 0000000..f36d4c9
--- /dev/null
@@ -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 (file)
index 0000000..a3eefdf
--- /dev/null
@@ -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 (file)
index 0000000..015427d
--- /dev/null
@@ -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 (file)
index 0000000..57ca653
--- /dev/null
@@ -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 (file)
index 0000000..aa5fc3b
--- /dev/null
@@ -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 (file)
index 0000000..ad6b37c
--- /dev/null
@@ -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 (file)
index 0000000..50eb09c
--- /dev/null
@@ -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 (file)
index 0000000..fda357c
--- /dev/null
@@ -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 (file)
index 0000000..998a11b
--- /dev/null
@@ -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 (file)
index 0000000..bc88e97
--- /dev/null
@@ -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 (file)
index 0000000..16037ae
--- /dev/null
@@ -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 (file)
index 0000000..2d24708
--- /dev/null
@@ -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 (file)
index 0000000..996d450
--- /dev/null
@@ -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 (file)
index 0000000..b104ffe
--- /dev/null
@@ -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 (file)
index 0000000..7093481
--- /dev/null
@@ -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 (file)
index 0000000..26f2500
--- /dev/null
@@ -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 (file)
index 0000000..810d33a
--- /dev/null
@@ -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 (file)
index 0000000..4699a11
--- /dev/null
@@ -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 (file)
index 0000000..198b0b8
--- /dev/null
@@ -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 (file)
index 0000000..bc9b626
--- /dev/null
@@ -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 (file)
index 0000000..256f6fd
--- /dev/null
@@ -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 (file)
index 0000000..0395a55
--- /dev/null
@@ -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 (file)
index 0000000..b5703cd
--- /dev/null
@@ -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 (file)
index 0000000..f45d06f
--- /dev/null
@@ -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 (file)
index 0000000..73ee573
--- /dev/null
@@ -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 (file)
index 0000000..e4ccb9e
--- /dev/null
@@ -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 (file)
index 0000000..09cff3c
--- /dev/null
@@ -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 (file)
index 0000000..3fa1552
--- /dev/null
@@ -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 (file)
index 0000000..54adc4f
--- /dev/null
@@ -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 (file)
index 0000000..49108f4
--- /dev/null
@@ -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 (file)
index 0000000..8a9c9ea
--- /dev/null
@@ -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 (file)
index 0000000..0a050e8
--- /dev/null
@@ -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 (file)
index 0000000..392f1c8
--- /dev/null
@@ -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 (file)
index 0000000..9cdc2e5
--- /dev/null
@@ -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 (file)
index 0000000..cc505eb
--- /dev/null
@@ -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 (file)
index 0000000..49f291b
--- /dev/null
@@ -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 (file)
index 0000000..a5cd9a8
--- /dev/null
@@ -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 (file)
index 0000000..480573b
--- /dev/null
@@ -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 (file)
index 0000000..badbc21
--- /dev/null
@@ -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 (file)
index 0000000..3c3ea8d
--- /dev/null
@@ -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 (file)
index 0000000..9ab8216
--- /dev/null
@@ -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 (file)
index 0000000..02147ff
--- /dev/null
@@ -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 (file)
index 0000000..1d3485e
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+ * tabs_tickets.js
+ */
+(function($) {
+
+module("tabs: tickets");
+
+test("testname", function() {
+       ok(false, "missing test - untested code is broken code.");
+});
+
+})(jQuery);