Changeset 11383 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm/WayTest.java
- Timestamp:
- 2016-12-12T17:29:27+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/WayTest.java
r11271 r11383 55 55 assertEquals(way.getBBox(), new BBox(10, 10)); 56 56 } 57 58 /** 59 * Test that {@link Way#cloneFrom} throws IAE for invalid arguments 60 */ 61 @Test(expected = IllegalArgumentException.class) 62 public void testCloneFromIAE() { 63 new Way().cloneFrom(new Node()); 64 } 65 66 /** 67 * Test that {@link Way#load} throws IAE for invalid arguments 68 */ 69 @Test(expected = IllegalArgumentException.class) 70 public void testLoadIAE() { 71 new Way().load(new NodeData()); 72 } 57 73 }
Note:
See TracChangeset
for help on using the changeset viewer.
