static JavaVMFixture() { var c = new TestJVM( ); JniRuntime.SetCurrent(c); }
static JavaVMFixture() { var c = new TestJVM( jars: new[] { "export-test.jar" } ); JniRuntime.SetCurrent(c); }
static JavaVMFixture() { var c = new TestJVM( jars: new[] { "performance-test.jar" } ); JniRuntime.SetCurrent(c); }
static partial void CreateJavaVM() { var c = new TestJVM( jars: new[] { "interop-test.jar" }, typeMappings: new Dictionary <string, Type> () { { TestType.JniTypeName, typeof(TestType) }, { GenericHolder <int> .JniTypeName, typeof(GenericHolder <>) }, } ); JniRuntime.SetCurrent(c); }
static partial void CreateJavaVM() { var c = new TestJVM( jars: new[] { "interop-test.jar" }, typeMappings: new Dictionary <string, Type> () { #if !NO_MARSHAL_MEMBER_BUILDER_SUPPORT { TestType.JniTypeName, typeof(TestType) }, #endif // !NO_MARSHAL_MEMBER_BUILDER_SUPPORT { GenericHolder <int> .JniTypeName, typeof(GenericHolder <>) }, } ); JniRuntime.SetCurrent(c); }