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)
src/test/java/org/videolan/jvlc/internal/LibVlcCoreTest.java

index 43e302f..38da716 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);
+    }
+    
 }