]> git.sesse.net Git - vlc/blobdiff - bindings/java/core/src/test/java/org/videolan/jvlc/internal/AbstractVLCInternalTest.java
jvlc: minor changes on unit tests
[vlc] / bindings / java / core / src / test / java / org / videolan / jvlc / internal / AbstractVLCInternalTest.java
index e7c540cf9339dd7cea211faca8cd6704042fe517..efdcbcb62138b91562390abb1127963336e438f6 100644 (file)
@@ -65,15 +65,20 @@ public abstract class AbstractVLCInternalTest
     public void testSetup()
     {
         exception = new libvlc_exception_t();
-        libvlcInstance = libvlc.libvlc_new(0, new String[]{
+        String[] args = new String[]{
             "-vvv",
             "--ignore-config",
+            "--reset-plugins-cache",
             "--no-media-library",
             "-I",
             "dummy",
-            "--aout=dummy",
-            "--vout=dummy" }, exception);
+            "-A",
+            "dummy",
+            "-V",
+            "dummy" };
+        libvlcInstance = libvlc.libvlc_new(args.length, args, exception);
         libvlc.libvlc_exception_clear(exception);
+
         downloadSample();
     }