Changeset 16321 in josm for trunk/test/unit
- Timestamp:
- 2020-04-17T17:54:04+02:00 (5 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelperTest.java
r15947 r16321 51 51 @Rule 52 52 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 53 public JOSMTestRules test = new JOSMTestRules().territories(). rlTraffic().projection();53 public JOSMTestRules test = new JOSMTestRules().territories().projection(); 54 54 55 55 private static TagEditHelper newTagEditHelper() { -
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r16272 r16321 65 65 import org.openstreetmap.josm.tools.Logging; 66 66 import org.openstreetmap.josm.tools.MemoryManagerTest; 67 import org.openstreetmap.josm.tools.RightAndLefthandTraffic;68 67 import org.openstreetmap.josm.tools.Territories; 69 68 import org.openstreetmap.josm.tools.bugreport.ReportedException; … … 100 99 private boolean useHttps; 101 100 private boolean territories; 102 private boolean rlTraffic;103 101 private boolean metric; 104 102 private boolean main; … … 270 268 * @return this instance, for easy chaining 271 269 * @since 12556 272 */ 270 * @deprecated Use {@link #territories} 271 */ 272 @Deprecated 273 273 public JOSMTestRules rlTraffic() { 274 274 territories(); 275 rlTraffic = true;276 275 return this; 277 276 } … … 551 550 if (territories) { 552 551 Territories.initializeInternalData(); 553 }554 555 if (rlTraffic) {556 RightAndLefthandTraffic.initialize();557 552 } 558 553 -
trunk/test/unit/org/openstreetmap/josm/tools/RightAndLefthandTrafficTest.java
r16182 r16321 21 21 @Rule 22 22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 23 public JOSMTestRules rules = new JOSMTestRules().projection(). rlTraffic();23 public JOSMTestRules rules = new JOSMTestRules().projection().territories(); 24 24 25 25 /**
Note:
See TracChangeset
for help on using the changeset viewer.