aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/indicator-sound-test-base.h
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/indicator-sound-test-base.h
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/indicator-sound-test-base.h')
-rw-r--r--tests/integration/indicator-sound-test-base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration/indicator-sound-test-base.h b/tests/integration/indicator-sound-test-base.h
index 81d8204..04a579f 100644
--- a/tests/integration/indicator-sound-test-base.h
+++ b/tests/integration/indicator-sound-test-base.h
@@ -46,6 +46,7 @@ protected:
void startIndicator();
void startPulse();
+ void startAccountsService();
bool setVolume(QString const &role, double volume);
@@ -73,6 +74,8 @@ protected:
QtDBusTest::DBusServicePtr pulseaudio;
+ QtDBusTest::DBusServicePtr accountsService;
+
QProcess testSoundProcess;
std::unique_ptr<MenusInterface> menu_interface_;