[libmediaart/api-cleanup: 6/11] tests: Test for no error with media_art_process_file() with real use case



commit 9eab2b7c61c27f69d531413be50597dd6c8de972
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Feb 25 11:01:43 2014 +0000

    tests: Test for no error with media_art_process_file() with real use case

 tests/mediaarttest.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/mediaarttest.c b/tests/mediaarttest.c
index e94f453..893c585 100644
--- a/tests/mediaarttest.c
+++ b/tests/mediaarttest.c
@@ -204,8 +204,9 @@ test_mediaart_embedded_mp3 (void)
                                         MEDIA_ART_ALBUM,
                                         "King Kilo", /* artist */
                                         "Lanedo",    /* title */
-                                        NULL);   
+                                        &error);
 
+       g_assert_no_error (error);
        g_assert_true (retval);
 
        g_object_unref (file);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]