Changeset 11175 in josm for trunk/test/unit
- Timestamp:
- 2016-10-27T00:32:44+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/APIDataSetTest.java
r10945 r11175 3 3 4 4 import static org.junit.Assert.assertEquals; 5 import static org.junit.Assert.assertFalse; 5 6 import static org.junit.Assert.assertTrue; 6 7 import static org.junit.Assert.fail; … … 12 13 import org.openstreetmap.josm.actions.upload.CyclicUploadDependencyException; 13 14 import org.openstreetmap.josm.data.APIDataSet; 15 import org.openstreetmap.josm.data.conflict.ConflictCollection; 14 16 import org.openstreetmap.josm.testutils.JOSMTestRules; 15 17 … … 104 106 assertEquals(1, toUpdate.size()); 105 107 assertEquals(r4, toUpdate.get(0)); 108 109 final ConflictCollection cc4 = new ConflictCollection(); 110 cc4.add(r4, r4); 111 assertTrue(apiDataSet.participatesInConflict(cc4)); 112 final ConflictCollection cc1 = new ConflictCollection(); 113 cc1.add(r1, r1); 114 assertFalse(apiDataSet.participatesInConflict(cc1)); 106 115 } 107 116
Note:
See TracChangeset
for help on using the changeset viewer.