Changeset 18037 in josm for trunk/test/unit/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetTest.java
- Timestamp:
- 2021-07-16T09:16:33+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetTest.java
r17662 r18037 2 2 package org.openstreetmap.josm.gui.tagging.presets; 3 3 4 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 4 import static org.junit.jupiter.api.Assertions.assertFalse; 5 import static org.junit.jupiter.api.Assertions.assertTrue; 6 7 import java.util.EnumSet; 8 5 9 import org.junit.jupiter.api.Test; 6 10 import org.junit.jupiter.api.extension.RegisterExtension; … … 8 12 import org.openstreetmap.josm.data.osm.OsmUtils; 9 13 import org.openstreetmap.josm.data.osm.search.SearchCompiler; 14 import org.openstreetmap.josm.data.osm.search.SearchParseError; 10 15 import org.openstreetmap.josm.gui.tagging.presets.items.Key; 11 16 import org.openstreetmap.josm.testutils.JOSMTestRules; 12 17 13 import java.util.EnumSet; 14 15 import static org.junit.jupiter.api.Assertions.assertFalse; 16 import static org.junit.jupiter.api.Assertions.assertTrue; 18 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 17 19 18 20 /** … … 30 32 /** 31 33 * Tests {@link TaggingPreset#test(IPrimitive)} 34 * @throws SearchParseError never 32 35 */ 33 36 @Test 34 void test() throws Exception{37 void test() throws SearchParseError { 35 38 Key key = new Key(); 36 39 key.key = "railway";
Note:
See TracChangeset
for help on using the changeset viewer.