diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2016-02-10 14:08:49 +0100 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2016-02-10 14:08:49 +0100 |
commit | f1bdb863aea00a03acf9501432e2baa70dd9ee8b (patch) | |
tree | 8ab41e0d437047d35464a3c464c33cf037c35438 /tests | |
parent | d17217847987bc11f139f2676715beb74e0406ff (diff) | |
download | ayatana-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')
-rw-r--r-- | tests/integration/test-indicator.cpp | 1 | ||||
-rw-r--r-- | tests/sound-menu.cc | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/integration/test-indicator.cpp b/tests/integration/test-indicator.cpp index 050c306..33a27af 100644 --- a/tests/integration/test-indicator.cpp +++ b/tests/integration/test-indicator.cpp @@ -1385,7 +1385,6 @@ TEST_F(TestIndicator, DISABLED_PhoneNotificationWarningVolume) // try again... notificationsSpy.clear(); - qWarning() << "-----------------------------------------------------------"; // change volume to 1.0... warning should be emitted setActionValue("volume", QVariant::fromValue(1.0)); EXPECT_TRUE(waitVolumeChangedInIndicator()); 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"); |