aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/indicator-sound-test-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/indicator-sound-test-base.h')
-rw-r--r--tests/integration/indicator-sound-test-base.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/integration/indicator-sound-test-base.h b/tests/integration/indicator-sound-test-base.h
index 04a579f..019efc9 100644
--- a/tests/integration/indicator-sound-test-base.h
+++ b/tests/integration/indicator-sound-test-base.h
@@ -45,10 +45,13 @@ protected:
void TearDown() override;
void startIndicator();
- void startPulse();
+ void startPulseDesktop();
+ void startPulsePhone();
void startAccountsService();
- bool setVolume(QString const &role, double volume);
+ bool setStreamRestoreVolume(QString const &role, double volume);
+
+ bool setSinkVolume(double volume);
bool startTestSound(QString const &role);
@@ -58,8 +61,12 @@ protected:
static unity::gmenuharness::MenuMatcher::Parameters desktopParameters();
+ static unity::gmenuharness::MenuMatcher::Parameters phoneParameters();
+
static unity::gmenuharness::MenuItemMatcher volumeSlider(double volume);
+ static unity::gmenuharness::MenuItemMatcher silentModeSwitch(bool toggled);
+
bool waitMenuChange();
bool waitVolumeChangedInIndicator();