Changeset 16360 in josm for trunk/test/unit
- Timestamp:
- 2020-04-19T15:13:08+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r16356 r16360 38 38 import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.ParseResult; 39 39 import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.TagCheck; 40 import org.openstreetmap.josm.gui.mappaint.Environment; 40 41 import org.openstreetmap.josm.gui.mappaint.MapPaintStyles; 41 42 import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource; … … 103 104 assertTrue(check.test(n1)); 104 105 105 final Collection<TestError> errors = check.getErrorsForPrimitive(n1 );106 final Collection<TestError> errors = check.getErrorsForPrimitive(n1, check.whichSelectorMatchesPrimitive(n1), new Environment(), null); 106 107 assertEquals(1, errors.size()); 107 108 TestError err = errors.iterator().next();
Note:
See TracChangeset
for help on using the changeset viewer.