Changeset 12035 in josm for trunk/test/unit
- Timestamp:
- 2017-05-01T17:24:07+02:00 (8 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/osm
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetDataSetTest.java
r11973 r12035 14 14 import org.junit.Test; 15 15 import org.openstreetmap.josm.Main; 16 import org.openstreetmap.josm.TestUtils; 16 17 import org.openstreetmap.josm.data.coor.LatLon; 17 18 import org.openstreetmap.josm.data.osm.ChangesetDataSet.ChangesetDataSetEntry; … … 20 21 import org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive; 21 22 import org.openstreetmap.josm.testutils.JOSMTestRules; 23 import org.openstreetmap.josm.tools.Logging; 22 24 23 25 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 85 87 assertEquals(prim1, cdse.getPrimitive()); 86 88 assertFalse(it.hasNext()); 89 try { 90 it.remove(); 91 fail("remove should throw UnsupportedOperationException"); 92 } catch (UnsupportedOperationException e) { 93 Logging.trace(e.getMessage()); 94 } 95 } 96 97 /** 98 * Unit test of {@link ChangesetModificationType} enum. 99 */ 100 @Test 101 public void testEnumChangesetModificationType() { 102 TestUtils.superficialEnumCodeCoverage(ChangesetModificationType.class); 87 103 } 88 104 }
Note:
See TracChangeset
for help on using the changeset viewer.