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


Ignore:
Timestamp:
2020-05-15T21:22:29+02:00 (5 years ago)
Author:
simon04
Message:

see #19151 - SearchCompilerQueryWizard: add unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/SearchCompilerQueryWizardTest.java

    r16358 r16413  
    231231        constructQuery("-(foo or bar)");
    232232    }
     233
     234    /**
     235     * Test for ticket <a href="https://josm.openstreetmap.de/ticket/19151>#19151</a>
     236     */
     237    @Test
     238    public void testTicket19151() {
     239        assertQueryEquals("  relation[\"type\"=\"multipolygon\"][!\"landuse\"][!\"area:highway\"];\n",
     240                "type:relation and type=multipolygon and -landuse=* and -\"area:highway\"=*");
     241    }
    233242}
Note: See TracChangeset for help on using the changeset viewer.