- Timestamp:
- 2010-08-02T08:56:53+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/FilterTest.java
r3367 r3402 2 2 package org.openstreetmap.josm.data.osm; 3 3 4 import static org.junit.Assert.assertNotNull;5 4 import static org.junit.Assert.assertTrue; 6 5 … … 33 32 public void basic_test() throws ParseError { 34 33 DataSet ds = new DataSet(); 35 Node n1 = new Node( 1);34 Node n1 = new Node(); 36 35 n1.put("amenity", "parking"); 37 Node n2 = new Node( 2);36 Node n2 = new Node(); 38 37 n2.put("fixme", "continue"); 39 38 ds.addPrimitive(n1); 40 39 ds.addPrimitive(n2); 41 OsmPrimitive p = ds.getPrimitiveById(1,OsmPrimitiveType.NODE);42 assertNotNull(p);43 40 44 41 Collection<OsmPrimitive> all = new HashSet<OsmPrimitive>();
Note:
See TracChangeset
for help on using the changeset viewer.