[vlc-devel] commit: Update test cases ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Oct 5 21:06:19 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Oct 5 22:06:14 2009 +0300| [1e399ae27e42b9be09e1d10facae34175dab6a2a] | committer: Rémi Denis-Courmont
Update test cases
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e399ae27e42b9be09e1d10facae34175dab6a2a
---
test/libvlc/media_list_player.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/test/libvlc/media_list_player.c b/test/libvlc/media_list_player.c
index a5665aa..cea4669 100644
--- a/test/libvlc/media_list_player.c
+++ b/test/libvlc/media_list_player.c
@@ -71,13 +71,13 @@ static void check_items_order_callback(const libvlc_event_t * p_event, void * us
assert(checks->index < checks->count);
if (checks->items[checks->index] != md)
{
- char *title = libvlc_media_get_meta(md, libvlc_meta_Title, NULL);
+ char *title = libvlc_media_get_meta(md, libvlc_meta_Title);
log ("Got items %s\n", title);
free(title);
}
assert(checks->items[checks->index] == md);
- char *title = libvlc_media_get_meta(md, libvlc_meta_Title, NULL);
+ char *title = libvlc_media_get_meta(md, libvlc_meta_Title);
log ("Item %d '%s' was correctly queued\n", checks->index, title);
free(title);
@@ -133,8 +133,7 @@ static void test_media_list_player_items_queue(const char** argv, int argc)
queue_expected_item(&check, node);
// Add items to that node
- libvlc_media_list_t *subitems = libvlc_media_subitems(node, &ex);
- catch ();
+ libvlc_media_list_t *subitems = libvlc_media_subitems(node);
queue_expected_item(&check, media_list_add_file_path(vlc, subitems, file));
queue_expected_item(&check, media_list_add_file_path(vlc, subitems, file));
queue_expected_item(&check, media_list_add_file_path(vlc, subitems, file));
More information about the vlc-devel
mailing list