16 # |
16 # |
17 --> |
17 --> |
18 |
18 |
19 <project name="javacommonutilstest" basedir="." default="deploy"> |
19 <project name="javacommonutilstest" basedir="." default="deploy"> |
20 |
20 |
21 <import file="../../../../../build/utilities.xml"/> |
21 <import file="../../../../../build/utilities.xml"/> |
22 <property file="../../../../../build/unittest.properties"/> |
|
23 |
22 |
24 <property name="java.src.paths" value="../../javasrc"/> |
23 <property name="java.src.paths" value="../../javasrc"/> |
25 <property name="java.bin.root" value="${env.JAVA_BIN_ROOT}"/> |
24 <property name="java.bin.root" value="${env.JAVA_BIN_ROOT}"/> |
26 |
25 |
27 <target name="run" depends="deploy"> |
26 <property name="javah.classnames" |
28 <echo>Running BufferedReaderTests</echo> |
27 value="com.nokia.mj.impl.rt.support.JvmPortTest"/> |
29 <exec executable="${java.bin.root}/bin/javaunittester"> |
|
30 <arg line="-mainclass=com.nokia.mj.impl.utils.BufferedReaderTests"/> |
|
31 </exec> |
|
32 |
28 |
33 <echo>Running ConcurrencyTests</echo> |
29 <target name="compile"> |
34 <exec executable="${java.bin.root}/bin/javaunittester"> |
30 <omj.javac classpath="${compile.result.root}/javautils/classes/first"/> |
35 <arg line="-mainclass=com.nokia.mj.impl.utils.concurrent.ConcurrentTests"/> |
31 </target> |
36 </exec> |
|
37 |
32 |
38 <echo>Running SystemPropertyTests</echo> |
33 <target name="run" depends="deploy"> |
39 <exec executable="${java.bin.root}/bin/javaunittester"> |
34 <echo>Running BufferedReaderTests</echo> |
40 <arg line="-mainclass=com.nokia.mj.impl.rt.SystemPropertyTests"/> |
35 <exec executable="${java.bin.root}/bin/javaunittester"> |
41 </exec> |
36 <arg line="-mainclass=com.nokia.mj.impl.utils.BufferedReaderTests"/> |
|
37 </exec> |
42 |
38 |
43 <echo>Running DebugUtilsTests tests</echo> |
39 <echo>Running ConcurrencyTests</echo> |
44 <exec executable="${java.bin.root}/bin/javaunittester"> |
40 <exec executable="${java.bin.root}/bin/javaunittester"> |
45 <arg line="-mainclass=com.nokia.mj.impl.utils.DebugUtilsTests"/> |
41 <arg line="-mainclass=com.nokia.mj.impl.utils.concurrent.ConcurrentTests"/> |
46 </exec> |
42 </exec> |
47 |
43 |
48 <echo>Running LoggerTests tests</echo> |
44 <echo>Running SystemPropertyTests</echo> |
49 <exec executable="${java.bin.root}/bin/javaunittester"> |
45 <exec executable="${java.bin.root}/bin/javaunittester"> |
50 <arg line="-mainclass=com.nokia.mj.impl.utils.LoggerTests"/> |
46 <arg line="-mainclass=com.nokia.mj.impl.rt.SystemPropertyTests"/> |
51 </exec> |
47 </exec> |
52 </target> |
|
53 |
48 |
54 <target name="main" depends="clean,run"/> |
49 <echo>Running DebugUtilsTests tests</echo> |
|
50 <exec executable="${java.bin.root}/bin/javaunittester"> |
|
51 <arg line="-mainclass=com.nokia.mj.impl.utils.DebugUtilsTests"/> |
|
52 </exec> |
55 |
53 |
56 </project> |
54 <echo>Running LoggerTests tests</echo> |
|
55 <exec executable="${java.bin.root}/bin/javaunittester"> |
|
56 <arg line="-mainclass=com.nokia.mj.impl.utils.LoggerTests"/> |
|
57 </exec> |
|
58 </target> |
|
59 |
|
60 <target name="main" depends="clean,run"/> |
|
61 |
|
62 </project> |