org.kc7bfi.jflac.sound.spi
Class TestJavaSoundSPI
java.lang.Object
org.kc7bfi.jflac.sound.spi.TestJavaSoundSPI
public class TestJavaSoundSPI
- extends Object
Test the Java Sound SPI of the JFLAC decoder for consistency.
Usage: run this class. On error, it prints TEST FAILED as last output and
returns an exit code of 1. If everything is OK, it prints TEST OK as last
line and returns an exit code of 0. You need to have the root directory of
the workspace containing the META-INF directory in the classpath, or the full
jar in the classpath.
- Author:
- Florian Bomers
|
Method Summary |
static void |
main(String[] args)
|
static boolean |
runTest()
|
static boolean |
testDecoder()
test that the decoder discovery works correctly. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestJavaSoundSPI
public TestJavaSoundSPI()
testDecoder
public static boolean testDecoder()
- test that the decoder discovery works correctly. This test is an
end-to-end test, i.e. it uses AudioSystem for decoder discovery.
runTest
public static boolean runTest()
main
public static void main(String[] args)
Copyright © 2004-2011. All Rights Reserved.