aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/indicator-sound-test-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/indicator-sound-test-base.h')
-rw-r--r--tests/integration/indicator-sound-test-base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/integration/indicator-sound-test-base.h b/tests/integration/indicator-sound-test-base.h
index f9df9bb..41dd1c7 100644
--- a/tests/integration/indicator-sound-test-base.h
+++ b/tests/integration/indicator-sound-test-base.h
@@ -31,6 +31,7 @@
class MenusInterface;
class DBusPulseVolume;
class DBusPropertiesInterface;
+class AccountsInterface;
class QSignalSpy;
#define WAIT_FOR_SIGNALS(signalSpy, signalsExpected)\
@@ -131,6 +132,8 @@ protected:
void checkPortDevicesLabels(DevicePortType speakerPort, DevicePortType headphonesPort);
+ bool setVolumeUntilAccountsIsConnected(double volume);
+
QtDBusTest::DBusTestRunner dbusTestRunner;
QtDBusMock::DBusMock dbusMock;
@@ -149,6 +152,8 @@ protected:
std::unique_ptr<DBusPropertiesInterface> accounts_interface_;
+ std::unique_ptr<AccountsInterface> main_accounts_interface_;
+
std::unique_ptr<QSignalSpy> signal_spy_volume_changed_;
std::unique_ptr<QSignalSpy> signal_spy_menu_changed_;