Ignore:
Timestamp:
2020-03-03T02:12:44+01:00 (4 years ago)
Author:
Don-vip
Message:

see #18140 - reorganization of data(_nodist), images(_nodist), styles(_nodist), IDE and native files in a more practical file tree.

  • Everything belonging to the jar is now in resources (data, images, styles)
  • Everything not belonging to the jar is now in nodist (data, images, styles)
  • Everything related to OS native functions is now in native (linux, macosx, windows)
  • Everything related to an IDE is now in ide (eclipse, netbeans)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java

    r15497 r16006  
    6060    @Test
    6161    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);
    6363        assertEquals("[#000000, #000000, #000000, #000000, #000000, #000000, #000000, #000000, #000000, #000000]", colors.toString());
    6464    }
     
    7272    @Test
    7373    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",
    7575                ImmutableMap.of("colormode", Integer.toString(ColorMode.VELOCITY.toIndex())), 10);
    7676        assertEquals("[#000000, #FFAD00, #FFA800, #FFA800, #FF9E00, #FF9400, #FF7000, #FF7000, #FF8000, #FF9400]", colors.toString());
     
    8585    @Test
    8686    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",
    8888                ImmutableMap.of("colormode.dynamic-range", "true",
    8989                        "colormode", Integer.toString(ColorMode.VELOCITY.toIndex())),
     
    100100    @Test
    101101    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",
    103103                ImmutableMap.of("colormode", Integer.toString(ColorMode.DIRECTION.toIndex())), 10);
    104104        assertEquals("[#000000, #EAEC25, #EDEA26, #EDE525, #ECD322, #EBB81D, #E85A0D, #E73708, #E84D0B, #EA8A15]", colors.toString());
     
    113113    @Test
    114114    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",
    116116                ImmutableMap.of("colormode", Integer.toString(ColorMode.TIME.toIndex())), 10);
    117117        assertEquals("[#000000, #FF0000, #FF0000, #FF0500, #FF0500, #FF0A00, #FF0A00, #FF1F00, #FF2E00, #FF3300]", colors.toString());
Note: See TracChangeset for help on using the changeset viewer.