Changeset 15723 in josm for trunk/test


Ignore:
Timestamp:
2020-01-18T21:42:25+01:00 (5 years ago)
Author:
simon04
Message:

Fix unit tests

Location:
trunk/test/unit/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTest.java

    r15717 r15723  
    7171        try {
    7272            final String plugins = Stream.concat(
    73                     PluginHandler.DEPRECATED_PLUGINS.stream(),
     73                    PluginHandler.DEPRECATED_PLUGINS.stream().map(p -> p.name),
    7474                    PluginHandler.UNMAINTAINED_PLUGINS.stream()
    75             ).map(String::valueOf).collect(Collectors.joining(","));
     75            ).collect(Collectors.joining(","));
    7676            System.setProperty("josm.plugins", plugins);
    7777            List<PluginInformation> list = PluginHandler.buildListOfPluginsToLoad(null, null);
  • trunk/test/unit/org/openstreetmap/josm/tools/MultiMapTest.java

    r13079 r15723  
    5151        map.remove("foo");
    5252        assertEquals(null, map.get("foo"));
    53         assertEquals("(alpha->{})", map.toString());
     53        assertEquals("(alpha->[])", map.toString());
    5454        map.remove("alpha");
    5555        assertTrue(map.isEmpty());
Note: See TracChangeset for help on using the changeset viewer.