Commit c87ad540 authored by Filippo Carone's avatar Filippo Carone

new (failing) test for media list player (ticket #1524)

parent 99f80c17
...@@ -32,7 +32,6 @@ import org.junit.Before; ...@@ -32,7 +32,6 @@ import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.videolan.jvlc.internal.LibVlc.LibVlcInstance; import org.videolan.jvlc.internal.LibVlc.LibVlcInstance;
import org.videolan.jvlc.internal.LibVlc.LibVlcMediaDescriptor; 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.LibVlcMediaList;
import org.videolan.jvlc.internal.LibVlc.LibVlcMediaListPlayer; import org.videolan.jvlc.internal.LibVlc.LibVlcMediaListPlayer;
import org.videolan.jvlc.internal.LibVlc.libvlc_exception_t; import org.videolan.jvlc.internal.LibVlc.libvlc_exception_t;
...@@ -102,4 +101,15 @@ public class MediaListPlayerTest ...@@ -102,4 +101,15 @@ public class MediaListPlayerTest
Assert.assertEquals(0, exception.raised); 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);
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment