[vlc-devel] commit: jvlc: add_intf unit test added (Filippo Carone )
git version control
git at videolan.org
Sun Dec 14 18:43:34 CET 2008
vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Sun Dec 14 18:03:04 2008 +0100| [ff80359c9fac45ee0f6afc907aa5b37dfdd1f519] | committer: Filippo Carone
jvlc: add_intf unit test added
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff80359c9fac45ee0f6afc907aa5b37dfdd1f519
---
.../org/videolan/jvlc/internal/LibVlcCoreTest.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcCoreTest.java b/bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcCoreTest.java
index a3f122d..8ac0ee9 100644
--- a/bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcCoreTest.java
+++ b/bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcCoreTest.java
@@ -53,4 +53,14 @@ public class LibVlcCoreTest
instance.libvlc_release(libvlcInstance);
}
+ @Test
+ public void testAddIntf() throws Exception
+ {
+ libvlc_exception_t exception = new libvlc_exception_t();
+ LibVlcInstance libvlcInstance = instance.libvlc_new(0, new String[] {}, exception);
+ instance.libvlc_add_intf(libvlcInstance, "dummy", exception);
+ Assert.assertEquals(0, exception.raised);
+ instance.libvlc_release(libvlcInstance);
+ }
+
}
More information about the vlc-devel
mailing list