Changeset 9704 in josm for trunk/test
- Timestamp:
- 2016-02-01T16:16:17+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/OverpassTurboQueryWizardTest.java
r9669 r9704 18 18 @BeforeClass 19 19 public static void setUp() { 20 JOSMFixture.createUnitTestFixture().init( true);20 JOSMFixture.createUnitTestFixture().init(false); 21 21 OverpassTurboQueryWizard.getInstance(); 22 22 } … … 29 29 final String query = OverpassTurboQueryWizard.getInstance().constructQuery("amenity=drinking_water"); 30 30 assertEquals("" + 31 "[timeout:25];\n" + 32 "// gather results\n" + 31 "[out:xml][timeout:25];\n" + 33 32 "(\n" + 34 " // query part for: “amenity=drinking_water”\n" +35 33 " node[\"amenity\"=\"drinking_water\"];\n" + 36 34 " way[\"amenity\"=\"drinking_water\"];\n" + 37 35 " relation[\"amenity\"=\"drinking_water\"];\n" + 38 36 ");\n" + 39 "// print results\n" + 40 "out meta;\n" + 41 ">;\n" + 37 "(._;>;);\n" + 42 38 "out meta;", query); 43 39 }
Note:
See TracChangeset
for help on using the changeset viewer.