]> git.sesse.net Git - vlc/commitdiff
libvlc core release test added
authorFilippo Carone <littlejohn@videolan.org>
Thu, 13 Mar 2008 23:12:46 +0000 (00:12 +0100)
committerFilippo Carone <littlejohn@videolan.org>
Thu, 13 Mar 2008 23:12:46 +0000 (00:12 +0100)
bindings/java/src/test/java/org/videolan/jvlc/internal/LibVlcCoreTest.java

index 43e302fcf7a00c76208268e3e5e65e41afef0d4c..38da716356a04fd0a1f1dc2aed8ac80c87585303 100644 (file)
@@ -45,4 +45,12 @@ public class LibVlcCoreTest
         Assert.assertEquals(0, exception.raised);
     }
     
+    @Test
+    public void testRelease() throws Exception
+    {
+        libvlc_exception_t exception = new libvlc_exception_t();
+        LibVlcInstance libvlcInstance = instance.libvlc_new(0, new String[] {}, exception);
+        instance.libvlc_release(libvlcInstance);
+    }
+    
 }