Changeset 10134 in josm for trunk/test/unit


Ignore:
Timestamp:
2016-04-10T16:57:50+02:00 (5 years ago)
Author:
Don-vip
Message:

sonar, javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/NoteReaderTest.java

    r9958 r10134  
    6868        assertEquals(4, n.getId());
    6969        assertEquals(new LatLon(36.7232991, 68.86415), n.getLatLon());
    70         assertEquals(State.closed, n.getState());
     70        assertEquals(State.CLOSED, n.getState());
    7171        List<NoteComment> comments = n.getComments();
    7272        assertEquals(2, comments.size());
     
    7575        assertEquals(c1, n.getFirstComment());
    7676        assertEquals(DateUtils.fromString("2013-04-24 08:07:02 UTC"), c1.getCommentTimestamp());
    77         assertEquals(Action.opened, c1.getNoteAction());
     77        assertEquals(Action.OPENED, c1.getNoteAction());
    7878        assertEquals("test", c1.getText());
    7979        assertEquals(User.createOsmUser(1626, "FredB"), c1.getUser());
    8080
    8181        NoteComment c2 = comments.get(1);
    82         assertEquals(Action.closed, c2.getNoteAction());
     82        assertEquals(Action.CLOSED, c2.getNoteAction());
    8383        assertEquals("", c2.getText());
    8484    }
Note: See TracChangeset for help on using the changeset viewer.