Ticket #20433: 20433.patch
| File 20433.patch, 1.9 KB (added by , 5 years ago) |
|---|
-
build.xml
444 444 <jvmarg value="-Dfile.encoding=UTF-8"/> 445 445 <jvmarg value="-javaagent:${test.dir}/lib/jmockit.jar"/> 446 446 <jvmarg value="-Djunit.jupiter.extensions.autodetection.enabled=true"/> 447 <jvmarg value="-Djunit.jupiter.execution.parallel.enabled=true"/> 447 448 <jvmarg value="--add-modules" if:set="isJava9" unless:set="isJava11" /> 448 449 <jvmarg value="java.activation,java.se.ee" if:set="isJava9" unless:set="isJava11" /> 449 450 <jvmarg value="--add-exports" if:set="isJava9" unless:set="noJavaFX" /> -
test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTestIT.java
29 29 import org.junit.jupiter.api.AfterAll; 30 30 import org.junit.jupiter.api.BeforeAll; 31 31 import org.junit.jupiter.api.extension.RegisterExtension; 32 import org.junit.jupiter.api.parallel.Execution; 33 import org.junit.jupiter.api.parallel.ExecutionMode; 32 34 import org.junit.jupiter.params.ParameterizedTest; 33 35 import org.junit.jupiter.params.provider.Arguments; 34 36 import org.junit.jupiter.params.provider.MethodSource; … … 425 427 * @param id The id of the imagery info to show as the test name 426 428 * @param info The imagery info to test 427 429 */ 430 @Execution(ExecutionMode.CONCURRENT) 428 431 @ParameterizedTest(name = "{0}") 429 432 @MethodSource("data") 430 433 void testImageryEntryValidity(String id, ImageryInfo info) {
