Changeset 12858 in josm for trunk/test/functional/org
- Timestamp:
- 2017-09-14T20:18:36+02:00 (7 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/data/BoundariesTestIT.java
r12656 r12858 11 11 import java.util.stream.Collectors; 12 12 13 import org.junit.Rule; 13 14 import org.junit.Test; 14 15 import org.openstreetmap.josm.data.osm.DataSet; … … 16 17 import org.openstreetmap.josm.data.osm.search.SearchCompiler; 17 18 import org.openstreetmap.josm.io.OsmReader; 19 import org.openstreetmap.josm.testutils.JOSMTestRules; 20 21 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 18 22 19 23 /** … … 36 40 "US-PR", "US-RI", "US-SC", "US-SD", "US-TN", "US-TX", "US-UM", "US-UT", "US-VT", "US-VA", "US-VI", "US-WA", "US-WV", "US-WI", 37 41 "US-WY"); 42 43 /** 44 * Setup test. 45 */ 46 @Rule 47 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 48 public JOSMTestRules test = new JOSMTestRules().preferences(); 38 49 39 50 /** -
trunk/test/functional/org/openstreetmap/josm/data/imagery/ImageryCompareTestIT.java
r11426 r12858 6 6 import java.net.URL; 7 7 8 import org.junit.Rule; 8 9 import org.junit.Test; 10 import org.openstreetmap.josm.testutils.JOSMTestRules; 9 11 import org.openstreetmap.josm.tools.HttpClient; 12 13 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 10 14 11 15 /** … … 17 21 private static String BLACK_PREFIX = "<pre style=\"margin:3px;color:black\">"; 18 22 private static String RED_PREFIX = "<pre style=\"margin:3px;color:red\">"; 23 24 /** 25 * Setup test. 26 */ 27 @Rule 28 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 29 public JOSMTestRules test = new JOSMTestRules().preferences(); 19 30 20 31 /** -
trunk/test/functional/org/openstreetmap/josm/data/osm/TaginfoTestIT.java
r12730 r12858 15 15 import javax.json.JsonValue; 16 16 17 import org.junit. BeforeClass;17 import org.junit.Rule; 18 18 import org.junit.Test; 19 import org.openstreetmap.josm.JOSMFixture;20 19 import org.openstreetmap.josm.data.coor.LatLon; 21 20 import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker; … … 23 22 import org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException; 24 23 import org.openstreetmap.josm.gui.tagging.presets.TaggingPresets; 24 import org.openstreetmap.josm.testutils.JOSMTestRules; 25 25 import org.openstreetmap.josm.tools.HttpClient; 26 26 import org.xml.sax.SAXException; 27 28 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 27 29 28 30 /** … … 34 36 * Setup test. 35 37 */ 36 @BeforeClass 37 public static void setUp() { 38 JOSMFixture.createFunctionalTestFixture().init(); 39 } 38 @Rule 39 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 40 public JOSMTestRules test = new JOSMTestRules().preferences(); 40 41 41 42 /**
Note:
See TracChangeset
for help on using the changeset viewer.