Changeset 3283 in josm for trunk/test/unit
- Timestamp:
- 2010-05-29T09:06:16+02:00 (15 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/osm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/DataSetMergerTest.java
r3053 r3283 16 16 import org.junit.Before; 17 17 import org.junit.Test; 18 import org.openstreetmap.josm.Main; 18 19 import org.openstreetmap.josm.data.coor.LatLon; 20 import org.openstreetmap.josm.data.projection.Mercator; 19 21 20 22 public class DataSetMergerTest { … … 67 69 their = new DataSet(); 68 70 their.setVersion("0.6"); 71 Main.proj = new Mercator(); 69 72 } 70 73 … … 292 295 /** 293 296 * My and their node are new but semantically equal. My node is deleted. 294 * 297 * 295 298 * => Ignore my node, no conflict 296 299 */ … … 923 926 /** 924 927 * Merge an incomplete way with two incomplete nodes into an empty dataset. 925 * 928 * 926 929 * Use case: a way loaded with a multiget, i.e. GET /api/0.6/ways?ids=123456 927 930 */ … … 966 969 /** 967 970 * Merge an incomplete way with two incomplete nodes into a dataset where the way already exists as complete way. 968 * 971 * 969 972 * Use case: a way loaded with a multiget, i.e. GET /api/0.6/ways?ids=123456 after a "Update selection " of this way 970 973 */ -
trunk/test/unit/org/openstreetmap/josm/data/osm/OsmPrimitiveTest.java
r3282 r3283 6 6 7 7 import org.junit.Assert; 8 import org.junit.BeforeClass; 8 9 import org.junit.Test; 10 import org.openstreetmap.josm.Main; 9 11 import org.openstreetmap.josm.data.coor.LatLon; 12 import org.openstreetmap.josm.data.projection.Mercator; 10 13 11 14 public class OsmPrimitiveTest { … … 17 20 18 21 private DataSet dataSet = new DataSet(); 22 23 @BeforeClass 24 public static void setUp() { 25 Main.proj = new Mercator(); 26 } 19 27 20 28 @Test -
trunk/test/unit/org/openstreetmap/josm/data/osm/RelationTest.java
r3107 r3283 5 5 6 6 import org.junit.Assert; 7 import org.junit.BeforeClass; 7 8 import org.junit.Test; 9 import org.openstreetmap.josm.Main; 8 10 import org.openstreetmap.josm.data.coor.LatLon; 11 import org.openstreetmap.josm.data.projection.Mercator; 9 12 10 13 public class RelationTest { 14 15 @BeforeClass 16 public static void setUp() { 17 Main.proj = new Mercator(); 18 } 11 19 12 20 @Test(expected=NullPointerException.class)
Note:
See TracChangeset
for help on using the changeset viewer.