Changeset 34598 in osm


Ignore:
Timestamp:
2018-08-23T20:31:37+02:00 (6 years ago)
Author:
donvip
Message:

add JMockit for plugin unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r34595 r34598  
    1515    <property name="josm"                   location="../../core/dist/josm-custom.jar"/>
    1616    <property name="josm.test.build.dir"    location="../../core/test/build"/>
     17    <property name="jmockit.jar"            location="../00_core_test_lib/jmockit-1.41.jar"/>
    1718    <property name="error_prone_ant.jar"    location="../00_core_tools/error_prone_ant.jar"/>
    1819    <property name="checkstyle.jar"         location="../00_core_tools/checkstyle/checkstyle-all.jar"/>
     
    554555                <junit printsummary="yes" fork="true" forkmode="once" dir="${basedir}">
    555556                    <jvmarg value="-Dfile.encoding=UTF-8"/>
     557                    <jvmarg value="-javaagent:${jmockit.jar}"/>
    556558                    <jvmarg value="--add-modules" if:set="isJava9" unless:set="isJava11" />
    557559                    <jvmarg value="java.activation,java.se.ee" if:set="isJava9" unless:set="isJava11" />
Note: See TracChangeset for help on using the changeset viewer.