aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/indicator-sound-test-base.h
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-01-29 15:40:16 +0100
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-01-29 15:40:16 +0100
commit46f1c75cfbceb69a4f948e935e8661a904b0cf2e (patch)
tree5ff44bde7e9ad5125fe97af826b28b0e31f493f1 /tests/integration/indicator-sound-test-base.h
parent3df5a15f0c7924214c1ae5fbaa5eca32b5c2cd54 (diff)
parent12715ce7e03fec9544d7261c87aa9ddaa39b75ad (diff)
downloadayatana-indicator-sound-46f1c75cfbceb69a4f948e935e8661a904b0cf2e.tar.gz
ayatana-indicator-sound-46f1c75cfbceb69a4f948e935e8661a904b0cf2e.tar.bz2
ayatana-indicator-sound-46f1c75cfbceb69a4f948e935e8661a904b0cf2e.zip
fixed conflict
Diffstat (limited to 'tests/integration/indicator-sound-test-base.h')
-rw-r--r--tests/integration/indicator-sound-test-base.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/integration/indicator-sound-test-base.h b/tests/integration/indicator-sound-test-base.h
index d9d3289..969fd69 100644
--- a/tests/integration/indicator-sound-test-base.h
+++ b/tests/integration/indicator-sound-test-base.h
@@ -81,6 +81,8 @@ protected:
bool runProcess(QProcess&);
bool startTestMprisPlayer(QString const& playerName);
+ bool stopTestMprisPlayer(QString const& playerName);
+ int findRunningTestMprisPlayer(QString const& playerName);
bool setTestMprisPlayerProperty(QString const &testPlayer, QString const &property, bool value);
@@ -156,6 +158,13 @@ protected:
QProcess testPlayer1;
+ struct TestPlayer
+ {
+ std::shared_ptr<QProcess> process;
+ QString name;
+ };
+ QVector<TestPlayer> testPlayers;
+
std::unique_ptr<MenusInterface> menu_interface_;
std::unique_ptr<DBusPropertiesInterface> accounts_interface_;