I'm having troubles getting the test cases of gst1-java-core to run on OSX.
I've installed gsstreamer and packaged up the dylib files into a jar that has one directory called darwin, containing all the dylib's and added that jar to the class path. That got me around a series of UnsatisfiedLinkErrors but now I'm hitting many "Invalid native pointer" exceptions when running the test in GarbageCollectionTest along with the following assert failure:
(process:9722): GStreamer-CRITICAL **: gst_element_factory_make: assertion 'gst_is_initialized ()' failed
Maybe the way I've setup the launcher (classpath/java.library.path) is incorrect or how I've added the gsstreamer.dylib files.
Any ideas or what are the standard steps to setup the OSX test exec/launcher after cloning and running mvn install successfully...
java.lang.IllegalArgumentException: Invalid native pointer
at org.freedesktop.gstreamer.lowlevel.NativeObject.initializer(NativeObject.java:71)
at org.freedesktop.gstreamer.GstObject.initializer(GstObject.java:60)
at org.freedesktop.gstreamer.Pipeline.initializer(Pipeline.java:123)
at org.freedesktop.gstreamer.Pipeline.<init>(Pipeline.java:117)
at org.freedesktop.gstreamer.GarbageCollectionTest.busWithListeners(GarbageCollectionTest.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)