From 1b7fba6b6e1a53a36afaf72a152c468a4694402a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 31 Jan 2013 11:38:54 +0100 Subject: JOAL Fixes: GlueGen, OpenAL Header, Added scripts/tests.sh, - OpenAL Header - Unique declaration in al-types.h and alc-types.h, remove duplicates in al.h and alc.h - Use ALproc and ALCproc for opaque pointer return values - GlueGen Fixes - Remove duplicates in extension classes ALExt and ALExtConstants - Push all common configurations to joal-common.cfg - Complete ArgumentIsString for ALC methods - Added scripts/tests.sh for convenient manual testing of single unit test - --- .../openal/test/junit/ALExtLoopbackDeviceSOFTTest.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/test/com/jogamp') diff --git a/src/test/com/jogamp/openal/test/junit/ALExtLoopbackDeviceSOFTTest.java b/src/test/com/jogamp/openal/test/junit/ALExtLoopbackDeviceSOFTTest.java index cc6c851..222a1cc 100644 --- a/src/test/com/jogamp/openal/test/junit/ALExtLoopbackDeviceSOFTTest.java +++ b/src/test/com/jogamp/openal/test/junit/ALExtLoopbackDeviceSOFTTest.java @@ -19,7 +19,6 @@ import com.jogamp.openal.test.resources.ResourceLocation; import com.jogamp.openal.util.WAVData; import com.jogamp.openal.util.WAVLoader; - public class ALExtLoopbackDeviceSOFTTest { @Test @@ -31,10 +30,10 @@ public class ALExtLoopbackDeviceSOFTTest { alc.alcMakeContextCurrent(context); AL al = ALFactory.getAL(); - System.out.println("Available null device OpenAL Extensions:"+alc.alcGetString(null, alc.ALC_EXTENSIONS)); - System.out.println("Available device OpenAL Extensions:"+alc.alcGetString(dev, alc.ALC_EXTENSIONS)); + System.out.println("Available null device OpenAL Extensions:"+alc.alcGetString(null, ALC.ALC_EXTENSIONS)); + System.out.println("Available device OpenAL Extensions:"+alc.alcGetString(dev, ALC.ALC_EXTENSIONS)); - boolean have = alc.alcIsExtensionPresent(dev, "ALC_SOFT_loopback"); + boolean have = alc.alcIsExtensionPresent(dev, "ALC_SOFT_loopback"); Exception ex = null; ALExt alext = ALFactory.getALExt(); @@ -105,5 +104,10 @@ public class ALExtLoopbackDeviceSOFTTest { System.out.println("end testAlCLoopbackDeviceSOFT"); } + + public static void main(String args[]) throws IOException { + org.junit.runner.JUnitCore.main(ALExtLoopbackDeviceSOFTTest.class.getName()); + } + } -- cgit v1.2.3