Changeset 16443 in josm for trunk/test/unit/org
- Timestamp:
- 2020-05-17T15:57:57+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/OsmValidatorTest.java
r16182 r16443 2 2 package org.openstreetmap.josm.data.validation; 3 3 4 import static org.junit.Assert.assertEquals; 4 5 import static org.junit.Assert.assertFalse; 5 6 import static org.junit.Assert.assertNotEquals; 6 7 import static org.junit.Assert.assertTrue; 8 9 import java.util.Collections; 7 10 8 11 import org.junit.Before; … … 87 90 88 91 /** 92 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/19053">Bug #19053</a>. 93 * {@link OsmValidator#cleanupIgnoredErrors()} must not combine primitives. 94 */ 95 @Test 96 public void testCleanupIgnoredErrorsTicket19053() { 97 OsmValidator.addIgnoredError("3000_missing tag", "missing tag"); 98 OsmValidator.cleanupIgnoredErrors(); 99 assertEquals(Collections.emptyMap(), OsmValidator.getIgnoredErrors()); 100 } 101 102 /** 89 103 * Test that tests are really removed, and that core tests cannot be removed 90 104 */
Note:
See TracChangeset
for help on using the changeset viewer.