29package com.jogamp.gluegen.test.junit.generation;
31import com.jogamp.common.os.NativeLibrary;
32import com.jogamp.gluegen.test.junit.generation.impl.Bindingtest2p2Impl;
34import org.junit.runners.MethodSorters;
36import java.io.IOException;
41@FixMethodOrder(MethodSorters.NAME_ASCENDING)
53 Assert.assertNotNull(
"NativeLibrary.open(test2) failed", dynamicLookupHelper);
54 System.err.println(
"Loaded: "+dynamicLookupHelper);
56 Bindingtest2p2Impl.resetProcAddressTable(dynamicLookupHelper);
64 Assert.assertNotNull(dynamicLookupHelper);
65 dynamicLookupHelper.
close();
66 dynamicLookupHelper =
null;
71 chapter01(
new Bindingtest2p2Impl());
74 public static void main(
final String args[])
throws IOException {
76 org.junit.runner.JUnitCore.
main(tstname);
Provides low-level, relatively platform-independent access to shared ("native") libraries.
final void close()
Closes this native library.
static final NativeLibrary open(final String libName, final boolean searchOSSystemPath, final boolean searchSystemPathFirst, final ClassLoader loader, final boolean global)
Opens the given native library, assuming it has the same base name on all platforms.
Test Bindingtest2 with T2_InitializeOptions instance and function pointer...
static void loadBindingtest2p2()
Test Bindingtest2p1 with T2_InitializeOptions instance and function pointer...
static void chapter0XTestUnloadLibrary()
Verifies unloading of the new library.
static void chapter__TestLoadLibrary()
Verifies loading of the new library.
static void main(final String args[])