From c68f6432e5d53cbe6770da889f5a92c791977a67 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 5 Nov 2014 16:27:14 -0600 Subject: Some more action tests --- tests/indicator-test.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/indicator-test.cc') 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); } -- cgit v1.2.3