Ignore:
Timestamp:
2017-09-05T01:27:24+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - fix typos, warnings

Location:
trunk/test/unit/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/upload/FixDataHookTest.java

    r12728 r12729  
    4646        assertTrue(MainApplication.undoRedo.commands.isEmpty());
    4747
    48         // Complete data set (except empty which cannot be tested anymore)
     48        // Complete data set (except empty node which cannot be tested anymore)
    4949        Way emptyWay = new Way();
    5050        Relation emptyRelation = new Relation();
  • trunk/test/unit/org/openstreetmap/josm/data/gpx/GpxDataTest.java

    r12171 r12729  
    334334
    335335        WayPoint close = data.nearestPointOnTrack(new EastNorth(5, 5), 10);
    336         assertEquals(10, close.getEastNorth().east(), .01);
    337         assertEquals(5, close.getEastNorth().north(), .01);
     336        assertEquals(10, close.getEastNorth(Main.getProjection()).east(), .01);
     337        assertEquals(5, close.getEastNorth(Main.getProjection()).north(), .01);
    338338
    339339        close = data.nearestPointOnTrack(new EastNorth(15, 5), 10);
    340         assertEquals(10, close.getEastNorth().east(), .01);
    341         assertEquals(5, close.getEastNorth().north(), .01);
     340        assertEquals(10, close.getEastNorth(Main.getProjection()).east(), .01);
     341        assertEquals(5, close.getEastNorth(Main.getProjection()).north(), .01);
    342342
    343343        assertNull(data.nearestPointOnTrack(new EastNorth(5, 5), 1));
Note: See TracChangeset for help on using the changeset viewer.