Changeset 10945 in josm for trunk/test/unit/org/openstreetmap/josm/data/notes
- Timestamp:
- 2016-09-03T14:22:22+02:00 (9 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/notes
- Files:
-
- 2 edited
-
NoteCommentTest.java (modified) (2 diffs)
-
NoteTest.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/notes/NoteCommentTest.java
r10098 r10945 8 8 import java.util.Date; 9 9 10 import org.junit. BeforeClass;10 import org.junit.Rule; 11 11 import org.junit.Test; 12 import org.openstreetmap.josm.JOSMFixture; 12 import org.openstreetmap.josm.testutils.JOSMTestRules; 13 14 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 13 15 14 16 /** … … 20 22 * Setup test. 21 23 */ 22 @BeforeClass 23 public static void init() { 24 JOSMFixture.createUnitTestFixture().init(); 25 } 24 @Rule 25 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 26 public JOSMTestRules test = new JOSMTestRules(); 26 27 27 28 /** -
trunk/test/unit/org/openstreetmap/josm/data/notes/NoteTest.java
r10758 r10945 7 7 import java.util.Date; 8 8 9 import org.junit. BeforeClass;9 import org.junit.Rule; 10 10 import org.junit.Test; 11 import org.openstreetmap.josm.JOSMFixture;12 11 import org.openstreetmap.josm.data.coor.LatLon; 12 import org.openstreetmap.josm.testutils.JOSMTestRules; 13 13 14 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 14 15 import nl.jqno.equalsverifier.EqualsVerifier; 15 16 import nl.jqno.equalsverifier.Warning; … … 23 24 * Setup test. 24 25 */ 25 @BeforeClass 26 public static void init() { 27 JOSMFixture.createUnitTestFixture().init(); 28 } 26 @Rule 27 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 28 public JOSMTestRules test = new JOSMTestRules(); 29 29 30 30 /**
Note:
See TracChangeset
for help on using the changeset viewer.
