Changeset 12825 in josm for trunk/test


Ignore:
Timestamp:
2017-09-11T20:43:41+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - make FileWatcher generic so it has no more dependence on MapCSS

Location:
trunk/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/gui/mappaint/MapCSSRendererTest.java

    r12649 r12825  
    3737import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer;
    3838import org.openstreetmap.josm.data.preferences.sources.SourceEntry;
     39import org.openstreetmap.josm.data.preferences.sources.SourceType;
    3940import org.openstreetmap.josm.gui.NavigatableComponent;
    4041import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource;
     
    302303
    303304        public SourceEntry getStyleSourceEntry() {
    304             return new SourceEntry(getTestDirectory() + "/style.mapcss",
     305            return new SourceEntry(SourceType.MAP_PAINT_STYLE, getTestDirectory() + "/style.mapcss",
    305306                    "test style", "a test style", true // active
    306307            );
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.java

    r12651 r12825  
    1717import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer;
    1818import org.openstreetmap.josm.data.preferences.sources.SourceEntry;
     19import org.openstreetmap.josm.data.preferences.sources.SourceType;
    1920import org.openstreetmap.josm.gui.NavigatableComponent;
    2021import org.openstreetmap.josm.gui.mappaint.MapRendererPerformanceTest;
     
    7172        MapCSSStyleSource source = new MapCSSStyleSource(
    7273            new SourceEntry(
     74                SourceType.MAP_PAINT_STYLE,
    7375                STYLE_FILE,
    7476                "test style",
Note: See TracChangeset for help on using the changeset viewer.