Changeset 379 for trunk/JavaCommons
- Timestamp:
- 01/31/12 12:11:37 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaCommons/build.xml
r349 r379 105 105 <property name="coverage.instrumented.javahelperlib" value="${coverage.instrumented}/javahelperlib" /> 106 106 <property name="coverage.instrumented.eventbenchcore" value="${coverage.instrumented}/eventbenchcore" /> 107 <property name="coverage.instrumented.eventbenchconsole" value="${coverage.instrumented}/eventbenchconsole" /> 107 108 <path id="emma.classpath"> 108 109 <pathelement location="lib-test/emma.jar" /> … … 124 125 </path> 125 126 127 <!-- JUnit Test EventBenchConsole Properties --> 128 <property name="test.location.eventbenchconsole" value="${build.location}/eventbenchconsole-test" /> 129 <property name="EventBenchConsoleTest.location" value="../EventBenchConsoleTest" /> 130 <property name="test.eventbenchconsole.main-class" value="de.ugoe.cs.eventbench.jfc.TestAll" /> 131 <property name="test.eventbenchconsole.results" value="${test.location.results}/eventbenchconsole" /> 132 <path id="EventBenchConsoleJUnitCompile.classpath"> 133 <pathelement location="${test.location.eventbenchconsole}" /> 134 <path refid="EventBenchConsole.classpath" /> 135 <path refid="EventBenchCore.classpath" /> 136 <path refid="JUnit.classpath" /> 137 </path> 138 <path id="EventBenchConsoleJUnitExecute.classpath"> 139 <pathelement location="${coverage.instrumented.eventbenchconsole}" /> 140 <path refid="EventBenchConsoleJUnitCompile.classpath" /> 141 <path refid="emma.classpath" /> 142 </path> 143 126 144 <!-- JUnit Test EventBenchCore Properties --> 127 145 <property name="test.location.eventbenchcore" value="${build.location}/eventbenchcore-test" /> … … 131 149 <path id="EventBenchCoreJUnitCompile.classpath"> 132 150 <pathelement location="${test.location.eventbenchcore}" /> 133 <!--<pathelement location="${coverage.instrumented.eventbenchcore}" /> -->134 151 <path refid="EventBenchCore.classpath" /> 135 152 <path refid="JUnit.classpath" /> … … 196 213 <mkdir dir="${test.location.data}" /> 197 214 <mkdir dir="${test.location.output}" /> 215 </target> 216 <target depends="init.junit" name="init.eventbenchconsole-test"> 217 <mkdir dir="${test.location.eventbenchconsole}" /> 198 218 </target> 199 219 <target depends="init.junit" name="init.eventbenchcore-test"> … … 375 395 376 396 <!-- JUnit Targets --> 397 <target depends="init.eventbenchconsole-test, emma.instrument.eventbenchconsole" 398 name="build.eventbenchconsole-test"> 399 <javac debug="true" debuglevel="${debuglevel}" destdir="${test.location.eventbenchconsole}" 400 source="${source}" target="${target}" includeantruntime="false"> 401 <src path="${EventBenchConsoleTest.location}/src" /> 402 <classpath refid="EventBenchConsoleJUnitCompile.classpath" /> 403 </javac> 404 </target> 377 405 <target depends="init.eventbenchcore-test, emma.instrument.eventbenchcore" 378 406 name="build.eventbenchcore-test"> … … 392 420 </target> 393 421 422 <target depends="emma.instrument.eventbenchconsole,build.eventbenchconsole-test" 423 name="junit.eventbenchconsole"> 424 <junit fork="on" printsummary="yes" haltonfailure="no"> 425 <classpath refid="EventBenchConsoleJUnitExecute.classpath" /> 426 <test name="${test.eventbenchconsole.main-class}" haltonfailure="no" 427 outfile="${test.eventbenchconsole.results}"> 428 <formatter type="xml" /> 429 </test> 430 <jvmarg 431 value="-Demma.coverage.out.file=${coverage.location}/eventbenchconsole.emma" /> 432 <jvmarg value="-Demma.coverage.out.merge=true" /> 433 </junit> 434 </target> 394 435 <target depends="emma.instrument.eventbenchcore,build.eventbenchcore-test" 395 436 name="junit.eventbenchcore"> … … 419 460 </target> 420 461 421 <target depends="junit.javahelperlib,junit.eventbenchcore " name="junit" />462 <target depends="junit.javahelperlib,junit.eventbenchcore,junit.eventbenchconsole" name="junit" /> 422 463 423 464 <!-- Emma Targets --> … … 434 475 </emma> 435 476 </target> 477 <target depends="build.eventbenchconsole, init.emma" name="emma.instrument.eventbenchconsole"> 478 <emma enabled="true"> 479 <instr instrpath="${build.location.eventbenchconsole}" destdir="${coverage.instrumented.eventbenchconsole}" 480 metadatafile="${coverage.location}/eventbenchconsole.emma" merge="true" /> 481 </emma> 482 </target> 436 483 <target depends="junit" name="emma.report"> 437 484 <emma enabled="true">
Note: See TracChangeset
for help on using the changeset viewer.