Ignore:
Timestamp:
2017-09-14T00:22:37+02:00 (15 months ago)
Author:
bastiK
Message:

see #15229 - use Config in tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/MainApplicationTest.java

    r12643 r12849  
    4141import org.openstreetmap.josm.plugins.PluginListParseException;
    4242import org.openstreetmap.josm.plugins.PluginListParser;
     43import org.openstreetmap.josm.spi.preferences.Config;
    4344import org.openstreetmap.josm.testutils.JOSMTestRules;
    4445import org.openstreetmap.josm.tools.Logging;
     
    205206    public void testSetupUIManager() {
    206207        MainApplication.setupUIManager();
    207         assertEquals(Main.pref.get("laf", Main.platform.getDefaultStyle()), UIManager.getLookAndFeel().getClass().getCanonicalName());
     208        assertEquals(Config.getPref().get("laf", Main.platform.getDefaultStyle()), UIManager.getLookAndFeel().getClass().getCanonicalName());
    208209    }
    209210
Note: See TracChangeset for help on using the changeset viewer.