aboutsummaryrefslogtreecommitdiff
path: root/tests/sound-menu.cc
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-02-10 14:08:49 +0100
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-02-10 14:08:49 +0100
commitf1bdb863aea00a03acf9501432e2baa70dd9ee8b (patch)
tree8ab41e0d437047d35464a3c464c33cf037c35438 /tests/sound-menu.cc
parentd17217847987bc11f139f2676715beb74e0406ff (diff)
downloadayatana-indicator-sound-f1bdb863aea00a03acf9501432e2baa70dd9ee8b.tar.gz
ayatana-indicator-sound-f1bdb863aea00a03acf9501432e2baa70dd9ee8b.tar.bz2
ayatana-indicator-sound-f1bdb863aea00a03acf9501432e2baa70dd9ee8b.zip
Added persistence for last running player
Diffstat (limited to 'tests/sound-menu.cc')
-rw-r--r--tests/sound-menu.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sound-menu.cc b/tests/sound-menu.cc
index ca8b426..2576d19 100644
--- a/tests/sound-menu.cc
+++ b/tests/sound-menu.cc
@@ -62,7 +62,7 @@ class SoundMenuTest : public ::testing::Test
void check_player_control_buttons(bool canPlay, bool canNext, bool canPrev)
{
- SoundMenu * menu = sound_menu_new (nullptr, SOUND_MENU_DISPLAY_FLAGS_NONE);
+ SoundMenu * menu = sound_menu_new (nullptr, SOUND_MENU_DISPLAY_FLAGS_NONE, "");
MediaPlayerTrack * track = media_player_track_new("Artist", "Title", "Album", "http://art.url");
@@ -125,7 +125,7 @@ class SoundMenuTest : public ::testing::Test
};
TEST_F(SoundMenuTest, BasicObject) {
- SoundMenu * menu = sound_menu_new (nullptr, SOUND_MENU_DISPLAY_FLAGS_NONE);
+ SoundMenu * menu = sound_menu_new (nullptr, SOUND_MENU_DISPLAY_FLAGS_NONE, "");
ASSERT_NE(nullptr, menu);
@@ -134,7 +134,7 @@ TEST_F(SoundMenuTest, BasicObject) {
}
TEST_F(SoundMenuTest, AddRemovePlayer) {
- SoundMenu * menu = sound_menu_new (nullptr, SOUND_MENU_DISPLAY_FLAGS_NONE);
+ SoundMenu * menu = sound_menu_new (nullptr, SOUND_MENU_DISPLAY_FLAGS_NONE, "");
MediaPlayerTrack * track = media_player_track_new("Artist", "Title", "Album", "http://art.url");