diff options
author | Sven Gothel <sgothel@jausoft.com> | 2011-12-02 02:38:12 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2011-12-02 02:38:12 +0100 |
commit | 28f9b90a728ef1d683fa53d9c521af27a389baaf (patch) | |
tree | 6581f8691b0d165a265c9bfe81ca1c67837f36b1 /src/junit/com/jogamp/gluegen | |
parent | 2a461c6dc4e4ce01bdfe114e72cc69ec08fb2390 (diff) |
Fix Test1p2ProcAddressEmitter (static var); Add TestTracer
Diffstat (limited to 'src/junit/com/jogamp/gluegen')
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java | 4 | ||||
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java b/src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java index f2a85fe..0bed9f5 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java @@ -32,6 +32,8 @@ import com.jogamp.common.nio.Buffers; import com.jogamp.common.nio.PointerBuffer; import com.jogamp.common.os.MachineDescription; import com.jogamp.common.os.Platform; +import com.jogamp.junit.util.TestTracer; + import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.IntBuffer; @@ -46,7 +48,7 @@ import org.junit.Assert; * @author Michael Bien * @author Sven Gothel */ -public class BaseClass { +public class BaseClass extends TestTracer { /** * Verifies the existence and creation of the generated class. diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java b/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java index a881445..3438c3d 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java @@ -43,7 +43,7 @@ import org.junit.Test; */ public class Test1p2ProcAddressEmitter extends BaseClass { - NativeLibrary dynamicLookupHelper; + static NativeLibrary dynamicLookupHelper; /** * Verifies loading of the new library. |