Changeset 12651 in josm for trunk/test


Ignore:
Timestamp:
2017-08-25T23:56:58+02:00 (2 years ago)
Author:
Don-vip
Message:

see #15182 - code refactoring to avoid dependence on GUI packages from MapPaintStyles

Location:
trunk/test/performance/org/openstreetmap/josm/gui/mappaint
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java

    r12650 r12651  
    3939import org.openstreetmap.josm.gui.NavigatableComponent;
    4040import org.openstreetmap.josm.gui.mappaint.StyleSetting.BooleanStyleSetting;
     41import org.openstreetmap.josm.gui.mappaint.loader.MapPaintStyleLoader;
    4142import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource;
    4243import org.openstreetmap.josm.gui.mappaint.mapcss.Selector;
     
    142143        Assert.assertNotNull(hideIconsSetting);
    143144        hideIconsSetting.setValue(false);
    144         MapPaintStyles.reloadStyles(defaultStyleIdx);
     145        MapPaintStyleLoader.reloadStyles(defaultStyleIdx);
    145146
    146147        try (
     
    157158            hideIconsSetting.setValue(true);
    158159        }
    159         MapPaintStyles.reloadStyles(defaultStyleIdx);
     160        MapPaintStyleLoader.reloadStyles(defaultStyleIdx);
    160161    }
    161162
     
    290291            setFilterStyleActive(false);
    291292        }
    292         MapPaintStyles.reloadStyles(filterStyleIdx);
     293        MapPaintStyleLoader.reloadStyles(filterStyleIdx);
    293294        test.run();
    294295    }
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.java

    r12650 r12651  
    6868
    6969    void loadStyle() {
    70         System.out.println("Loading style '"+STYLE_FILE+"' ...");
     70        System.out.print("Loading style '"+STYLE_FILE+"' ...");
    7171        MapCSSStyleSource source = new MapCSSStyleSource(
    7272            new SourceEntry(
Note: See TracChangeset for help on using the changeset viewer.