Changeset 17000 in josm for trunk/test/functional
- Timestamp:
- 2020-09-02T20:51:50+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/mappaint/MapCSSRendererTest.java
r16982 r17000 45 45 import org.openstreetmap.josm.testutils.JOSMTestRules; 46 46 import org.openstreetmap.josm.tools.ColorHelper; 47 import org.openstreetmap.josm.tools.Utils; 47 48 48 49 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 383 384 384 385 public File getReference() { 385 return new File(getTestDirectory() + "/reference.png"); 386 // Java 8 renders SVG images differently, thus, use separate reference files 387 final String javaSuffix = Utils.getJavaVersion() == 8 ? "-java8" : ""; 388 return new File(getTestDirectory() + "/reference" + javaSuffix + ".png"); 386 389 } 387 390
Note:
See TracChangeset
for help on using the changeset viewer.