aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/sortable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-02-02 14:36:08 +0000
committerRichard Worth <rdworth@gmail.com>2009-02-02 14:36:08 +0000
commit43ab3a04e549a31a0872b03f22d1e26ad22c2cb4 (patch)
treecc54ea5e747c3f8c1200c641dbe7fb6f96549922 /tests/unit/sortable
parentbf16dc1853dca7961947158a1d3be430362386eb (diff)
downloadjquery-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/sortable')
-rw-r--r--tests/unit/sortable/sortable_core.js12
-rw-r--r--tests/unit/sortable/sortable_defaults.js9
-rw-r--r--tests/unit/sortable/sortable_events.js12
-rw-r--r--tests/unit/sortable/sortable_methods.js12
-rw-r--r--tests/unit/sortable/sortable_options.js12
-rw-r--r--tests/unit/sortable/sortable_tickets.js12
6 files changed, 69 insertions, 0 deletions
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);