diff options
author | Mark Raynsford <[email protected]> | 2012-11-11 22:02:06 +0000 |
---|---|---|
committer | Mark Raynsford <[email protected]> | 2012-11-11 22:02:06 +0000 |
commit | a58a9f8894612a10bcb03952687f8d9355af943c (patch) | |
tree | f52a5f9efdee0f7a1ee84cc49f1383706cc061ef /maven/trivial-joal/src/test/java/com | |
parent | f5de8ced6d8dd93eab12be19b3c35aaca3b8da13 (diff) |
Trivial-as-possible JOAL test
Diffstat (limited to 'maven/trivial-joal/src/test/java/com')
-rw-r--r-- | maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java b/maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java new file mode 100644 index 0000000..a3f4efb --- /dev/null +++ b/maven/trivial-joal/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); + } + } +} |