Changeset 16009 in josm
- Timestamp:
- 2020-03-03T09:20:55+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/MultiFetchOverpassObjectReaderTest.java
r15811 r16009 47 47 reader.setRecurseDownRelations(true); 48 48 String requestString = reader.buildComplexRequestString(); 49 assertEquals(" relation(id:123,126,130);>>;out meta;", requestString);49 assertEquals("(relation(id:123,126,130)->.r;.r;rel(r);.r;way(r);>;.r;node(r););out meta;", requestString); 50 50 reader.setRecurseDownRelations(false); 51 51 requestString = reader.buildComplexRequestString(); … … 63 63 new Node(1))); 64 64 String requestString = reader.buildComplexRequestString(); 65 assertEquals("(relation(id:123,126,130);>>;(way(id:88,99);>;);node(1););out meta;", requestString); 65 assertEquals( 66 "((relation(id:123,126,130)->.r;.r;rel(r);.r;way(r);>;.r;node(r););(way(id:88,99);>;);node(1););out meta;", 67 requestString); 66 68 reader.setRecurseDownRelations(false); 67 69 requestString = reader.buildComplexRequestString();
Note:
See TracChangeset
for help on using the changeset viewer.