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


Ignore:
Timestamp:
2020-04-19T15:13:08+02:00 (4 years ago)
Author:
simon04
Message:

MapCSSTagChecker: remove method (only used in one test)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java

    r16356 r16360  
    3838import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.ParseResult;
    3939import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.TagCheck;
     40import org.openstreetmap.josm.gui.mappaint.Environment;
    4041import org.openstreetmap.josm.gui.mappaint.MapPaintStyles;
    4142import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource;
     
    103104        assertTrue(check.test(n1));
    104105
    105         final Collection<TestError> errors = check.getErrorsForPrimitive(n1);
     106        final Collection<TestError> errors = check.getErrorsForPrimitive(n1, check.whichSelectorMatchesPrimitive(n1), new Environment(), null);
    106107        assertEquals(1, errors.size());
    107108        TestError err = errors.iterator().next();
Note: See TracChangeset for help on using the changeset viewer.