[vlc-devel] commit: new (failing) test for media list player (ticket #1524) ( Filippo Carone )

git version control git at videolan.org
Sun Mar 16 22:40:43 CET 2008


vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Sun Mar 16 22:40:50 2008 +0100| [c87ad54056043b0b94d78847bd6e311e6e20aa6a]

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c87ad54056043b0b94d78847bd6e311e6e20aa6a
---

 .../jvlc/internal/MediaListPlayerTest.java         |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 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 52349f7..191a19a 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
@@ -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);
+    }
+
 }




More information about the vlc-devel mailing list