Ignore:
Timestamp:
2015-10-14T23:35:44+02:00 (4 years ago)
Author:
Don-vip
Message:

cleanup unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/date/DateUtilsTest.java

    r8857 r8876  
    1010 */
    1111public class DateUtilsTest {
     12
     13    /**
     14     * Test to parse date as returned for map data.
     15     */
    1216    @Test
    13     public void testMapDate() throws Exception {
     17    public void testMapDate() {
    1418        assertEquals(1344870637000L, DateUtils.fromString("2012-08-13T15:10:37Z").getTime());
    15 
    1619    }
    1720
     21    /**
     22     * Test to parse date as returned for note data.
     23     */
    1824    @Test
    19     public void testNoteDate() throws Exception {
     25    public void testNoteDate() {
    2026        assertEquals(1417298930000L, DateUtils.fromString("2014-11-29 22:08:50 UTC").getTime());
    2127    }
Note: See TracChangeset for help on using the changeset viewer.