aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/datepicker
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/datepicker
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/datepicker')
-rw-r--r--tests/unit/datepicker/datepicker_core.js12
-rw-r--r--tests/unit/datepicker/datepicker_defaults.js9
-rw-r--r--tests/unit/datepicker/datepicker_events.js12
-rw-r--r--tests/unit/datepicker/datepicker_methods.js12
-rw-r--r--tests/unit/datepicker/datepicker_options.js12
-rw-r--r--tests/unit/datepicker/datepicker_tickets.js12
6 files changed, 69 insertions, 0 deletions
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);