aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-11-04 18:53:39 -0600
committerTed Gould <ted@gould.cx>2014-11-04 18:53:39 -0600
commit730b3c7005e53e7f76db15b39499b62ccd4c49d2 (patch)
tree875716a87fb8eb6ff9b1a1be86cd296ffb22b267 /tests/indicator-test.cc
parent5d1c2bc58614939a64a5d023f3b86d59fd8fb2a8 (diff)
downloadayatana-indicator-sound-730b3c7005e53e7f76db15b39499b62ccd4c49d2.tar.gz
ayatana-indicator-sound-730b3c7005e53e7f76db15b39499b62ccd4c49d2.tar.bz2
ayatana-indicator-sound-730b3c7005e53e7f76db15b39499b62ccd4c49d2.zip
Setup actions to get the action groups
Diffstat (limited to 'tests/indicator-test.cc')
-rw-r--r--tests/indicator-test.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc
index fd2819e..c919e31 100644
--- a/tests/indicator-test.cc
+++ b/tests/indicator-test.cc
@@ -47,3 +47,9 @@ TEST_F(IndicatorTest, DesktopMenu) {
EXPECT_MENU_ATTRIB({0}, "action", "indicator.root");
}
+
+TEST_F(IndicatorTest, SilentActions) {
+ setActions("/com/canonical/indicator/sound");
+
+ expectActionExists("indicator.root");
+}