Changeset 10553 in josm for trunk/test/unit/org/openstreetmap/josm/tools/PredicatesTest.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/PredicatesTest.java
r10399 r10553 11 11 import java.util.regex.Pattern; 12 12 13 import org.junit. BeforeClass;13 import org.junit.Rule; 14 14 import org.junit.Test; 15 import org.openstreetmap.josm.JOSMFixture;16 15 import org.openstreetmap.josm.data.osm.Node; 17 16 import org.openstreetmap.josm.data.osm.OsmPrimitive; 17 import org.openstreetmap.josm.testutils.JOSMTestRules; 18 19 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 18 20 19 21 /** … … 24 26 public class PredicatesTest { 25 27 /** 26 * Not needed by this test, but JOSM has so many dependencies :-( 27 */ 28 @BeforeClass 29 public static void setUpClass() { 30 JOSMFixture.createUnitTestFixture().init(); 31 } 28 * Some of this depends on preferences. 29 */ 30 @Rule 31 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 32 public JOSMTestRules test = new JOSMTestRules().preferences(); 32 33 33 34 /**
Note:
See TracChangeset
for help on using the changeset viewer.