aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-10-28 21:19:26 -0500
committerTed Gould <ted@gould.cx>2014-10-28 21:19:26 -0500
commitb62d0b2dd397ed513565c764a83018507e259790 (patch)
tree5f48a39e868902654fcf973ebe0ab046e5a44adc /tests/indicator-test.cc
parent69a8fcaa1aacd2a43da2011ff5fb79e4ed2d8bbe (diff)
downloadayatana-indicator-sound-b62d0b2dd397ed513565c764a83018507e259790.tar.gz
ayatana-indicator-sound-b62d0b2dd397ed513565c764a83018507e259790.tar.bz2
ayatana-indicator-sound-b62d0b2dd397ed513565c764a83018507e259790.zip
Get menus harder
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 72546d6..aac8cb0 100644
--- a/tests/indicator-test.cc
+++ b/tests/indicator-test.cc
@@ -37,4 +37,10 @@ TEST_F(IndicatorTest, StartStop) {
setMenu("/com/canonical/indicator/sound/phone");
EXPECT_MENU_ATTRIB({0}, "action", "indicator.root");
+ EXPECT_MENU_ATTRIB({0}, "x-canonical-type", "com.canonical.indicator.root");
+
+ // EXPECT_MENU_ATTRIB({0, 0, 0}, "action", "indicator.silent-mode");
+
+ setMenu("/com/canonical/indicator/sound/desktop");
+ EXPECT_MENU_ATTRIB({0}, "action", "indicator.root");
}