Changeset 18757 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2023-06-14T18:01:00+02:00 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r18690 r18757 44 44 import org.openstreetmap.josm.io.OsmReader; 45 45 import org.openstreetmap.josm.testutils.JOSMTestRules; 46 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 47 import org.openstreetmap.josm.testutils.annotations.Projection; 46 48 import org.openstreetmap.josm.tools.Logging; 47 49 … … 51 53 * JUnit Test of {@link MapCSSTagChecker}. 52 54 */ 55 @BasicPreferences 56 @Projection 53 57 class MapCSSTagCheckerTest { 54 58 … … 58 62 @RegisterExtension 59 63 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 60 public JOSMTestRules test = new JOSMTestRules(). projection().territories().preferences();64 public JOSMTestRules test = new JOSMTestRules().territories(); 61 65 62 66 /** … … 96 100 assertNotNull(check); 97 101 assertEquals("{0.key}=null is deprecated", check.getDescription(null)); 98 assertEquals("fixRemove: {0.key}", check.fixCommands.get(0).toString());102 assertEquals("fixRemove: <{0.key}>", check.fixCommands.get(0).toString()); 99 103 assertEquals("fixAdd: natural=wetland", check.fixCommands.get(1).toString()); 100 104 assertEquals("fixAdd: wetland=marsh", check.fixCommands.get(2).toString());
Note:
See TracChangeset
for help on using the changeset viewer.