Changeset 18870 in josm for trunk/test/unit/org/openstreetmap/josm/command/SplitWayCommandTest.java
- Timestamp:
- 2023-10-16T15:19:07+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/command/SplitWayCommandTest.java
r18539 r18870 18 18 19 19 import org.junit.jupiter.api.Test; 20 import org.junit.jupiter.api.extension.RegisterExtension;21 20 import org.junit.jupiter.params.ParameterizedTest; 22 21 import org.junit.jupiter.params.provider.Arguments; … … 38 37 import org.openstreetmap.josm.io.IllegalDataException; 39 38 import org.openstreetmap.josm.io.OsmReader; 40 import org.openstreetmap.josm.testutils. JOSMTestRules;41 42 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;39 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 40 import org.openstreetmap.josm.testutils.annotations.Main; 41 import org.openstreetmap.josm.testutils.annotations.Projection; 43 42 44 43 /** 45 44 * Unit tests for class {@link SplitWayCommand}. 46 45 */ 46 @BasicPreferences 47 @Main 48 @Projection 47 49 final class SplitWayCommandTest { 48 49 /**50 * Setup test.51 */52 @RegisterExtension53 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")54 static JOSMTestRules test = new JOSMTestRules().main().projection().preferences();55 56 50 /** 57 51 * Unit test of {@link SplitWayCommand#findVias}. … … 303 297 /** 304 298 * Non-regression test for issue #17400 (Warn when splitting way in not fully downloaded region) 305 * 299 * <p> 306 300 * Bus route 190 gets broken when the split occurs, because the two new way parts are inserted in the relation in 307 301 * the wrong order. … … 348 342 /** 349 343 * Non-regression test for issue #18863 (Asking for download of missing members when not needed) 350 * 344 * <p> 351 345 * A split on node 4518025255 caused the 'download missing members?' dialog to pop up for relation 68745 (CB 2), 352 346 * even though the way members next to the split way were already downloaded. This happened because this relation 353 347 * does not have its members connected at all. 354 * 348 * <p> 355 349 * This split should not trigger any download action at all. 356 350 *
Note:
See TracChangeset
for help on using the changeset viewer.
