aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/utils/dbus-pulse-volume.cpp
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-21 16:01:33 +0200
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-21 16:01:33 +0200
commit22de41f3cc382adbf06be8642af5cfa7ec664c8e (patch)
tree77ad551d928582852a03a6a315051e462a5daf75 /tests/integration/utils/dbus-pulse-volume.cpp
parent42d7df585cf61eb64cdb7fc7e171969ce35f6173 (diff)
downloadayatana-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.cpp5
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;
}