Changeset 17857 in josm
- Timestamp:
- 2021-05-03T14:04:46+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTestIT.java
r17383 r17857 53 53 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 54 54 public static JOSMTestRules test = new JOSMTestRules().main().projection().preferences().https() 55 .t imeout(10 * 60 * 1000);55 .territories().timeout(10 * 60 * 1000); 56 56 57 57 /** … … 106 106 noRestartExceptions = filterKnownErrors(noRestartExceptions); 107 107 108 String msg = Arrays.toString(invalidManifestEntries.entrySet().toArray()) + '\n' + 109 Arrays.toString(loadingExceptions.entrySet().toArray()) + '\n' + 110 Arrays.toString(layerExceptions.entrySet().toArray()) + '\n' 111 + Arrays.toString(noRestartExceptions.entrySet().toArray()); 112 assertTrue(invalidManifestEntries.isEmpty() && loadingExceptions.isEmpty() && layerExceptions.isEmpty(), msg); 108 String msg = errMsg("invalidManifestEntries", invalidManifestEntries) + '\n' + 109 errMsg("loadingExceptions", loadingExceptions) + '\n' + 110 errMsg("layerExceptions", layerExceptions) + '\n' + 111 errMsg("noRestartExceptions", noRestartExceptions); 112 assertTrue(invalidManifestEntries.isEmpty() 113 && loadingExceptions.isEmpty() 114 && layerExceptions.isEmpty() 115 && noRestartExceptions.isEmpty(), msg); 116 } 117 118 private static String errMsg(String type, Map<String, ?> map) { 119 return type + ": " + Arrays.toString(map.entrySet().toArray()); 113 120 } 114 121
Note:
See TracChangeset
for help on using the changeset viewer.