[vlc-devel] commit: jvlc: test with multiple jvlc instances added (Filippo Carone )
git version control
git at videolan.org
Fri Aug 29 11:41:50 CEST 2008
vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Mon Aug 25 16:31:24 2008 +0200| [2756cdafe9adb3cf958026dd2d25ea7d787f0d0c] | committer: Filippo Carone
jvlc: test with multiple jvlc instances added
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2756cdafe9adb3cf958026dd2d25ea7d787f0d0c
---
.../src/test/java/org/videolan/jvlc/JVLCTest.java | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/bindings/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java b/bindings/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java
index 23a3c99..2803f29 100644
--- a/bindings/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java
+++ b/bindings/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java
@@ -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();
+ }
+
+ }
+
}
More information about the vlc-devel
mailing list