]> git.sesse.net Git - vlc/blobdiff - bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcLogTest.java
jvlc: update libvlc_exception_t structure.
[vlc] / bindings / java / core / src / test / java / org / videolan / jvlc / internal / LibVlcLogTest.java
index d2e078bca4219f1232454e7649fff3cf2c9192ea..787ecb6db6c68428aad004bfa3753b464368a8f8 100644 (file)
@@ -49,7 +49,7 @@ public class LibVlcLogTest extends AbstractVLCInternalTest
         libvlc_exception_t exception = new libvlc_exception_t();
         LibVlcLog libvlcLog = libvlc.libvlc_log_open(libvlcInstance, exception);
         libvlc.libvlc_log_close(libvlcLog, exception);
-        Assert.assertEquals(exception.message, 0, exception.raised);
+        Assert.assertEquals(0, exception.b_raised);
     }
 
     //@Test
@@ -58,7 +58,7 @@ public class LibVlcLogTest extends AbstractVLCInternalTest
         libvlc_exception_t exception = new libvlc_exception_t();
         LibVlcLog libvlcLog = libvlc.libvlc_log_open(libvlcInstance, exception);
         libvlc.libvlc_log_clear(libvlcLog, exception);
-        Assert.assertEquals(exception.message, 0, exception.raised);
+        Assert.assertEquals(0, exception.b_raised);
         Assert.assertEquals(0, libvlc.libvlc_log_count(libvlcLog, exception));
     }
 
@@ -68,7 +68,7 @@ public class LibVlcLogTest extends AbstractVLCInternalTest
         libvlc_exception_t exception = new libvlc_exception_t();
         LibVlcLog libvlcLog = libvlc.libvlc_log_open(libvlcInstance, exception);
         libvlc.libvlc_log_clear(libvlcLog, exception);
-        Assert.assertEquals(exception.message, 0, exception.raised);
+        Assert.assertEquals(0, exception.b_raised);
         Assert.assertEquals(0, libvlc.libvlc_log_count(libvlcLog, exception));
         LibVlcLogIterator logIterator = libvlc.libvlc_log_get_iterator(libvlcLog, exception);
         Assert.assertNotNull(logIterator);