]> git.sesse.net Git - vlc/blobdiff - bindings/java/core/src/test/java/org/videolan/jvlc/internal/AbstractVLCInternalTest.java
jvlc: LibVlc class updated and code aligned to current native libvlc
[vlc] / bindings / java / core / src / test / java / org / videolan / jvlc / internal / AbstractVLCInternalTest.java
index defc8da0c9608c37e28d35825e17a01b3f4d8938..6b033ef595c7c488e7190ff7baca41a111d4d27e 100644 (file)
@@ -91,8 +91,7 @@ public abstract class AbstractVLCInternalTest
 
     protected void catchException(libvlc_exception_t exception)
     {
-        Assert.assertEquals(libvlc.libvlc_exception_get_message(exception), 0, libvlc
-            .libvlc_exception_raised(exception));
+        Assert.assertEquals(libvlc.libvlc_errmsg(), 0, libvlc.libvlc_exception_raised(exception));
     }
 
     private void downloadSample()