Changeset 9429 in josm for trunk/test/unit


Ignore:
Timestamp:
2016-01-13T02:18:09+01:00 (6 years ago)
Author:
Don-vip
Message:

ignore plugin from EB Dirigo in plugin unit test (closed source + lack of cooperation when update is needed)

File:
1 edited

Legend:

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

    r9166 r9429  
    66import static org.junit.Assert.assertTrue;
    77
     8import java.util.Arrays;
    89import java.util.Iterator;
    910import java.util.List;
     
    4647
    4748        // Filter deprecated and unmaintained ones
     49        List<String> uncooperatingPlugins = Arrays.asList("ebdirigo");
    4850        Set<String> deprecatedPlugins = PluginHandler.getDeprecatedAndUnmaintainedPlugins();
    4951        for (Iterator<PluginInformation> it = plugins.iterator(); it.hasNext();) {
    5052            PluginInformation pi = it.next();
    51             if (deprecatedPlugins.contains(pi.name)) {
     53            if (deprecatedPlugins.contains(pi.name) || uncooperatingPlugins.contains(pi.name)) {
     54                System.out.println("Ignoring " + pi.name + " (deprecated, unmaintained, or uncooperative)");
    5255                it.remove();
    5356            }
Note: See TracChangeset for help on using the changeset viewer.