Ignore:
Timestamp:
2018-08-12T17:24:32+02:00 (3 years ago)
Author:
Don-vip
Message:

see #15229 - deprecate Main.pref

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/advanced/ExportProfileActionTest.java

    r14081 r14149  
    66import org.junit.Rule;
    77import org.junit.Test;
    8 import org.openstreetmap.josm.Main;
    98import org.openstreetmap.josm.TestUtils;
     9import org.openstreetmap.josm.data.Preferences;
    1010import org.openstreetmap.josm.testutils.JOSMTestRules;
    1111import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker;
     
    3535            "All the preferences of this group are default, nothing to save", JOptionPane.OK_OPTION
    3636        ));
    37         new ExportProfileAction(Main.pref, "foo", "bar").actionPerformed(null);
    38         new ExportProfileAction(Main.pref, "expert", "expert").actionPerformed(null);
     37        new ExportProfileAction(Preferences.main(), "foo", "bar").actionPerformed(null);
     38        new ExportProfileAction(Preferences.main(), "expert", "expert").actionPerformed(null);
    3939    }
    4040}
Note: See TracChangeset for help on using the changeset viewer.