comparison build.xml @ 635:4ec2d44e2bf3

Compound test scenario for checkout, add, remove, revert and commit
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 06 Jun 2013 18:42:38 +0200
parents f41dd9a3b8af
children a8ce405da1f5
comparison
equal deleted inserted replaced
634:170b6ecc890e 635:4ec2d44e2bf3
82 <sysproperty key="hg4j.tests.repos" value="${test-repos-root}"/> 82 <sysproperty key="hg4j.tests.repos" value="${test-repos-root}"/>
83 <sysproperty key="hg4j.tests.remote" value="http://hg.serpentine.com/tutorial/hello"/> 83 <sysproperty key="hg4j.tests.remote" value="http://hg.serpentine.com/tutorial/hello"/>
84 <test name="org.tmatesoft.hg.test.TestIntMap" /> 84 <test name="org.tmatesoft.hg.test.TestIntMap" />
85 <test name="org.tmatesoft.hg.test.TestAuxUtilities" /> 85 <test name="org.tmatesoft.hg.test.TestAuxUtilities" />
86 <test name="org.tmatesoft.hg.test.TestConfigFileParser" /> 86 <test name="org.tmatesoft.hg.test.TestConfigFileParser" />
87 <test name="org.tmatesoft.hg.test.TestInflaterDataAccess" />
87 <test name="org.tmatesoft.hg.test.TestHistory" /> 88 <test name="org.tmatesoft.hg.test.TestHistory" />
88 <test name="org.tmatesoft.hg.test.TestManifest" /> 89 <test name="org.tmatesoft.hg.test.TestManifest" />
89 <test name="org.tmatesoft.hg.test.TestStatus" /> 90 <test name="org.tmatesoft.hg.test.TestStatus" />
90 <test name="org.tmatesoft.hg.test.TestStorePath" /> 91 <test name="org.tmatesoft.hg.test.TestStorePath" />
91 <test name="org.tmatesoft.hg.test.TestNewlineFilter" /> 92 <test name="org.tmatesoft.hg.test.TestNewlineFilter" />
106 <test name="org.tmatesoft.hg.test.TestCheckout" /> 107 <test name="org.tmatesoft.hg.test.TestCheckout" />
107 <test name="org.tmatesoft.hg.test.TestAddRemove" /> 108 <test name="org.tmatesoft.hg.test.TestAddRemove" />
108 <test name="org.tmatesoft.hg.test.TestCommit" /> 109 <test name="org.tmatesoft.hg.test.TestCommit" />
109 <test name="org.tmatesoft.hg.test.TestBlame" /> 110 <test name="org.tmatesoft.hg.test.TestBlame" />
110 <test name="org.tmatesoft.hg.test.TestDiffHelper" /> 111 <test name="org.tmatesoft.hg.test.TestDiffHelper" />
112 <test name="org.tmatesoft.hg.test.TestRepositoryLock" />
113 <test name="org.tmatesoft.hg.test.ComplexTest" />
111 </junit> 114 </junit>
112 </target> 115 </target>
113 116
114 <!-- --> 117 <!-- -->
115 <target name="build" depends="build-lib, build-cmdline, build-tests" description="Compile and bundle all jars"> 118 <target name="build" depends="build-lib, build-cmdline, build-tests" description="Compile and bundle all jars">
133 </delete> 136 </delete>
134 </target> 137 </target>
135 138
136 <target name="build-lib"> 139 <target name="build-lib">
137 <mkdir dir="bin" /> 140 <mkdir dir="bin" />
138 <javac srcdir="src" destdir="bin" debug="${compile-with-debug}" includeantruntime="no"/> 141 <javac srcdir="src" destdir="bin" debug="${compile-with-debug}" includeantruntime="no" source="1.5" encoding="UTF-8"/>
139 <jar destfile="${hg4j.jar}"> 142 <jar destfile="${hg4j.jar}">
140 <fileset dir="bin/"> 143 <fileset dir="bin/">
141 <include name="org/tmatesoft/hg/core/**" /> 144 <include name="org/tmatesoft/hg/core/**" />
142 <include name="org/tmatesoft/hg/util/**" /> 145 <include name="org/tmatesoft/hg/util/**" />
143 <include name="org/tmatesoft/hg/repo/**" /> 146 <include name="org/tmatesoft/hg/repo/**" />
147 </jar> 150 </jar>
148 </target> 151 </target>
149 152
150 <target name="build-tests" depends="build-lib"> 153 <target name="build-tests" depends="build-lib">
151 <mkdir dir="bin" /> 154 <mkdir dir="bin" />
152 <javac srcdir="test" destdir="bin" debug="${compile-with-debug}" includeantruntime="no"> 155 <javac srcdir="test" destdir="bin" debug="${compile-with-debug}" includeantruntime="no" source="1.5" encoding="UTF-8">
153 <classpath> 156 <classpath>
154 <pathelement location="${hg4j.jar}"/> 157 <pathelement location="${hg4j.jar}"/>
155 <pathelement location="${junit.jar}"/> 158 <pathelement location="${junit.jar}"/>
156 </classpath> 159 </classpath>
157 </javac> 160 </javac>
163 </jar> 166 </jar>
164 </target> 167 </target>
165 168
166 <target name="build-cmdline" depends="build-lib"> 169 <target name="build-cmdline" depends="build-lib">
167 <mkdir dir="bin" /> 170 <mkdir dir="bin" />
168 <javac srcdir="cmdline" destdir="bin" debug="${compile-with-debug}" includeantruntime="no"> 171 <javac srcdir="cmdline" destdir="bin" debug="${compile-with-debug}" includeantruntime="no" source="1.5" encoding="UTF-8">
169 <classpath> 172 <classpath>
170 <pathelement location="${hg4j.jar}"/> 173 <pathelement location="${hg4j.jar}"/>
171 <pathelement location="${junit.jar}"/> 174 <pathelement location="${junit.jar}"/>
172 </classpath> 175 </classpath>
173 </javac> 176 </javac>