aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test.cc
diff options
context:
space:
mode:
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");
}