Changeset 11383 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm/NodeTest.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/NodeTest.java
r11269 r11383 80 80 assertEquals(box1.getCenter(), new LatLon(15, 15)); 81 81 } 82 83 /** 84 * Test that {@link Node#cloneFrom} throws IAE for invalid arguments 85 */ 86 @Test(expected = IllegalArgumentException.class) 87 public void testCloneFromIAE() { 88 new Node().cloneFrom(new Way()); 89 } 90 91 /** 92 * Test that {@link Node#mergeFrom} throws IAE for invalid arguments 93 */ 94 @Test(expected = IllegalArgumentException.class) 95 public void testMergeFromIAE() { 96 new Node().mergeFrom(new Way()); 97 } 98 99 /** 100 * Test that {@link Node#load} throws IAE for invalid arguments 101 */ 102 @Test(expected = IllegalArgumentException.class) 103 public void testLoadIAE() { 104 new Node().load(new WayData()); 105 } 82 106 }
Note:
See TracChangeset
for help on using the changeset viewer.