Changeset 10553 in josm for trunk/test/unit/org/openstreetmap/josm/tools/GeometryTest.java
- Timestamp:
- 2016-07-17T14:54:06+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/GeometryTest.java
r9952 r10553 6 6 7 7 import org.junit.Assert; 8 import org.junit. BeforeClass;8 import org.junit.Rule; 9 9 import org.junit.Test; 10 import org.openstreetmap.josm.JOSMFixture;11 10 import org.openstreetmap.josm.TestUtils; 12 11 import org.openstreetmap.josm.actions.search.SearchCompiler; … … 16 15 import org.openstreetmap.josm.data.osm.Way; 17 16 import org.openstreetmap.josm.io.OsmReader; 17 import org.openstreetmap.josm.testutils.JOSMTestRules; 18 19 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 18 20 19 21 /** … … 21 23 */ 22 24 public class GeometryTest { 23 24 25 /** 25 * Setup test.26 * Primitives need preferences and projection. 26 27 */ 27 @BeforeClass 28 public static void setUp() { 29 JOSMFixture.createUnitTestFixture().init(); 30 } 28 @Rule 29 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 30 public JOSMTestRules test = new JOSMTestRules().preferences().projection(); 31 31 32 32 /**
Note:
See TracChangeset
for help on using the changeset viewer.