]> git.sesse.net Git - vlc/blobdiff - bindings/java/core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java
new (failing) test for media list player (ticket #1524)
[vlc] / bindings / java / core / src / test / java / org / videolan / jvlc / internal / MediaListPlayerTest.java
index 52349f798631c0f57437481e5eed847ada1a3577..191a19a9cb621148cc517d58d4a47a459ca8d2ac 100644 (file)
@@ -32,7 +32,6 @@ import org.junit.Before;
 import org.junit.Test;
 import org.videolan.jvlc.internal.LibVlc.LibVlcInstance;
 import org.videolan.jvlc.internal.LibVlc.LibVlcMediaDescriptor;
-import org.videolan.jvlc.internal.LibVlc.LibVlcMediaInstance;
 import org.videolan.jvlc.internal.LibVlc.LibVlcMediaList;
 import org.videolan.jvlc.internal.LibVlc.LibVlcMediaListPlayer;
 import org.videolan.jvlc.internal.LibVlc.libvlc_exception_t;
@@ -102,4 +101,15 @@ public class MediaListPlayerTest
         Assert.assertEquals(0, exception.raised);
     }
 
+//    @Test
+    /**
+     * This test is disabled: see https://trac.videolan.org/vlc/ticket/1524
+     */
+    public void mediaListPlayerPlayNoItemTest()
+    {
+        libvlc_exception_t exception = new libvlc_exception_t();
+        LibVlcMediaListPlayer mediaListPlayer = libvlc.libvlc_media_list_player_new(libvlcInstance, exception);
+        libvlc.libvlc_media_list_player_play(mediaListPlayer, exception);
+    }
+
 }