Changeset 13609 in josm for trunk/test
- Timestamp:
- 2018-04-08T14:43:17+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java
r13601 r13609 65 65 private static final String PROJ_LIB_DIR = "data_nodist/projection"; 66 66 67 private static final int MAX_LENGTH = 524288; 68 67 69 private static class RefEntry { 68 70 String code; … … 361 363 } 362 364 if (fail.length() > 0) { 363 System.err.println(fail.toString()); 364 throw new AssertionError(fail.toString()); 365 String s = fail.toString(); 366 if (s.length() > MAX_LENGTH) { 367 // SonarQube/Surefire can't parse XML attributes longer than 524288 characters 368 s = s.substring(0, MAX_LENGTH - 4) + "..."; 369 } 370 System.err.println(s); 371 throw new AssertionError(s); 365 372 } 366 373 }
Note:
See TracChangeset
for help on using the changeset viewer.