29package com.jogamp.gluegen.test.junit.generation;
31import com.jogamp.gluegen.test.junit.generation.impl.Bindingtest1p2Impl;
32import com.jogamp.common.os.NativeLibrary;
34import org.junit.Assert;
35import org.junit.BeforeClass;
37import org.junit.FixMethodOrder;
38import org.junit.runners.MethodSorters;
40@FixMethodOrder(MethodSorters.NAME_ASCENDING)
52 Assert.assertNotNull(
"NativeLibrary.open(test1) failed", dynamicLookupHelper);
53 System.err.println(
"Loaded: "+dynamicLookupHelper);
55 Bindingtest1p2Impl.resetProcAddressTable(dynamicLookupHelper);
63 testClassExist(
"test1p2");
66 @SuppressWarnings(
"unused")
67 public static
void main(final String args[]) throws Exception {
69 chapter__TestLoadLibrary();
74 org.junit.runner.JUnitCore.
main(tstname);
Provides low-level, relatively platform-independent access to shared ("native") libraries.
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.
static void loadBindingtest1p2()
static void main(final String args[])
static void chapter__TestLoadLibrary()
Verifies loading of the new library.
void chapter00TestClassExist()
Verifies the existence and creation of the generated class.