Changeset 16989 in josm for trunk/test/functional/org
- Timestamp:
- 2020-08-30T23:20:08+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/tools/ImageProviderTest.java
r16984 r16989 210 210 211 211 private static File getReferenceFile(String reference) { 212 return new File(TestUtils.getTestDataRoot() + "/" + ImageProviderTest.class.getSimpleName() + "/" + reference + ".png"); 212 // Java 8 renders SVG images differently, thus, use separate reference files 213 final String javaSuffix = Utils.getJavaVersion() == 8 ? "-java8" : ""; 214 return new File(TestUtils.getTestDataRoot() + "/" + ImageProviderTest.class.getSimpleName() + javaSuffix + "/" + reference + ".png"); 213 215 } 214 216
Note:
See TracChangeset
for help on using the changeset viewer.