aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/indicator-sound-test-base.h
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-03-04 16:25:39 +0100
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-03-04 16:25:39 +0100
commit1cc5e45c976b428730e928fa10c57288129ba0e1 (patch)
treedc1b95c67903a7c023ab27b6dee7c32eee72e134 /tests/integration/indicator-sound-test-base.h
parent2a6cae12898e132e9c50973999d85b0e80a33f4a (diff)
downloadayatana-indicator-sound-1cc5e45c976b428730e928fa10c57288129ba0e1.tar.gz
ayatana-indicator-sound-1cc5e45c976b428730e928fa10c57288129ba0e1.tar.bz2
ayatana-indicator-sound-1cc5e45c976b428730e928fa10c57288129ba0e1.zip
Added integration tests to detect external microphones
Diffstat (limited to 'tests/integration/indicator-sound-test-base.h')
-rw-r--r--tests/integration/indicator-sound-test-base.h6
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 5c36031..5b3545a 100644
--- a/tests/integration/indicator-sound-test-base.h
+++ b/tests/integration/indicator-sound-test-base.h
@@ -102,6 +102,8 @@ protected:
static unity::gmenuharness::MenuItemMatcher volumeSlider(double volume, QString const &label);
+ static unity::gmenuharness::MenuItemMatcher micSlider(double volume, QString const &label);
+
static unity::gmenuharness::MenuItemMatcher silentModeSwitch(bool toggled);
bool waitMenuChange();
@@ -132,6 +134,10 @@ protected:
bool activateHeadphones(bool headphonesActive);
+ bool plugExternalMic(bool activate);
+
+ bool setDefaultSinkOrSource(bool runForSinks, const QString & active, const QStringList & inactive);
+
QString getDevicePortString(DevicePortType port);
void checkPortDevicesLabels(DevicePortType speakerPort, DevicePortType headphonesPort);