Ignore:
Timestamp:
2015-10-11T17:28:19+02:00 (9 years ago)
Author:
Don-vip
Message:

improve/cleanup unit tests

File:
1 edited

Legend:

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

    r8803 r8857  
    22package org.openstreetmap.josm.io.session;
    33
    4 import static org.hamcrest.CoreMatchers.is;
    54import static org.junit.Assert.assertEquals;
    65import static org.junit.Assert.assertNotNull;
    76import static org.junit.Assert.assertSame;
    8 import static org.junit.Assert.assertThat;
    97import static org.junit.Assert.assertTrue;
    108
     
    122120        assertTrue(layers.get(0) instanceof ImageryLayer);
    123121        final ImageryLayer image = (ImageryLayer) layers.get(0);
    124         assertThat(image.getName(), is("Bing aerial imagery"));
     122        assertEquals("Bing aerial imagery", image.getName());
    125123        assertEquals(image.getDx(), 12.34, 1e-9);
    126124        assertEquals(image.getDy(), -56.78, 1e-9);
Note: See TracChangeset for help on using the changeset viewer.