Changeset 13765 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm/QuadBucketsTest.java
- Timestamp:
- 2018-05-14T03:49:36+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/QuadBucketsTest.java
r11324 r13765 43 43 List<Relation> allRelations = new ArrayList<>(ds.getRelations()); 44 44 45 QuadBuckets<Node> nodes = Reflection.field("nodes").ofType(new TypeRef<QuadBuckets<Node>>() {}).in(ds).get(); 46 QuadBuckets<Way> ways = Reflection.field("ways").ofType(new TypeRef<QuadBuckets<Way>>() {}).in(ds).get(); 47 Collection<Relation> relations = Reflection.field("relations").ofType(new TypeRef<Collection<Relation>>() {}).in(ds).get(); 45 QuadBucketPrimitiveStore<Node, Way, Relation> s = Reflection.field("store").ofType( 46 new TypeRef<QuadBucketPrimitiveStore<Node, Way, Relation>>() {}).in(ds).get(); 47 QuadBuckets<Node> nodes = Reflection.field("nodes").ofType(new TypeRef<QuadBuckets<Node>>() {}).in(s).get(); 48 QuadBuckets<Way> ways = Reflection.field("ways").ofType(new TypeRef<QuadBuckets<Way>>() {}).in(s).get(); 49 Collection<Relation> relations = Reflection.field("relations").ofType(new TypeRef<Collection<Relation>>() {}).in(s).get(); 48 50 49 51 int expectedCount = allNodes.size();
Note:
See TracChangeset
for help on using the changeset viewer.