diff options
Diffstat (limited to 'maven/trivial/src')
-rw-r--r-- | maven/trivial/src/test/java/com/io7m/example/test_joal/TestJOAL.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/maven/trivial/src/test/java/com/io7m/example/test_joal/TestJOAL.java b/maven/trivial/src/test/java/com/io7m/example/test_joal/TestJOAL.java new file mode 100644 index 0000000..a3f4efb --- /dev/null +++ b/maven/trivial/src/test/java/com/io7m/example/test_joal/TestJOAL.java @@ -0,0 +1,22 @@ +package com.io7m.example.test_joal; + +import org.junit.Test; + +import com.jogamp.openal.AL; +import com.jogamp.openal.ALException; +import com.jogamp.openal.ALFactory; + +public class TestJOAL +{ + @SuppressWarnings("static-method") @Test public void go() + { + try { + final AL al = ALFactory.getAL(); + al.alGetError(); + System.err.println("AL: " + al); + } catch (final ALException e) { + e.printStackTrace(); + System.exit(1); + } + } +} |