Changeset 2498 in josm for trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
- Timestamp:
- 2009-11-22T12:45:38+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r2399 r2498 62 62 protected static void populateTestDataSetWithNodes(DataSet ds) { 63 63 for (int i=0;i<100;i++) { 64 Node n = new Node( 0);64 Node n = new Node(); 65 65 n.setCoor(new LatLon(-36.6,47.6)); 66 66 n.put("name", "node-"+i); 67 n.incomplete = false;68 67 ds.addPrimitive(n); 69 68 } … … 72 71 protected static void populateTestDataSetWithWays(DataSet ds) { 73 72 for (int i=0;i<20;i++) { 74 Way w = new Way(0); 75 w.incomplete = false; 73 Way w = new Way(); 76 74 for (int j = 0; j < 10;j++) { 77 75 w.addNode(lookupNode(ds, i+j)); … … 84 82 protected static void populateTestDataSetWithRelations(DataSet ds) { 85 83 for (int i=0;i<10;i++) { 86 Relation r = new Relation(0); 87 r.incomplete = false; 84 Relation r = new Relation(); 88 85 r.put("name", "relation-" +i); 89 86 for (int j =0; j < 10; j++) { … … 139 136 140 137 @BeforeClass 141 public static void init() throws OsmTransferException , InterruptedException{138 public static void init() throws OsmTransferException { 142 139 logger.info("initializing ..."); 143 140 testProperties = new Properties();
Note:
See TracChangeset
for help on using the changeset viewer.