aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-11-05 16:27:14 -0600
committerTed Gould <ted@gould.cx>2014-11-05 16:27:14 -0600
commitc68f6432e5d53cbe6770da889f5a92c791977a67 (patch)
treefe04e908c16ddda114fce5c589679d22f0c493a5 /tests/indicator-test.cc
parent292c19d6e75ee4fa83b71cea3820d0efa6ecc5b0 (diff)
downloadayatana-indicator-sound-c68f6432e5d53cbe6770da889f5a92c791977a67.tar.gz
ayatana-indicator-sound-c68f6432e5d53cbe6770da889f5a92c791977a67.tar.bz2
ayatana-indicator-sound-c68f6432e5d53cbe6770da889f5a92c791977a67.zip
Some more action tests
Diffstat (limited to 'tests/indicator-test.cc')
-rw-r--r--tests/indicator-test.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc
index 7d122ee..47a95f3 100644
--- a/tests/indicator-test.cc
+++ b/tests/indicator-test.cc
@@ -51,5 +51,11 @@ TEST_F(IndicatorTest, DesktopMenu) {
TEST_F(IndicatorTest, SilentActions) {
setActions("/com/canonical/indicator/sound");
- expectActionExists("root");
+ expectActionExists("scroll");
+
+ expectActionExists("silent-mode");
+ expectActionStateIs("silent-mode", false);
+
+ expectActionExists("mute");
+ expectActionStateIs("mute", false);
}