Changeset 7081 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm/visitor
- Timestamp:
- 2014-05-09T04:49:54+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/visitor/MergeSourceBuildingVisitorTest.java
r6881 r7081 11 11 import org.junit.BeforeClass; 12 12 import org.junit.Test; 13 import org.openstreetmap.josm. Main;13 import org.openstreetmap.josm.JOSMFixture; 14 14 import org.openstreetmap.josm.data.coor.LatLon; 15 15 import org.openstreetmap.josm.data.osm.DataSet; … … 20 20 import org.openstreetmap.josm.data.osm.RelationMember; 21 21 import org.openstreetmap.josm.data.osm.Way; 22 import org.openstreetmap.josm.data.projection.Projections;23 22 24 23 public class MergeSourceBuildingVisitorTest { … … 39 38 @BeforeClass 40 39 public static void setUp() { 41 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 42 Main.initApplicationPreferences(); 43 } 44 45 @Test 46 public void test_Nodes() { 40 JOSMFixture.createUnitTestFixture().init(); 41 } 42 43 @Test 44 public void testNodes() { 47 45 DataSet source = new DataSet(); 48 46 Node n1 = new Node(1); … … 79 77 80 78 @Test 81 public void test _OneWay() {79 public void testOneWay() { 82 80 DataSet source = new DataSet(); 83 81 Node n1 = new Node(1); … … 111 109 112 110 @Test 113 public void test _OneWay_NodesSelectedToo() {111 public void testOneWayNodesSelectedToo() { 114 112 DataSet source = new DataSet(); 115 113 Node n1 = new Node(1); … … 143 141 144 142 @Test 145 public void test _OneWay_Incomplete() {143 public void testOneWayIncomplete() { 146 144 DataSet source = new DataSet(); 147 145 Way w1 = new Way(3); … … 161 159 162 160 @Test 163 public void test _OneRelation_ExistingMembersSelected() {161 public void testOneRelationExistingMembersSelected() { 164 162 DataSet source = new DataSet(); 165 163 Relation r1 = new Relation(1, 1); … … 220 218 221 219 @Test 222 public void test _OneRelation_ExistingMembersNotSelected() {220 public void testOneRelationExistingMembersNotSelected() { 223 221 DataSet source = new DataSet(); 224 222 Relation r1 = new Relation(1, 1); … … 279 277 280 278 @Test 281 public void test _OneRelation_NewMembersNotSelected() {279 public void testOneRelationNewMembersNotSelected() { 282 280 DataSet source = new DataSet(); 283 281 Relation r1 = new Relation(); … … 346 344 347 345 @Test 348 public void test _OneRelation_Existing_Recursive() {346 public void testOneRelationExistingRecursive() { 349 347 DataSet source = new DataSet(); 350 348 Relation r1 = new Relation(1, 1); … … 365 363 366 364 @Test 367 public void test _OneRelation_New_Recursive() {365 public void testOneRelationNewRecursive() { 368 366 DataSet source = new DataSet(); 369 367 Relation r1 = new Relation(); … … 385 383 386 384 @Test 387 public void test _TwoRelation_Existing_Circular() {385 public void testTwoRelationExistingCircular() { 388 386 DataSet source = new DataSet(); 389 387 Relation r1 = new Relation(1, 1);
Note:
See TracChangeset
for help on using the changeset viewer.