Changeset 16006 in josm for trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java
- Timestamp:
- 2020-03-03T02:12:44+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java
r15497 r16006 60 60 @Test 61 61 public void testNone() throws IOException, SAXException { 62 final List<String> colors = calculateColors(" data_nodist/2094047.gpx", ImmutableMap.of(), 10);62 final List<String> colors = calculateColors("nodist/data/2094047.gpx", ImmutableMap.of(), 10); 63 63 assertEquals("[#000000, #000000, #000000, #000000, #000000, #000000, #000000, #000000, #000000, #000000]", colors.toString()); 64 64 } … … 72 72 @Test 73 73 public void testVelocity() throws IOException, SAXException { 74 final List<String> colors = calculateColors(" data_nodist/2094047.gpx",74 final List<String> colors = calculateColors("nodist/data/2094047.gpx", 75 75 ImmutableMap.of("colormode", Integer.toString(ColorMode.VELOCITY.toIndex())), 10); 76 76 assertEquals("[#000000, #FFAD00, #FFA800, #FFA800, #FF9E00, #FF9400, #FF7000, #FF7000, #FF8000, #FF9400]", colors.toString()); … … 85 85 @Test 86 86 public void testVelocityDynamic() throws IOException, SAXException { 87 final List<String> colors = calculateColors(" data_nodist/2094047.gpx",87 final List<String> colors = calculateColors("nodist/data/2094047.gpx", 88 88 ImmutableMap.of("colormode.dynamic-range", "true", 89 89 "colormode", Integer.toString(ColorMode.VELOCITY.toIndex())), … … 100 100 @Test 101 101 public void testDirection() throws IOException, SAXException { 102 final List<String> colors = calculateColors(" data_nodist/2094047.gpx",102 final List<String> colors = calculateColors("nodist/data/2094047.gpx", 103 103 ImmutableMap.of("colormode", Integer.toString(ColorMode.DIRECTION.toIndex())), 10); 104 104 assertEquals("[#000000, #EAEC25, #EDEA26, #EDE525, #ECD322, #EBB81D, #E85A0D, #E73708, #E84D0B, #EA8A15]", colors.toString()); … … 113 113 @Test 114 114 public void testTime() throws IOException, SAXException { 115 final List<String> colors = calculateColors(" data_nodist/2094047.gpx",115 final List<String> colors = calculateColors("nodist/data/2094047.gpx", 116 116 ImmutableMap.of("colormode", Integer.toString(ColorMode.TIME.toIndex())), 10); 117 117 assertEquals("[#000000, #FF0000, #FF0000, #FF0500, #FF0500, #FF0A00, #FF0A00, #FF1F00, #FF2E00, #FF3300]", colors.toString());
Note:
See TracChangeset
for help on using the changeset viewer.