Changeset 14052 in josm for trunk/build.xml


Ignore:
Timestamp:
2018-07-26T22:01:31+02:00 (14 months ago)
Author:
Don-vip
Message:

see #16010 - use JMockit to enable more extensive test coverage (patch by ris, modified)

see https://github.com/openstreetmap/josm/pull/24/commits for details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r14033 r14052  
    4343        <property name="dist-optimized.jar" location="${dist.dir}/josm-custom-optimized.jar"/>
    4444        <property name="java.lang.version" value="1.8" />
     45        <property name="test.headless" value="true" />
    4546        <property name="jacoco.includes" value="org.openstreetmap.josm.*" />
    4647        <property name="jacoco.inclbootstrapclasses" value="false" />
     
    501502                <junit printsummary="yes" fork="true" forkmode="once">
    502503                    <jvmarg value="-Dfile.encoding=UTF-8"/>
     504                    <jvmarg value="-javaagent:${test.dir}/lib/jmockit-1.40.jar"/>
    503505                    <jvmarg value="--add-modules" if:set="isJava9" unless:set="isJava11" />
    504506                    <jvmarg value="java.activation,java.se.ee" if:set="isJava9" unless:set="isJava11" />
     
    525527                    <sysproperty key="josm.home" value="${test.dir}/config/@{testfamily}-josm.home"/>
    526528                    <sysproperty key="josm.test.data" value="${test.dir}/data"/>
    527                     <sysproperty key="java.awt.headless" value="true"/>
     529                    <sysproperty key="java.awt.headless" value="${test.headless}"/>
    528530                    <sysproperty key="glass.platform" value="Monocle"/>
    529531                    <sysproperty key="monocle.platform" value="Headless"/>
Note: See TracChangeset for help on using the changeset viewer.