Changeset 17275 in josm for trunk/test/functional/org/openstreetmap/josm/data/osm/TaginfoTestIT.java
- Timestamp:
- 2020-10-28T20:41:00+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/data/osm/TaginfoTestIT.java
r13103 r17275 2 2 package org.openstreetmap.josm.data.osm; 3 3 4 import static org.junit. Assert.assertTrue;4 import static org.junit.jupiter.api.Assertions.assertTrue; 5 5 6 6 import java.io.IOException; … … 15 15 import javax.json.JsonValue; 16 16 17 import org.junit. Rule;18 import org.junit. Test;17 import org.junit.jupiter.api.Test; 18 import org.junit.jupiter.api.extension.RegisterExtension; 19 19 import org.openstreetmap.josm.data.coor.LatLon; 20 20 import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker; … … 31 31 * Various integration tests with Taginfo. 32 32 */ 33 publicclass TaginfoTestIT {33 class TaginfoTestIT { 34 34 35 35 /** 36 36 * Setup test. 37 37 */ 38 @R ule38 @RegisterExtension 39 39 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 40 40 public JOSMTestRules test = new JOSMTestRules().preferences().timeout(20000); … … 47 47 */ 48 48 @Test 49 publicvoid testCheckPopularTags() throws SAXException, IOException, ParseException {49 void testCheckPopularTags() throws SAXException, IOException, ParseException { 50 50 TaggingPresets.readFromPreferences(); 51 51 new TagChecker().initialize(); … … 90 90 System.err.println(error); 91 91 } 92 assertTrue(errors. toString(), errors.isEmpty());92 assertTrue(errors.isEmpty(), errors::toString); 93 93 } 94 94 }
Note:
See TracChangeset
for help on using the changeset viewer.