Changeset 15100 in josm for trunk/test
- Timestamp:
- 2019-05-20T02:17:34+02:00 (6 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/gui/preferences/map
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/AbstractExtendedSourceEntryTestCase.java
r15098 r15100 58 58 } 59 59 60 protected staticboolean isIgnoredSubstring(String substring) {61 return errorsToIgnore.parallelStream().anyMatch(x -> substring.contains(x) );60 protected boolean isIgnoredSubstring(String substring) { 61 return errorsToIgnore.parallelStream().anyMatch(x -> substring.contains(x) || source.url.contains(x)); 62 62 } 63 63 } -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/MapPaintPreferenceTestIT.java
r15098 r15100 99 99 100 100 List<Throwable> errors = new ArrayList<>(style.getErrors()); 101 errors.stream().map(Throwable::getMessage).filter( MapPaintPreferenceTestIT::isIgnoredSubstring).forEach(ignoredErrors::add);101 errors.stream().map(Throwable::getMessage).filter(this::isIgnoredSubstring).forEach(ignoredErrors::add); 102 102 errors.removeIf(e -> ignoredErrors.contains(e.getMessage())); 103 103 104 104 List<String> warnings = new ArrayList<>(style.getWarnings()); 105 warnings.stream().filter( MapPaintPreferenceTestIT::isIgnoredSubstring).forEach(ignoredErrors::add);105 warnings.stream().filter(this::isIgnoredSubstring).forEach(ignoredErrors::add); 106 106 warnings.removeAll(ignoredErrors); 107 107 -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreferenceTestIT.java
r15098 r15100 46 46 @ClassRule 47 47 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 48 public static JOSMTestRules test = new JOSMTestRules().https().timeout(10000* 60).parameters();48 public static JOSMTestRules test = new JOSMTestRules().https().timeout(10000*90).parameters(); 49 49 50 50 /**
Note:
See TracChangeset
for help on using the changeset viewer.