Changeset 18350 in josm for trunk/test/unit/org/openstreetmap/josm/actions/ExitActionTest.java
- Timestamp:
- 2021-12-21T04:11:41+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/ExitActionTest.java
r18349 r18350 7 7 import java.awt.GraphicsEnvironment; 8 8 9 import org.junit.jupiter.api.BeforeAll; 9 10 import org.junit.jupiter.api.Test; 10 11 import org.junit.jupiter.api.extension.RegisterExtension; … … 37 38 public JOSMTestRules test = new JOSMTestRules().main(); 38 39 40 @BeforeAll 41 static void beforeAll() { 42 assumeTrue(Utils.getJavaVersion() < 18 || "allow".equals(System.getProperty("java.security.manager"))); 43 } 44 39 45 /** 40 46 * Unit test of {@link ExitAction#actionPerformed} … … 44 50 void testActionPerformed() { 45 51 TestUtils.assumeWorkingJMockit(); 46 assumeTrue(Utils.getJavaVersion() < 18 || "allow".equals(System.getProperty("java.security.manager")));47 52 48 53 boolean[] workerShutdownCalled = {false};
Note:
See TracChangeset
for help on using the changeset viewer.