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());
76 chapter02(
new Bindingtest2p2Impl());
81 chapter03(
new Bindingtest2p2Impl());
86 chapter04(
new Bindingtest2p2Impl());
91 chapter05a(
new Bindingtest2p2Impl());
96 chapter05b(
new Bindingtest2p2Impl());
101 chapter11a(
new Bindingtest2p2Impl());
106 chapter11b(
new Bindingtest2p2Impl());
111 chapter12a(
new Bindingtest2p2Impl());
116 chapter12b(
new Bindingtest2p2Impl());
121 chapter13(
new Bindingtest2p2Impl());
124 public static void main(
final String args[])
throws IOException {
126 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_PointerStorage instance and pointer pointer.
static void loadBindingtest2p2()
Test Bindingtest2p2 with T2_PointerStorage instance and pointer pointer.
static void main(final String args[])
static void chapter__TestLoadLibrary()
Verifies loading of the new library.
static void chapter0XTestUnloadLibrary()
Verifies unloading of the new library.