]> git.sesse.net Git - vlc/commitdiff
jvlc: test with multiple jvlc instances added
authorFilippo Carone <littlejohn@videolan.org>
Mon, 25 Aug 2008 14:31:24 +0000 (16:31 +0200)
committerFilippo Carone <littlejohn@videolan.org>
Fri, 29 Aug 2008 09:44:41 +0000 (11:44 +0200)
bindings/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java

index 23a3c99f079491ccaf01970f8c848091b8833019..2803f291e50a254fda3707059270c52dcf42f6ab 100644 (file)
@@ -56,5 +56,21 @@ public class JVLCTest extends AbstractJVLCTest
         jvlc.release();
     }
     
+    @Test
+    public void jvlcMultipleInstances()
+    {
+        JVLC[] jvlcInstancesArray = new JVLC[10];
+        
+        for (int i = 0; i < jvlcInstancesArray.length; i++)
+        {
+            jvlcInstancesArray[i] = new JVLC();
+        }
+        for (int i = 0; i < jvlcInstancesArray.length; i++)
+        {
+            jvlcInstancesArray[i].release();
+        }
+        
+    }
+    
 
 }