Changeset 35642 in osm for applications/editors/josm
- Timestamp:
- 2020-11-16T16:57:49+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/build-common.xml
r35489 r35642 587 587 <sequential> 588 588 <echo message="Running unit tests with JUnit"/> 589 <jacoco:coverage destfile="${plugin.test.dir}/jacoco.exec" enabled="${coverageByDefault}"> 590 <junit printsummary="yes" fork="true" forkmode="once" dir="${basedir}"> 591 <jvmarg value="-Dfile.encoding=UTF-8"/> 592 <jvmarg value="-javaagent:${jmockit.jar}"/> 593 <jvmarg value="--add-modules" if:set="isJava9" unless:set="isJava11" /> 594 <jvmarg value="java.activation,java.se.ee" if:set="isJava9" unless:set="isJava11" /> 595 <jvmarg value="--add-opens" if:set="isJava9" /> 596 <jvmarg value="java.base/java.lang.reflect=ALL-UNNAMED" if:set="isJava9" /> 597 <jvmarg value="--add-opens" if:set="isJava9" /> 598 <jvmarg value="java.desktop/javax.imageio.spi=ALL-UNNAMED" if:set="isJava9" /> 599 <jvmarg value="--add-exports" if:set="isJava9" /> 600 <jvmarg value="java.desktop/com.sun.imageio.spi=ALL-UNNAMED" if:set="isJava9" /> 601 <sysproperty key="josm.home" value="../00_core_test_config/unit-josm.home"/> 602 <sysproperty key="josm.test.data" value="${plugin.test.dir}/data"/> 603 <sysproperty key="java.awt.headless" value="true"/> 604 <sysproperty key="suppressPermanentFailure" value="${suppressPermanentFailure}"/> 605 <classpath> 606 <fileset refid="plugin.requires.jars"/> 607 <path refid="test.classpath"/> 608 <pathelement path="${plugin.test.dir}/build/unit"/> 609 </classpath> 610 <formatter type="plain"/> 611 <formatter type="xml"/> 612 <batchtest fork="yes" todir="${plugin.test.dir}/report"> 613 <fileset dir="${plugin.test.dir}/build/unit" includes="**/*Test.class"/> 614 </batchtest> 615 </junit> 616 </jacoco:coverage> 589 <jacoco:agent destfile="${plugin.test.dir}/jacoco.exec" enabled="${coverageByDefault}" property="jacocoagent"/> 590 <junitlauncher printsummary="yes"> 591 <classpath> 592 <fileset refid="plugin.requires.jars"/> 593 <path refid="test.classpath"/> 594 <pathelement path="${plugin.test.dir}/build/unit"/> 595 </classpath> 596 <testclasses outputDir="${plugin.test.dir}/report"> 597 <fileset dir="${plugin.test.dir}/build/unit" includes="**/*Test.class"/> 598 <fork> 599 <jvmarg value="${jacocoagent}" if:set="jacocoagent" /> 600 <jvmarg value="-Dfile.encoding=UTF-8"/> 601 <jvmarg value="-javaagent:${jmockit.jar}"/> 602 <jvmarg value="--add-modules" if:set="isJava9" unless:set="isJava11" /> 603 <jvmarg value="java.activation,java.se.ee" if:set="isJava9" unless:set="isJava11" /> 604 <jvmarg value="--add-opens" if:set="isJava9" /> 605 <jvmarg value="java.base/java.lang.reflect=ALL-UNNAMED" if:set="isJava9" /> 606 <jvmarg value="--add-opens" if:set="isJava9" /> 607 <jvmarg value="java.desktop/javax.imageio.spi=ALL-UNNAMED" if:set="isJava9" /> 608 <jvmarg value="--add-exports" if:set="isJava9" /> 609 <jvmarg value="java.desktop/com.sun.imageio.spi=ALL-UNNAMED" if:set="isJava9" /> 610 <sysproperty key="josm.home" value="../00_core_test_config/unit-josm.home"/> 611 <sysproperty key="josm.test.data" value="${plugin.test.dir}/data"/> 612 <sysproperty key="java.awt.headless" value="true"/> 613 <sysproperty key="suppressPermanentFailure" value="${suppressPermanentFailure}"/> 614 </fork> 615 <listener type="legacy-plain" /> 616 <listener type="legacy-xml" /> 617 </testclasses> 618 </junitlauncher> 617 619 </sequential> 618 620 </target>
Note:
See TracChangeset
for help on using the changeset viewer.