Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/apps/system/test/unit/mock_custom_dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/test/unit/mock_custom_dialog.js')
-rw-r--r--apps/system/test/unit/mock_custom_dialog.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/apps/system/test/unit/mock_custom_dialog.js b/apps/system/test/unit/mock_custom_dialog.js
deleted file mode 100644
index ed4b927..0000000
--- a/apps/system/test/unit/mock_custom_dialog.js
+++ /dev/null
@@ -1,26 +0,0 @@
-var MockCustomDialog = {
- show: function(title, msg, cancel, confirm) {
- this.mShown = true;
- this.mShowedTitle = title;
- this.mShowedMsg = msg;
- this.mShowedCancel = cancel;
- this.mShowedConfirm = confirm;
- },
-
- hide: function() {
- this.mShown = false;
- },
-
- mShown: false,
- mShowedTitle: null,
- mShowedMsg: null,
- mShowedCancel: null,
- mShowedConfirm: null,
- mTeardown: function teardown() {
- this.mShown = false;
- this.mShowedTitle = null;
- this.mShowedMsg = null;
- this.mShowedCancel = null;
- this.mShowedConfirm = null;
- }
-};