diff options
author | Sven Gothel <[email protected]> | 2013-01-31 11:38:54 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-31 11:38:54 +0100 |
commit | 1b7fba6b6e1a53a36afaf72a152c468a4694402a (patch) | |
tree | 4e2d4eef1bb5ce2639979ec4208c8390815547a4 /src/test/com | |
parent | 7c47fc72f44f27979c1631247188d99a21576dc8 (diff) |
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
-
Diffstat (limited to 'src/test/com')
-rw-r--r-- | src/test/com/jogamp/openal/test/junit/ALExtLoopbackDeviceSOFTTest.java | 12 |
1 files changed, 8 insertions, 4 deletions
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()); + } + } |