Commit 2756cdaf authored by Filippo Carone's avatar Filippo Carone

jvlc: test with multiple jvlc instances added

parent 15bb8c9f
...@@ -56,5 +56,21 @@ public class JVLCTest extends AbstractJVLCTest ...@@ -56,5 +56,21 @@ public class JVLCTest extends AbstractJVLCTest
jvlc.release(); 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();
}
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment