Changeset 14327 in josm for trunk/test


Ignore:
Timestamp:
2018-10-14T14:15:06+02:00 (13 months ago)
Author:
Don-vip
Message:

checkstyle/unit test fixes

Location:
trunk/test/unit/org/openstreetmap/josm
Files:
2 edited

Legend:

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

    r14090 r14327  
    7373        final String query = getExpandedQuery("amenity=drinking_water");
    7474        assertEquals("" +
    75                 "[out:xml][timeout:25][bbox:2.0,1.0,4.0,3.0];\n" +
     75                "[out:xml][timeout:90][bbox:2.0,1.0,4.0,3.0];\n" +
    7676                "(\n" +
    7777                "  node[\"amenity\"=\"drinking_water\"];\n" +
     
    135135        final String query = getExpandedQuery("amenity=drinking_water in London");
    136136        assertEquals("" +
    137                 "[out:xml][timeout:25];\n" +
     137                "[out:xml][timeout:90];\n" +
    138138                "area(3600065606)->.searchArea;\n" +
    139139                "(\n" +
     
    168168
    169169        assertTrue(OverpassDownloadReader.OUTPUT_FORMAT_STATEMENT.matcher(
    170                 "[out:pbf][timeout:25][bbox:{{bbox}}];\n" +
     170                "[out:pbf][timeout:90][bbox:{{bbox}}];\n" +
    171171                "(\n" +
    172172                "  node[\"amenity\"=\"pharmacy\"];\n" +
     
    205205                "  )]"));
    206206
    207         assertEquals("[out:json][timeout:25];\n" +
     207        assertEquals("[out:json][timeout:90];\n" +
    208208                "(\n" +
    209209                "  node[\"historic\"=\"ringfort\"];\n" +
     
    211211                ");\n" +
    212212                "out meta;",
    213             OverpassDownloadReader.fixQuery("[out:json][timeout:25];\n" +
     213            OverpassDownloadReader.fixQuery("[out:json][timeout:90];\n" +
    214214                "(\n" +
    215215                "  node[\"historic\"=\"ringfort\"];\n" +
  • trunk/test/unit/org/openstreetmap/josm/tools/OverpassTurboQueryWizardTest.java

    r11003 r14327  
    2828        final String query = OverpassTurboQueryWizard.getInstance().constructQuery("amenity=drinking_water");
    2929        assertEquals("" +
    30                 "[out:xml][timeout:25][bbox:{{bbox}}];\n" +
     30                "[out:xml][timeout:90][bbox:{{bbox}}];\n" +
    3131                "(\n" +
    3232                "  node[\"amenity\"=\"drinking_water\"];\n" +
Note: See TracChangeset for help on using the changeset viewer.