diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-21 16:01:33 +0200 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-21 16:01:33 +0200 |
commit | 22de41f3cc382adbf06be8642af5cfa7ec664c8e (patch) | |
tree | 77ad551d928582852a03a6a315051e462a5daf75 /tests/integration/utils/dbus-pulse-volume.cpp | |
parent | 42d7df585cf61eb64cdb7fc7e171969ce35f6173 (diff) | |
download | ayatana-indicator-sound-22de41f3cc382adbf06be8642af5cfa7ec664c8e.tar.gz ayatana-indicator-sound-22de41f3cc382adbf06be8642af5cfa7ec664c8e.tar.bz2 ayatana-indicator-sound-22de41f3cc382adbf06be8642af5cfa7ec664c8e.zip |
Added separated integration tests for desktop and phone, with different instances of pulseaudio
Diffstat (limited to 'tests/integration/utils/dbus-pulse-volume.cpp')
-rw-r--r-- | tests/integration/utils/dbus-pulse-volume.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp index a282f77..c8b6ae6 100644 --- a/tests/integration/utils/dbus-pulse-volume.cpp +++ b/tests/integration/utils/dbus-pulse-volume.cpp @@ -150,6 +150,11 @@ bool DBusPulseVolume::setVolume(QString const & role, double volume) } } } + else + { + qWarning() << "SetVolume::setVolume(): role " << role << " was not found."; + return false; + } return true; } |