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


Ignore:
Timestamp:
2020-03-03T09:20:55+01:00 (5 years ago)
Author:
GerdP
Message:

see #18835: adapt unit tests to different "recurse down" behaviour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/MultiFetchOverpassObjectReaderTest.java

    r15811 r16009  
    4747        reader.setRecurseDownRelations(true);
    4848        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);
    5050        reader.setRecurseDownRelations(false);
    5151        requestString = reader.buildComplexRequestString();
     
    6363                new Node(1)));
    6464        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);
    6668        reader.setRecurseDownRelations(false);
    6769        requestString = reader.buildComplexRequestString();
Note: See TracChangeset for help on using the changeset viewer.