Changeset 18799 in josm for trunk/test/unit/org/openstreetmap/josm/plugins
- Timestamp:
- 2023-08-08T21:24:36+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTestIT.java
r18637 r18799 20 20 import java.util.Objects; 21 21 import java.util.Set; 22 import java.util.concurrent.TimeUnit; 22 23 import java.util.function.Consumer; 23 24 import java.util.logging.Handler; … … 27 28 import org.junit.jupiter.api.BeforeAll; 28 29 import org.junit.jupiter.api.Test; 30 import org.junit.jupiter.api.Timeout; 29 31 import org.junit.jupiter.api.extension.RegisterExtension; 30 32 import org.junit.platform.commons.util.ReflectionUtils; … … 40 42 import org.openstreetmap.josm.spi.preferences.Config; 41 43 import org.openstreetmap.josm.testutils.JOSMTestRules; 44 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 45 import org.openstreetmap.josm.testutils.annotations.Main; 46 import org.openstreetmap.josm.testutils.annotations.Projection; 47 import org.openstreetmap.josm.testutils.annotations.Territories; 42 48 import org.openstreetmap.josm.tools.Destroyable; 43 49 import org.openstreetmap.josm.tools.Logging; … … 49 55 * Integration tests of {@link PluginHandler} class. 50 56 */ 57 @BasicPreferences 58 @Main 59 @Projection 60 @Territories 61 @Timeout(value = 10, unit = TimeUnit.MINUTES) 51 62 public class PluginHandlerTestIT { 52 63 … … 57 68 @RegisterExtension 58 69 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 59 public static JOSMTestRules test = new JOSMTestRules().main().projection().preferences().https() 60 .territories().timeout(10 * 60 * 1000); 70 public static JOSMTestRules test = new JOSMTestRules().https(); 61 71 62 72 /**
Note:
See TracChangeset
for help on using the changeset viewer.