diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2016-03-07 10:13:52 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2016-03-07 10:13:52 +0000 |
commit | a03ba9b8fe38bad63a5b14096dfadc7341e1eac6 (patch) | |
tree | 4f9756dc0694d4fd2fe25087317a80a9f468205d /tests/integration/indicator-sound-test-base.h | |
parent | 5e59aeb7d963648d0975799ad69da865dc552bf7 (diff) | |
parent | 1cc5e45c976b428730e928fa10c57288129ba0e1 (diff) | |
download | ayatana-indicator-sound-a03ba9b8fe38bad63a5b14096dfadc7341e1eac6.tar.gz ayatana-indicator-sound-a03ba9b8fe38bad63a5b14096dfadc7341e1eac6.tar.bz2 ayatana-indicator-sound-a03ba9b8fe38bad63a5b14096dfadc7341e1eac6.zip |
Add changes to show up the microphone controls when an external microphone is detected.
Approved by: PS Jenkins bot, Charles Kerr
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 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); |