Changeset 18972 in josm for trunk/test
- Timestamp:
- 2024-02-09T15:26:06+01:00 (11 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/testutils/annotations
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/AssertionsInEDT.java
r18694 r18972 22 22 @ExtendWith(AssertionsInEDT.AssertionsExtension.class) 23 23 public @interface AssertionsInEDT { 24 /** 25 * Check for assertions in the EDT 26 */ 24 27 class AssertionsExtension implements BeforeEachCallback { 25 28 private Runnable edtAssertionMockingRunnable = EDTAssertionMocker::new; -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/FakeImagery.java
r18893 r18972 114 114 } 115 115 116 /** 117 * A wiremock extension for fake imagery 118 */ 116 119 class FakeImageryWireMockExtension extends WireMockExtension { 117 120 -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/HTTPS.java
r18893 r18972 31 31 @ExtendWith(HTTPS.HTTPSExtension.class) 32 32 public @interface HTTPS { 33 /** 34 * Initialize HTTPS support 35 */ 33 36 class HTTPSExtension implements BeforeEachCallback { 34 37 private static boolean initialized; -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/LayerManager.java
r18649 r18972 25 25 @ExtendWith(LayerManager.LayerManagerExtension.class) 26 26 public @interface LayerManager { 27 /** 28 * Clean the layer environment 29 */ 27 30 class LayerManagerExtension implements BeforeEachCallback, AfterEachCallback { 28 31 @Override -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/Logging.java
r18694 r18972 14 14 @Target({ElementType.TYPE, ElementType.METHOD}) 15 15 public @interface Logging { 16 /** 17 * Set up loggers for testing 18 */ 16 19 class LoggingExtension implements BeforeEachCallback { 17 20 -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/MapPaintStyles.java
r18870 r18972 26 26 @ExtendWith(MapPaintStyles.MapPaintStylesExtension.class) 27 27 public @interface MapPaintStyles { 28 /** 29 * Set up the default paintstyles 30 */ 28 31 class MapPaintStylesExtension implements BeforeEachCallback { 29 32 private static int lastHashcode; -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/MeasurementSystem.java
r18893 r18972 42 42 String value() default "Metric"; 43 43 44 /** 45 * Set up the system of measurement 46 */ 44 47 class SystemOfMeasurementExtension implements BeforeEachCallback { 45 48 @Override -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/OsmApi.java
r18821 r18972 31 31 public @interface OsmApi { 32 32 APIType value() default APIType.NONE; 33 34 /** 35 * The API type to set up 36 */ 33 37 enum APIType { 34 38 /** Don't use any API */ … … 40 44 } 41 45 46 /** 47 * Set up {@link org.openstreetmap.josm.io.OsmApi} for testing 48 */ 42 49 class OsmApiExtension implements BeforeAllCallback, BeforeEachCallback, AfterEachCallback { 43 50 @Override -
trunk/test/unit/org/openstreetmap/josm/testutils/annotations/ProjectionNadGrids.java
r18870 r18972 28 28 @ExtendWith(ProjectionNadGrids.NadGridsExtension.class) 29 29 public @interface ProjectionNadGrids { 30 /** 31 * Set up the NAD grids for testing 32 */ 30 33 class NadGridsExtension implements BeforeEachCallback { 31 34 @Override
Note:
See TracChangeset
for help on using the changeset viewer.