[vlc-devel] commit: new (failing) test for ticket #1527 added (Filippo Carone )
git version control
git at videolan.org
Mon Mar 17 23:34:47 CET 2008
vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Mon Mar 17 23:35:11 2008 +0100| [031256f27b7cc2ffb443a23a71b117ee45af6eb8]
new (failing) test for ticket #1527 added
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=031256f27b7cc2ffb443a23a71b117ee45af6eb8
---
.../jvlc/internal/MediaListPlayerTest.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/bindings/java/core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java b/bindings/java/core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java
index e70211a..f6e436a 100644
--- a/bindings/java/core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java
+++ b/bindings/java/core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java
@@ -109,5 +109,20 @@ public class MediaListPlayerTest
libvlc.libvlc_media_list_player_play(mediaListPlayer, exception);
Assert.assertEquals(1, exception.raised);
}
+
+// @Test
+ /**
+ * disabled: see https://trac.videolan.org/vlc/attachment/ticket/1527
+ */
+ public void mediaListPlayerPlay()
+ {
+ libvlc_exception_t exception = new libvlc_exception_t();
+ LibVlcMediaListPlayer mediaListPlayer = libvlc.libvlc_media_list_player_new(libvlcInstance, exception);
+ LibVlcMediaList mediaList = libvlc.libvlc_media_list_new(libvlcInstance, exception);
+ LibVlcMediaDescriptor mediaDescriptor = libvlc.libvlc_media_descriptor_new(libvlcInstance, mrl, exception);
+ libvlc.libvlc_media_list_add_media_descriptor(mediaList, mediaDescriptor, exception);
+ libvlc.libvlc_media_list_player_set_media_list(mediaListPlayer, mediaList, exception);
+ libvlc.libvlc_media_list_player_play(mediaListPlayer, exception);
+ }
}
More information about the vlc-devel
mailing list