aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-09 10:54:12 -0600
committerTed Gould <ted@gould.cx>2015-02-09 10:54:12 -0600
commit00d4c04919b70f53fd6c6242e59aee631799dc4f (patch)
tree9f91d4c6b24c62b8d3985af584482daa29fb301b /tests/indicator-test.cc
parent91f42ea2266bd4201c1a9f0a9d7e47d431c601c3 (diff)
downloadayatana-indicator-sound-00d4c04919b70f53fd6c6242e59aee631799dc4f.tar.gz
ayatana-indicator-sound-00d4c04919b70f53fd6c6242e59aee631799dc4f.tar.bz2
ayatana-indicator-sound-00d4c04919b70f53fd6c6242e59aee631799dc4f.zip
Basis of expecting eventually a set of test functions
Diffstat (limited to 'tests/indicator-test.cc')
-rw-r--r--tests/indicator-test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc
index 31494d4..07d5f91 100644
--- a/tests/indicator-test.cc
+++ b/tests/indicator-test.cc
@@ -58,7 +58,7 @@ protected:
TEST_F(IndicatorTest, PhoneMenu) {
setMenu("/com/canonical/indicator/sound/phone");
- EXPECT_MENU_ATTRIB({0}, "action", "indicator.root");
+ EXPECT_EVENTUALLY_MENU_ATTRIB(std::vector<int>({0}), "action", "indicator.root");
EXPECT_MENU_ATTRIB({0}, "x-canonical-type", "com.canonical.indicator.root");
EXPECT_MENU_ATTRIB({0}, "x-canonical-scroll-action", "indicator.scroll");
EXPECT_MENU_ATTRIB({0}, "x-canonical-secondary-action", "indicator.mute");