Changeset 10414 in josm for trunk/test


Ignore:
Timestamp:
2016-06-18T01:45:15+02:00 (8 years ago)
Author:
Don-vip
Message:

fix ignored presets (happened again)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreferenceTestIT.java

    r10326 r10414  
    7070                    e.printStackTrace();
    7171                    // ignore frequent network errors with www.freietonne.de causing too much Jenkins failures
    72                     // also ignore https://github.com/yopaseopor/traffic_signs_preset_JOSM because of far too frequent missing icons errors
    73                     if (!source.url.contains("www.freietonne.de") && !source.url.contains("yopaseopor/traffic_signs")) {
     72                    if (!source.url.contains("www.freietonne.de")) {
    7473                        allErrors.add(e1);
    7574                    }
     
    9291        boolean error = false;
    9392        for (String message : errorsAndWarnings) {
    94             if (message.contains(TaggingPreset.PRESET_ICON_ERROR_MSG_PREFIX)) {
     93            if (message.contains(TaggingPreset.PRESET_ICON_ERROR_MSG_PREFIX) && !source.url.contains("yopaseopor/traffic_signs")) {
     94                // ignore https://github.com/yopaseopor/traffic_signs_preset_JOSM because of far too frequent missing icons errors
    9595                error = true;
    9696                allMessages.add(message);
Note: See TracChangeset for help on using the changeset viewer.