git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8837d3d
)
Also test libvlc_playlist_clear and libvlc_playlist_add_extended
author
Rémi Denis-Courmont
<rem@videolan.org>
Sun, 21 Oct 2007 17:30:59 +0000
(17:30 +0000)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Sun, 21 Oct 2007 17:30:59 +0000
(17:30 +0000)
src/control/testapi.c
patch
|
blob
|
history
diff --git
a/src/control/testapi.c
b/src/control/testapi.c
index
a6f3257
..
e312df0
100644
(file)
--- a/
src/control/testapi.c
+++ b/
src/control/testapi.c
@@
-49,6
+49,7
@@
int main (int argc, char *argv[])
{
libvlc_instance_t *vlc;
const char *args[argc + 3];
+ int id;
alarm (30); /* Make sure "make check" does not get stuck */
@@
-63,6
+64,16
@@
int main (int argc, char *argv[])
vlc = libvlc_new (sizeof (args) / sizeof (args[0]), args, &ex);
catch ();
+ libvlc_playlist_clear (vlc, &ex);
+ catch ();
+
+ id = libvlc_playlist_add_extended (vlc, "/dev/null", "Test", 0, NULL,
+ &ex);
+ catch ();
+
+ libvlc_playlist_clear (vlc, &ex);
+ catch ();
+
libvlc_destroy (vlc, &ex);
catch ();
return 0;