Changeset 18974 in josm for trunk/test/unit
- Timestamp:
- 2024-02-12T23:00:59+01:00 (12 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/testutils
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/testutils/PluginServer.java
r18694 r18974 25 25 import org.openstreetmap.josm.tools.Logging; 26 26 27 /** 28 * Serve "remote" test plugins for tests 29 */ 27 30 public class PluginServer { 31 /** 32 * A holder class for a "remote" plugin for tests 33 */ 28 34 public static class RemotePlugin { 29 35 private final File srcJar; … … 226 232 } 227 233 234 /** 235 * A wiremock server rule for serving plugins 236 */ 228 237 public class PluginServerRule extends WireMockExtension { 229 238 public PluginServerRule(Options ruleOptions, boolean failOnUnmatchedRequests) { -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/ResetUniquePrimitiveIdCounters.java
r18870 r18974 37 37 @ExtendWith(ResetUniquePrimitiveIdCounters.Reset.class) 38 38 public @interface ResetUniquePrimitiveIdCounters { 39 /** 40 * Reset the id counters for {@link Node}, {@link Way}, and {@link Relation} 41 * {@link org.openstreetmap.josm.data.osm.AbstractPrimitive#getIdGenerator} calls. 42 */ 39 43 class Reset implements BeforeEachCallback { 40 44 private static AtomicLong[] ID_COUNTERS; -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/TaggingPresets.java
r18958 r18974 32 32 public @interface TaggingPresets { 33 33 34 /** 35 * Reset the tagging presets between each test -- presets will be reset if they are changed. 36 */ 34 37 class TaggingPresetsExtension implements BeforeEachCallback, BeforeAllCallback { 35 38 private static int expectedHashcode = 0; -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/TestUser.java
r18821 r18974 33 33 @Target({ElementType.TYPE, ElementType.METHOD}) 34 34 public @interface TestUser { 35 /** 36 * Initialize a user for tests 37 */ 35 38 class TestUserExtension implements BeforeAllCallback, BeforeEachCallback, AfterEachCallback { 36 39 @Override -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/Timezone.java
r18694 r18974 21 21 @ExtendWith(Timezone.TimezoneExtension.class) 22 22 public @interface Timezone { 23 /** 24 * Set the default timezone for tests (UTC) 25 */ 23 26 class TimezoneExtension implements BeforeEachCallback { 24 27 @Override
Note:
See TracChangeset
for help on using the changeset viewer.