aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/test-indicator.cpp
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-18 15:15:59 +0200
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-18 15:15:59 +0200
commit09fc613f1ce55910698aca6b8b5d909ac3ae77a0 (patch)
tree3da08a9132673043b143e20b102b7489e704c5e8 /tests/integration/test-indicator.cpp
parent348a81decd37889ad46086383f5910f12a00c3c9 (diff)
downloadayatana-indicator-sound-09fc613f1ce55910698aca6b8b5d909ac3ae77a0.tar.gz
ayatana-indicator-sound-09fc613f1ce55910698aca6b8b5d909ac3ae77a0.tar.bz2
ayatana-indicator-sound-09fc613f1ce55910698aca6b8b5d909ac3ae77a0.zip
Added AccountsService Mock to the integration tests
Diffstat (limited to 'tests/integration/test-indicator.cpp')
-rw-r--r--tests/integration/test-indicator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration/test-indicator.cpp b/tests/integration/test-indicator.cpp
index 8803f91..bb5adec 100644
--- a/tests/integration/test-indicator.cpp
+++ b/tests/integration/test-indicator.cpp
@@ -36,6 +36,7 @@ TEST_F(TestIndicator, ChangeRoleVolume)
{
double INITIAL_VOLUME = 0.0;
+ ASSERT_NO_THROW(startAccountsService());
ASSERT_NO_THROW(startPulse());
// initialize volumes in pulseaudio
@@ -140,6 +141,7 @@ TEST_F(TestIndicator, BasicInitialVolume)
{
double INITIAL_VOLUME = 0.0;
+ ASSERT_NO_THROW(startAccountsService());
ASSERT_NO_THROW(startPulse());
// initialize volumes in pulseaudio