new (failing) test for media list player (ticket #1524)
authorFilippo Carone <littlejohn@videolan.org>
Sun, 16 Mar 2008 21:40:50 +0000 (22:40 +0100)
committerFilippo Carone <littlejohn@videolan.org>
Sun, 16 Mar 2008 21:41:06 +0000 (22:41 +0100)
core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java

index 52349f7..191a19a 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);
+    }
+
 }