new (failing) test for ticket #1527 added
authorFilippo Carone <littlejohn@videolan.org>
Mon, 17 Mar 2008 22:35:11 +0000 (23:35 +0100)
committerFilippo Carone <littlejohn@videolan.org>
Mon, 17 Mar 2008 22:35:11 +0000 (23:35 +0100)
core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java

index e70211a..f6e436a 100644 (file)
@@ -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);
+    }
 
 }