diff options
author | Juan A. Suarez Romero <jasuarez@igalia.com> | 2014-02-07 08:54:53 +0000 |
---|---|---|
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | 2014-02-07 08:58:53 +0000 |
commit | 9213ddb3f8a8c4717d526d17234546cf4eb67fed (patch) | |
tree | d184a2b7e086cfbcb8092802a6dc5599693a3287 /tests/tmdb/test_tmdb_full_resolution.c | |
parent | e015df016cb6a3ecfdd38aca3fc72ff7bf82d090 (diff) |
tmdb: Fix tests
https://bugzilla.gnome.org/show_bug.cgi?id=723149
Diffstat (limited to 'tests/tmdb/test_tmdb_full_resolution.c')
-rw-r--r-- | tests/tmdb/test_tmdb_full_resolution.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tmdb/test_tmdb_full_resolution.c b/tests/tmdb/test_tmdb_full_resolution.c index d658f83..9421175 100644 --- a/tests/tmdb/test_tmdb_full_resolution.c +++ b/tests/tmdb/test_tmdb_full_resolution.c @@ -67,7 +67,7 @@ test_region_certificate (GrlMedia *media, const gchar *region, const gchar *expe } #define DESCRIPTION \ -"In a dynamic new portrayal of Arthur Conan Doyle’s most famous characters, “Sherlock Holmes” sends Holmes and his stalwart partner Watson on their latest challenge. Revealing fighting skills as lethal as his legendary intellect, Holmes will battle as never before to bring down a new nemesis and unravel a deadly plot that could destroy England." +"Eccentric consulting detective Sherlock Holmes and Doctor John Watson battle to bring down a new nemesis and unravel a deadly plot that could destroy England." static void test_full_resolution (void) @@ -118,19 +118,19 @@ test_full_resolution (void) /* And now the slow properties */ g_assert_cmpstr (grl_media_get_site (media), ==, "http://sherlock-holmes-movie.warnerbros.com/"); - g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_GENRE), ==, 6); + g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_GENRE), ==, 7); g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_STUDIO), ==, 3); g_assert_cmpstr (grl_media_get_description (media), ==, DESCRIPTION); g_assert_cmpstr (grl_data_get_string (GRL_DATA (media), imdb_id), ==, "tt0988045"); - g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_KEYWORD), ==, 15); + g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_KEYWORD), ==, 12); - g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_PERFORMER), ==, 10); + g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_PERFORMER), ==, 54); - g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_PRODUCER), ==, 9); + g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_PRODUCER), ==, 10); - g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_DIRECTOR), ==, 1); + g_assert_cmpint (grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_DIRECTOR), ==, 2); g_assert_cmpstr (grl_data_get_string (GRL_DATA (media), GRL_METADATA_KEY_DIRECTOR), ==, "Guy Ritchie"); guint count = grl_data_length (GRL_DATA (media), GRL_METADATA_KEY_REGION); |