Changeset 18799 in josm for trunk/test/unit/org/openstreetmap/josm/data/validation/tests
- Timestamp:
- 2023-08-08T21:24:36+02:00 (18 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/validation/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r18761 r18799 19 19 import org.junit.jupiter.api.BeforeEach; 20 20 import org.junit.jupiter.api.Test; 21 import org.junit.jupiter.api.extension.RegisterExtension;22 21 import org.openstreetmap.josm.TestUtils; 23 22 import org.openstreetmap.josm.command.ChangePropertyCommand; … … 43 42 import org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException; 44 43 import org.openstreetmap.josm.io.OsmReader; 45 import org.openstreetmap.josm.testutils.JOSMTestRules;46 44 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 47 45 import org.openstreetmap.josm.testutils.annotations.Projection; 46 import org.openstreetmap.josm.testutils.annotations.Territories; 48 47 import org.openstreetmap.josm.tools.Logging; 49 50 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;51 48 52 49 /** … … 55 52 @BasicPreferences 56 53 @Projection 54 @Territories 57 55 class MapCSSTagCheckerTest { 58 59 /**60 * Setup test.61 */62 @RegisterExtension63 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")64 public JOSMTestRules test = new JOSMTestRules().territories();65 66 56 /** 67 57 * Setup test. -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/UntaggedNodeTest.java
r17275 r18799 8 8 import java.io.InputStream; 9 9 10 import org.junit.jupiter.api.extension.RegisterExtension;11 10 import org.junit.jupiter.api.Test; 12 11 import org.openstreetmap.josm.TestUtils; … … 14 13 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 15 14 import org.openstreetmap.josm.io.OsmReader; 16 import org.openstreetmap.josm.testutils.JOSMTestRules; 17 18 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 15 import org.openstreetmap.josm.testutils.annotations.Projection; 19 16 20 17 /** 21 18 * Unit tests of {@code UntaggedNode} class. 22 19 */ 20 @Projection 23 21 class UntaggedNodeTest { 24 22 25 23 private final UntaggedNode test = new UntaggedNode(); 26 27 /**28 * Setup test.29 */30 @RegisterExtension31 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")32 public JOSMTestRules rules = new JOSMTestRules();33 24 34 25 /**
Note:
See TracChangeset
for help on using the changeset viewer.