Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/apps/system/test/unit/mock_utility_tray.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/test/unit/mock_utility_tray.js')
-rw-r--r--apps/system/test/unit/mock_utility_tray.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/system/test/unit/mock_utility_tray.js b/apps/system/test/unit/mock_utility_tray.js
new file mode 100644
index 0000000..8bf8a8b
--- /dev/null
+++ b/apps/system/test/unit/mock_utility_tray.js
@@ -0,0 +1,14 @@
+var MockUtilityTray = {
+ show: function() {
+ this.mShown = true;
+ },
+
+ hide: function() {
+ this.mShown = false;
+ },
+
+ mShown: false,
+ mTeardown: function teardown() {
+ this.mShown = false;
+ }
+};