Changeset 12157 in josm for trunk/test/unit
- Timestamp:
- 2017-05-15T14:41:08+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java
r12156 r12157 15 15 import org.openstreetmap.josm.TestUtils; 16 16 import org.openstreetmap.josm.data.gpx.GpxData; 17 import org.openstreetmap.josm.gui.layer.GpxLayer; 17 18 import org.openstreetmap.josm.io.GpxReaderTest; 18 19 import org.openstreetmap.josm.tools.ColorHelper; … … 123 124 static List<String> calculateColors(String fileName, String layerName, int n) throws IOException, SAXException { 124 125 final GpxData data = GpxReaderTest.parseGpxData(fileName); 125 final GpxDrawHelper gdh = new GpxDrawHelper(data); 126 final GpxLayer layer = new GpxLayer(data); 127 final GpxDrawHelper gdh = new GpxDrawHelper(layer); 126 128 gdh.readPreferences(layerName); 127 129 gdh.calculateColors();
Note:
See TracChangeset
for help on using the changeset viewer.