Changeset 19227 in josm for trunk/test/unit/org/openstreetmap/josm/tools
- Timestamp:
- 2024-09-19T15:38:39+02:00 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/ExceptionUtilTest.java
r19226 r19227 87 87 ); 88 88 } 89 89 90 /** 90 91 * Test of {@link ExceptionUtil#explainBadRequest} method. … … 94 95 @SuppressWarnings("unchecked") 95 96 void testExplainBadRequest(Supplier<String> message, Object exception) { 96 assertEquals(message.get(), ExceptionUtil.explainBadRequest(exception instanceof Supplier ? ((Supplier<OsmApiException>) exception).get() : (OsmApiException) exception)); 97 assertEquals(message.get(), ExceptionUtil.explainBadRequest( 98 exception instanceof Supplier ? ((Supplier<OsmApiException>) exception).get() : (OsmApiException) exception 99 )); 97 100 } 98 101
Note:
See TracChangeset
for help on using the changeset viewer.