[grilo-plugins] tests: Fix copy/paste error in spotify tests
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tests: Fix copy/paste error in spotify tests
- Date: Sun, 12 Jun 2016 11:53:28 +0000 (UTC)
commit 875e826577de6828ef6e4c8557885859eaa31c32
Author: Bastien Nocera <hadess hadess net>
Date: Sun Apr 3 13:46:04 2016 +0200
tests: Fix copy/paste error in spotify tests
https://bugzilla.gnome.org/show_bug.cgi?id=764600
tests/spotify-cover/test_spotify_cover.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/tests/spotify-cover/test_spotify_cover.c b/tests/spotify-cover/test_spotify_cover.c
index a60bafa..9bcdac3 100644
--- a/tests/spotify-cover/test_spotify_cover.c
+++ b/tests/spotify-cover/test_spotify_cover.c
@@ -22,7 +22,7 @@
#include <grilo.h>
-#define LASTFM_ALBUMART_ID "grl-spotify-cover"
+#define SPOTIFY_ALBUMART_ID "grl-spotify-cover"
static GrlMedia *
build_media_audio (const gchar *artist,
@@ -58,7 +58,7 @@ test_may_resolve_good (void)
gboolean can_resolve;
registry = grl_registry_get_default ();
- source = grl_registry_lookup_source (registry, LASTFM_ALBUMART_ID);
+ source = grl_registry_lookup_source (registry, SPOTIFY_ALBUMART_ID);
g_assert (source);
media = build_media_audio ("My Artist", "My Album");
@@ -81,7 +81,7 @@ test_may_resolve_wrong_key (void)
gboolean can_resolve;
registry = grl_registry_get_default ();
- source = grl_registry_lookup_source (registry, LASTFM_ALBUMART_ID);
+ source = grl_registry_lookup_source (registry, SPOTIFY_ALBUMART_ID);
g_assert (source);
media = build_media_audio ("My Artist", "My Album");
@@ -104,7 +104,7 @@ test_may_resolve_missing_key (void)
gboolean can_resolve;
registry = grl_registry_get_default ();
- source = grl_registry_lookup_source (registry, LASTFM_ALBUMART_ID);
+ source = grl_registry_lookup_source (registry, SPOTIFY_ALBUMART_ID);
g_assert (source);
media = build_media_audio ("My Artist", NULL);
@@ -127,7 +127,7 @@ test_may_resolve_missing_media (void)
gboolean can_resolve;
registry = grl_registry_get_default ();
- source = grl_registry_lookup_source (registry, LASTFM_ALBUMART_ID);
+ source = grl_registry_lookup_source (registry, SPOTIFY_ALBUMART_ID);
g_assert (source);
can_resolve = grl_source_may_resolve (source, NULL, GRL_METADATA_KEY_THUMBNAIL, &missing_keys);
@@ -153,7 +153,7 @@ test_resolve_good_found (void)
guint expected_n_thumbnails;
registry = grl_registry_get_default ();
- source = grl_registry_lookup_source (registry, LASTFM_ALBUMART_ID);
+ source = grl_registry_lookup_source (registry, SPOTIFY_ALBUMART_ID);
g_assert (source);
media = build_media_audio ("madonna", "ray of light");
@@ -197,7 +197,7 @@ test_resolve_good_not_found (void)
guint expected_n_thumbnails;
registry = grl_registry_get_default ();
- source = grl_registry_lookup_source (registry, LASTFM_ALBUMART_ID);
+ source = grl_registry_lookup_source (registry, SPOTIFY_ALBUMART_ID);
g_assert (source);
media = build_media_audio ("madonna", "ray of darkness");
@@ -233,7 +233,7 @@ test_resolve_missing_key (void)
guint expected_n_thumbnails;
registry = grl_registry_get_default ();
- source = grl_registry_lookup_source (registry, LASTFM_ALBUMART_ID);
+ source = grl_registry_lookup_source (registry, SPOTIFY_ALBUMART_ID);
g_assert (source);
media = build_media_audio ("madonna", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]