Changeset 11713 in josm for trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx
- Timestamp:
- 2017-03-10T02:28:00+01:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 12 12 junit*.properties 13 13 foobar 14 pmd-josm.xml
-
- Property svn:ignore
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java
r10824 r11713 4 4 import static org.junit.Assert.assertEquals; 5 5 6 import java.awt.Color;7 6 import java.io.FileNotFoundException; 8 7 import java.io.IOException; … … 18 17 import org.openstreetmap.josm.data.gpx.GpxData; 19 18 import org.openstreetmap.josm.data.gpx.WayPoint; 20 import org.openstreetmap.josm.data.preferences.ColorProperty;21 19 import org.openstreetmap.josm.io.GpxReaderTest; 22 20 import org.openstreetmap.josm.tools.ColorHelper; … … 127 125 static List<String> calculateColors(String fileName, String layerName, int n) throws IOException, SAXException { 128 126 final GpxData data = GpxReaderTest.parseGpxData(fileName); 129 final GpxDrawHelper gdh = new GpxDrawHelper(data , new ColorProperty("x", Color.MAGENTA));127 final GpxDrawHelper gdh = new GpxDrawHelper(data); 130 128 gdh.readPreferences(layerName); 131 129 gdh.calculateColors();
Note:
See TracChangeset
for help on using the changeset viewer.