Changeset 14149 in josm for trunk/test/unit/org/openstreetmap/josm/gui/preferences/advanced/ExportProfileActionTest.java
- Timestamp:
- 2018-08-12T17:24:32+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/advanced/ExportProfileActionTest.java
r14081 r14149 6 6 import org.junit.Rule; 7 7 import org.junit.Test; 8 import org.openstreetmap.josm.Main;9 8 import org.openstreetmap.josm.TestUtils; 9 import org.openstreetmap.josm.data.Preferences; 10 10 import org.openstreetmap.josm.testutils.JOSMTestRules; 11 11 import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker; … … 35 35 "All the preferences of this group are default, nothing to save", JOptionPane.OK_OPTION 36 36 )); 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); 39 39 } 40 40 }
Note:
See TracChangeset
for help on using the changeset viewer.