Changeset 16159 in josm for trunk/test/unit/org/openstreetmap/josm/actions/MergeLayerActionTest.java
- Timestamp:
- 2020-03-17T20:09:38+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/MergeLayerActionTest.java
r15455 r16159 4 4 import static org.junit.Assert.assertEquals; 5 5 import static org.junit.Assert.assertNull; 6 7 import java.util.Collections; 6 8 7 9 import javax.swing.JLabel; … … 21 23 import org.openstreetmap.josm.testutils.mockers.ExtendedDialogMocker; 22 24 import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker; 23 24 import com.google.common.collect.ImmutableMap;25 25 26 26 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 85 85 TestUtils.assumeWorkingJMockit(); 86 86 final JOptionPaneSimpleMocker jopsMocker = new JOptionPaneSimpleMocker( 87 ImmutableMap.<String, Object>of("<html>There are no layers the source layer<br>'onion'<br>could be merged to.</html>", 0)87 Collections.singletonMap("<html>There are no layers the source layer<br>'onion'<br>could be merged to.</html>", 0) 88 88 ); 89 89
Note:
See TracChangeset
for help on using the changeset viewer.