Changeset 19082 in josm
- Timestamp:
- 2024-05-14T23:54:51+02:00 (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayerTest.java
r18895 r19082 12 12 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 13 13 import org.openstreetmap.josm.testutils.annotations.Main; 14 import org.openstreetmap.josm.testutils.annotations.ThreadSync; 14 15 15 16 /** … … 22 23 @AfterEach 23 24 void tearDown() { 25 // We need to ensure that all threads are "done" before continuing. 26 // Otherwise, other tests may have an ImageViewerDialog that causes issues... 27 // Note: we cannot (currently) use the ThreadSync annotation since it runs 28 // *after* local AfterEach and AfterAll methods. 29 new ThreadSync.ThreadSyncExtension().threadSync(); 24 30 if (ImageViewerDialog.hasInstance()) { 25 31 ImageViewerDialog.getInstance().destroy();
Note:
See TracChangeset
for help on using the changeset viewer.