summaryrefslogtreecommitdiffstats
path: root/maven/trivial/src/test/java/com/io7m/example/test_joal/TestJOAL.java
blob: a3f4efb712458a1bd27a84904470ad70a91a6996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
    }
  }
}