summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsugarshark <[email protected]>2003-08-18 23:57:08 +0000
committersugarshark <[email protected]>2003-08-18 23:57:08 +0000
commit7eed4a3df684588b6edcd2dd1e6222f7a1731b77 (patch)
tree06282353cbd2149249b1718dd7efb450d132ed24
parentc542c96eaaaa57d6c4d579c12aaa6c9602cc885e (diff)
* .cvsignore: new file
* build.xml (runALTest): added target CVS: ---------------------------------------------------------------------- CVS: Issue number: CVS: If this change addresses one or more issues, CVS: then enter the issue number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to the project by someone else; i.e., CVS: they sent us a patch or a set of diffs, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@49 03bf7f67-59de-4072-a415-9a990d468a3f
-rw-r--r--unit_tests/.cvsignore1
-rw-r--r--unit_tests/build.xml16
2 files changed, 15 insertions, 2 deletions
diff --git a/unit_tests/.cvsignore b/unit_tests/.cvsignore
new file mode 100644
index 0000000..90b07e9
--- /dev/null
+++ b/unit_tests/.cvsignore
@@ -0,0 +1 @@
+classes
diff --git a/unit_tests/build.xml b/unit_tests/build.xml
index e6d8e36..fafdf5b 100644
--- a/unit_tests/build.xml
+++ b/unit_tests/build.xml
@@ -40,7 +40,7 @@
</target>
<target name="compile" depends="init">
- <javac srcdir="./src" classpath="../classes" destdir="classes"/>
+ <javac debug="true" srcdir="./src" classpath="../classes" destdir="classes"/>
</target>
<target name="clean">
@@ -57,6 +57,18 @@
<jvmarg value="-Djava.library.path=${basedir}/../lib"/>
</java>
</target>
+
+ <target name="runALTest" depends="compile">
+ <java classname="junit.textui.TestRunner" fork="true">
+ <classpath>
+ <pathelement location="../lib/joal.jar"/>
+ <pathelement location="lib/junit.jar"/>
+ <pathelement location="classes"/>
+ </classpath>
+ <jvmarg value="-Djava.library.path=${basedir}/../lib"/>
+ <arg value="net.java.games.joal.ALTest" />
+ </java>
+ </target>
<target name="runSound3DTest" depends="compile">
<java classname="Sound3DTest" fork="true">
@@ -68,4 +80,4 @@
<jvmarg value="-Djava.library.path=${basedir}/../lib"/>
</java>
</target>
-</project> \ No newline at end of file
+</project>