Changeset 12802 in josm for trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportExceptionHandlerTest.java
- Timestamp:
- 2017-09-09T16:10:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportExceptionHandlerTest.java
r10886 r12802 28 28 public void testHandleException() throws InterruptedException { 29 29 CountDownLatch latch = new CountDownLatch(1); 30 BugReportQueue.getInstance().addBugReportHandler(e -> {latch.countDown(); return false;}); 30 BugReportQueue.getInstance().addBugReportHandler(e -> { 31 latch.countDown(); return false; 32 }); 31 33 BugReportExceptionHandler.handleException(new Exception("testHandleException")); 32 34 latch.await();
Note:
See TracChangeset
for help on using the changeset viewer.