Changeset 7124 in josm for trunk/test/unit/org
- Timestamp:
- 2014-05-14T13:47:05+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.groovy
r7123 r7124 310 310 assert !s1.matches(new Environment().withPrimitive(w)) 311 311 } 312 313 @Test 314 public void testInvalidBaseSelector() throws Exception { 315 def css = new MapCSSStyleSource("invalid_base[key=value] {}") 316 css.loadStyleSource() 317 assert !css.getErrors().isEmpty() 318 assert css.getErrors().iterator().next().toString().contains("Unknown MapCSS base selector invalid_base") 319 } 312 320 }
Note:
See TracChangeset
for help on using the changeset viewer.