From 43ab3a04e549a31a0872b03f22d1e26ad22c2cb4 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 2 Feb 2009 14:36:08 +0000 Subject: unit tests: created separate file for each module: core, common widget, events, methods, options, tickets --- tests/unit/dialog/dialog_core.js | 12 ++++++++++++ tests/unit/dialog/dialog_defaults.js | 9 +++++++++ tests/unit/dialog/dialog_events.js | 12 ++++++++++++ tests/unit/dialog/dialog_methods.js | 12 ++++++++++++ tests/unit/dialog/dialog_options.js | 12 ++++++++++++ tests/unit/dialog/dialog_tickets.js | 12 ++++++++++++ 6 files changed, 69 insertions(+) create mode 100644 tests/unit/dialog/dialog_core.js create mode 100644 tests/unit/dialog/dialog_defaults.js create mode 100644 tests/unit/dialog/dialog_events.js create mode 100644 tests/unit/dialog/dialog_methods.js create mode 100644 tests/unit/dialog/dialog_options.js create mode 100644 tests/unit/dialog/dialog_tickets.js (limited to 'tests/unit/dialog') 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); -- cgit v1.2.3