diff options
author | Ted Gould <ted@gould.cx> | 2014-11-24 11:07:11 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-11-24 11:07:11 -0600 |
commit | 01de4ffbc6f8cf2c5bc58d41f57eac01a91d89a9 (patch) | |
tree | b4a8d7296b05567a06e19ee6b7fa9cd8bd783aff /tests/indicator-test.cc | |
parent | 70e1a5b010c26562168a08c16fee3bb56ba90eb2 (diff) | |
download | ayatana-indicator-sound-01de4ffbc6f8cf2c5bc58d41f57eac01a91d89a9.tar.gz ayatana-indicator-sound-01de4ffbc6f8cf2c5bc58d41f57eac01a91d89a9.tar.bz2 ayatana-indicator-sound-01de4ffbc6f8cf2c5bc58d41f57eac01a91d89a9.zip |
Change the other checks to use the assertion return
Diffstat (limited to 'tests/indicator-test.cc')
-rw-r--r-- | tests/indicator-test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
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); } |