Changeset 2578 in josm for trunk/test/functional/org
- Timestamp:
- 2009-12-05T18:23:03+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r2569 r2578 255 255 for (Way way : referers.getWays()) { 256 256 assertEquals(w.getId(), way.getId()); 257 assertEquals(false, way.i ncomplete);257 assertEquals(false, way.isIncomplete()); 258 258 } 259 259 } … … 274 274 for (Way way : referers.getWays()) { 275 275 assertEquals(w.getId(), way.getId()); 276 assertEquals(false, way.i ncomplete);276 assertEquals(false, way.isIncomplete()); 277 277 assertEquals(10, w.getNodesCount()); 278 278 } … … 292 292 assertEquals(6, referers.getWays().size()); // 6 ways referred by two relations 293 293 for (Way w1 : referers.getWays()) { 294 assertEquals(true, w1.i ncomplete);294 assertEquals(true, w1.isIncomplete()); 295 295 } 296 296 assertEquals(2, referers.getRelations().size()); // two relations referring to w … … 298 298 Relation r = lookupRelation(referers, 0); 299 299 assertNotNull(r); 300 assertEquals(false, r.i ncomplete);300 assertEquals(false, r.isIncomplete()); 301 301 r = lookupRelation(referers, 1); 302 assertEquals(false, r.i ncomplete);302 assertEquals(false, r.isIncomplete()); 303 303 } 304 304 … … 315 315 assertEquals(6, referers.getWays().size()); // 6 ways referred by two relations 316 316 for (Way w1 : referers.getWays()) { 317 assertEquals(false, w1.i ncomplete);317 assertEquals(false, w1.isIncomplete()); 318 318 } 319 319 assertEquals(2, referers.getRelations().size()); // two relations referring to … … 332 332 Relation r = lookupRelation(referers, 0); 333 333 assertNotNull(r); 334 assertEquals(false, r.i ncomplete);334 assertEquals(false, r.isIncomplete()); 335 335 r = lookupRelation(referers, 1); 336 assertEquals(false, r.i ncomplete);336 assertEquals(false, r.isIncomplete()); 337 337 } 338 338 … … 352 352 r = lookupRelation(referers, 6); 353 353 assertNotNull(r); 354 assertEquals(false, r.i ncomplete);354 assertEquals(false, r.isIncomplete()); 355 355 referringRelationsIds.add(r.getId()); 356 356 r = lookupRelation(referers, 7); 357 357 assertNotNull(r); 358 assertEquals(false, r.i ncomplete);358 assertEquals(false, r.isIncomplete()); 359 359 referringRelationsIds.add(r.getId()); 360 360 r = lookupRelation(referers, 8); 361 361 assertNotNull(r); 362 assertEquals(false, r.i ncomplete);362 assertEquals(false, r.isIncomplete()); 363 363 referringRelationsIds.add(r.getId()); 364 364 r = lookupRelation(referers, 9); 365 365 assertNotNull(r); 366 assertEquals(false, r.i ncomplete);366 assertEquals(false, r.isIncomplete()); 367 367 referringRelationsIds.add(r.getId()); 368 368 369 369 for (Relation r1 : referers.getRelations()) { 370 370 if (!referringRelationsIds.contains(r1.getId())) { 371 assertEquals(true, r1.i ncomplete);371 assertEquals(true, r1.isIncomplete()); 372 372 } 373 373 } … … 401 401 for (Way w1 : referers.getWays()) { 402 402 assertEquals(true, expectedWayIds.contains(w1.getId())); 403 assertEquals(true, w1.i ncomplete);403 assertEquals(true, w1.isIncomplete()); 404 404 } 405 405 … … 448 448 r = lookupRelation(referers, 6); 449 449 assertNotNull(r); 450 assertEquals(false, r.i ncomplete);450 assertEquals(false, r.isIncomplete()); 451 451 referringRelationsIds.add(r.getId()); 452 452 r = lookupRelation(referers, 7); 453 453 assertNotNull(r); 454 assertEquals(false, r.i ncomplete);454 assertEquals(false, r.isIncomplete()); 455 455 referringRelationsIds.add(r.getId()); 456 456 r = lookupRelation(referers, 8); 457 457 assertNotNull(r); 458 assertEquals(false, r.i ncomplete);458 assertEquals(false, r.isIncomplete()); 459 459 referringRelationsIds.add(r.getId()); 460 460 r = lookupRelation(referers, 9); 461 461 assertNotNull(r); 462 assertEquals(false, r.i ncomplete);462 assertEquals(false, r.isIncomplete()); 463 463 referringRelationsIds.add(r.getId()); 464 464 … … 466 466 // 467 467 for (Relation r1 : referers.getRelations()) { 468 assertEquals(false, r1.i ncomplete);468 assertEquals(false, r1.isIncomplete()); 469 469 } 470 470 … … 496 496 Way w = (Way) referers.getPrimitiveById(id, OsmPrimitiveType.WAY); 497 497 assertNotNull(w); 498 assertEquals(false, w.i ncomplete);498 assertEquals(false, w.isIncomplete()); 499 499 } 500 500
Note:
See TracChangeset
for help on using the changeset viewer.