Changeset 11383 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm/RelationTest.java
- Timestamp:
- 2016-12-12T17:29:27+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/RelationTest.java
r11269 r11383 139 139 assertEquals(OsmPrimitiveType.RELATION, r.getDisplayType()); 140 140 } 141 142 /** 143 * Test that {@link Relation#cloneFrom} throws IAE for invalid arguments 144 */ 145 @Test(expected = IllegalArgumentException.class) 146 public void testCloneFromIAE() { 147 new Relation().cloneFrom(new Node()); 148 } 149 150 /** 151 * Test that {@link Relation#load} throws IAE for invalid arguments 152 */ 153 @Test(expected = IllegalArgumentException.class) 154 public void testLoadIAE() { 155 new Relation().load(new NodeData()); 156 } 141 157 }
Note:
See TracChangeset
for help on using the changeset viewer.