Changeset 16159 in josm for trunk/test/unit/org/openstreetmap/josm/gui/preferences/advanced
- Timestamp:
- 2020-03-17T20:09:38+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/advanced/ExportProfileActionTest.java
r14149 r16159 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.preferences.advanced; 3 4 import java.util.Collections; 3 5 4 6 import javax.swing.JOptionPane; … … 10 12 import org.openstreetmap.josm.testutils.JOSMTestRules; 11 13 import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker; 12 13 import com.google.common.collect.ImmutableMap;14 14 15 15 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 32 32 public void testAction() { 33 33 TestUtils.assumeWorkingJMockit(); 34 new JOptionPaneSimpleMocker( ImmutableMap.of(34 new JOptionPaneSimpleMocker(Collections.singletonMap( 35 35 "All the preferences of this group are default, nothing to save", JOptionPane.OK_OPTION 36 36 ));
Note:
See TracChangeset
for help on using the changeset viewer.