From 01de4ffbc6f8cf2c5bc58d41f57eac01a91d89a9 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 24 Nov 2014 11:07:11 -0600 Subject: Change the other checks to use the assertion return --- tests/indicator-test.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/indicator-test.cc') diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc index 8599239..59daa35 100644 --- a/tests/indicator-test.cc +++ b/tests/indicator-test.cc @@ -63,11 +63,11 @@ TEST_F(IndicatorTest, DesktopMenu) { TEST_F(IndicatorTest, SilentActions) { setActions("/com/canonical/indicator/sound"); - expectActionExists("scroll"); + EXPECT_ACTION_EXISTS("scroll"); - expectActionExists("silent-mode"); - expectActionStateIs("silent-mode", false); + EXPECT_ACTION_EXISTS("silent-mode"); + EXPECT_ACTION_STATE("silent-mode", false); - expectActionExists("mute"); - expectActionStateIs("mute", false); + EXPECT_ACTION_EXISTS("mute"); + EXPECT_ACTION_STATE("mute", false); } -- cgit v1.2.3