diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2016-01-05 15:08:24 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2016-01-05 15:08:24 +0000 |
commit | de52ce976216ffb25bfb2c3ff3729b6fcf2ec9f4 (patch) | |
tree | b0b4a1fa061be766576e663ac67c63fd2b445563 /tests/integration/indicator-sound-test-base.h | |
parent | e1feb61a02a1353b42fcd85ced8e0489c711a451 (diff) | |
parent | 6f4f8c2b9caee08499a3a9ee3fd434c2b6a0f3ca (diff) | |
download | ayatana-indicator-sound-de52ce976216ffb25bfb2c3ff3729b6fcf2ec9f4.tar.gz ayatana-indicator-sound-de52ce976216ffb25bfb2c3ff3729b6fcf2ec9f4.tar.bz2 ayatana-indicator-sound-de52ce976216ffb25bfb2c3ff3729b6fcf2ec9f4.zip |
Adds an action to signal the UI to sync the current volume when we are waiting for the user to confirm or reject the high volume notification. Fixes: #1512798, #1520548
Approved by: PS Jenkins bot, Charles Kerr, Nick Dedekind
Diffstat (limited to 'tests/integration/indicator-sound-test-base.h')
-rw-r--r-- | tests/integration/indicator-sound-test-base.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/integration/indicator-sound-test-base.h b/tests/integration/indicator-sound-test-base.h index 41dd1c7..67f347f 100644 --- a/tests/integration/indicator-sound-test-base.h +++ b/tests/integration/indicator-sound-test-base.h @@ -134,6 +134,12 @@ protected: bool setVolumeUntilAccountsIsConnected(double volume); + QVariantList getActionValue(QString const &action); + + qlonglong getVolumeSyncValue(bool *isValid = nullptr); + + float getVolumeValue(bool *isValid = nullptr); + QtDBusTest::DBusTestRunner dbusTestRunner; QtDBusMock::DBusMock dbusMock; |