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

index 23a3c99..2803f29 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();
+        }
+        
+    }
+    
 
 }