diff options
author | Ted Gould <ted@gould.cx> | 2014-03-26 13:48:05 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-03-26 13:48:05 -0500 |
commit | 39061ed3d175dec5ca8bfb4a8fba127234b645ed (patch) | |
tree | 72aa78a446d8ded4b55c1b14e4004f39d880cce1 | |
parent | a8a1745e8834ef73c3ad7f9dfab21b2cdbf4b4b4 (diff) | |
parent | e9068f2e71d825aadee4e0cdef661bc76c72890d (diff) | |
download | ayatana-indicator-sound-39061ed3d175dec5ca8bfb4a8fba127234b645ed.tar.gz ayatana-indicator-sound-39061ed3d175dec5ca8bfb4a8fba127234b645ed.tar.bz2 ayatana-indicator-sound-39061ed3d175dec5ca8bfb4a8fba127234b645ed.zip |
Grab test suite fix for Jenkins
-rw-r--r-- | tests/media-player-user.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/media-player-user.cc b/tests/media-player-user.cc index 2132e14..32c1181 100644 --- a/tests/media-player-user.cc +++ b/tests/media-player-user.cc @@ -163,7 +163,7 @@ TEST_F(MediaPlayerUserTest, DataSet) { GIcon * out_icon = media_player_get_icon(MEDIA_PLAYER(player)); EXPECT_NE(nullptr, out_icon); EXPECT_TRUE(g_icon_equal(in_icon, out_icon)); - g_clear_object(&out_icon); + // NOTE: No reference in 'out_icon' returned MediaPlayerTrack * track = media_player_get_current_track(MEDIA_PLAYER(player)); EXPECT_NE(nullptr, track); @@ -171,7 +171,7 @@ TEST_F(MediaPlayerUserTest, DataSet) { EXPECT_STREQ("Bansky", media_player_track_get_artist(track)); EXPECT_STREQ("Vinyl is dead", media_player_track_get_album(track)); EXPECT_STREQ("http://art.url", media_player_track_get_art_url(track)); - g_clear_object(&track); + // NOTE: No reference in 'track' returned g_clear_object(&in_icon); g_clear_object(&player); |