Changeset 15852 in josm for trunk/test/unit
- Timestamp:
- 2020-02-15T11:15:05+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/JoinAreasActionTest.java
r15034 r15852 15 15 import java.util.Set; 16 16 17 import org.junit.Ignore;18 17 import org.junit.Rule; 19 18 import org.junit.Test; … … 50 49 @Rule 51 50 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 52 public JOSMTestRules test = new JOSMTestRules().main().projection() ;51 public JOSMTestRules test = new JOSMTestRules().main().projection().preferences(); 53 52 54 53 /** … … 58 57 */ 59 58 @Test 60 @Ignore("disable this test, needs further working") // XXX61 59 public void testTicket10511() throws IOException, IllegalDataException { 62 60 try (InputStream is = TestUtils.getRegressionDataStream(10511, "10511_mini.osm")) { … … 66 64 try { 67 65 new JoinAreasAction(false).join(ds.getWays()); 66 Collection<IPrimitive> found = SearchAction.searchAndReturn("type:way", SearchMode.replace); 67 assertEquals(1, found.size()); 68 68 } finally { 69 69 // Ensure we clean the place before leaving, even if test fails.
Note:
See TracChangeset
for help on using the changeset viewer.