Changeset 2587 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2009-12-06T14:43:18+01:00 (15 years ago)
Author:
jttt
Message:

Added Way.hasIncompletNodes(), Way.isIncomplete() now returns true only if way is not downloaded, not if one of the nodes is missing. Way.isUsable() return false if one of the way nodes is incomplete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/osm/DataSetMergerTest.java

    r2585 r2587  
    11421142        Way w = (Way)target.getPrimitiveById(3, OsmPrimitiveType.WAY);
    11431143        assertNotNull(w);
    1144         assertFalse(w.isIncomplete());
     1144        assertFalse(w.hasIncompleteNodes());
     1145        assertFalse(w.isUsable());
    11451146        assertEquals(2, w.getNodesCount());
    11461147        assertEquals(1, w.getNode(0).getId());
Note: See TracChangeset for help on using the changeset viewer.