aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs
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/tabs
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/tabs')
-rw-r--r--tests/unit/tabs/tabs_core.js12
-rw-r--r--tests/unit/tabs/tabs_defaults.js9
-rw-r--r--tests/unit/tabs/tabs_events.js12
-rw-r--r--tests/unit/tabs/tabs_methods.js12
-rw-r--r--tests/unit/tabs/tabs_options.js12
-rw-r--r--tests/unit/tabs/tabs_tickets.js12
6 files changed, 69 insertions, 0 deletions
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);