Changeset 18349 in josm for trunk/test/unit
- Timestamp:
- 2021-12-21T04:08:37+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/ExitActionTest.java
r17277 r18349 3 3 4 4 import static org.junit.jupiter.api.Assertions.assertTrue; 5 import static org.junit.jupiter.api.Assumptions.assumeTrue; 5 6 6 7 import java.awt.GraphicsEnvironment; … … 15 16 import org.openstreetmap.josm.testutils.JOSMTestRules; 16 17 import org.openstreetmap.josm.tools.ImageProvider; 18 import org.openstreetmap.josm.tools.Utils; 17 19 18 20 import com.ginsberg.junit.exit.ExpectSystemExitWithStatus; … … 42 44 void testActionPerformed() { 43 45 TestUtils.assumeWorkingJMockit(); 46 assumeTrue(Utils.getJavaVersion() < 18 || "allow".equals(System.getProperty("java.security.manager"))); 44 47 45 48 boolean[] workerShutdownCalled = {false};
Note:
See TracChangeset
for help on using the changeset viewer.