Changeset 14077 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2018-08-03T00:21:35+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16550 - add missing JOSMTestRules

Location:
trunk/test/unit/org/openstreetmap/josm/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/GpxReaderTest.java

    r13194 r14077  
    1212import java.util.ArrayList;
    1313
     14import org.junit.Rule;
    1415import org.junit.Test;
    1516import org.openstreetmap.josm.TestUtils;
     
    1819import org.openstreetmap.josm.data.gpx.GpxData;
    1920import org.openstreetmap.josm.data.gpx.WayPoint;
     21import org.openstreetmap.josm.testutils.JOSMTestRules;
    2022import org.xml.sax.SAXException;
     23
     24import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    2125
    2226/**
     
    2428 */
    2529public class GpxReaderTest {
     30
     31    /**
     32     * Setup rule
     33     */
     34    @Rule
     35    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
     36    public JOSMTestRules test = new JOSMTestRules();
    2637
    2738    /**
  • trunk/test/unit/org/openstreetmap/josm/io/GpxWriterTest.java

    r14075 r14077  
    1212import java.util.Date;
    1313
     14import org.junit.Rule;
    1415import org.junit.Test;
    1516import org.openstreetmap.josm.data.coor.LatLon;
     
    1718import org.openstreetmap.josm.data.gpx.GpxData;
    1819import org.openstreetmap.josm.data.gpx.WayPoint;
     20import org.openstreetmap.josm.testutils.JOSMTestRules;
     21
     22import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    1923
    2024/**
     
    2226 */
    2327public class GpxWriterTest {
     28
     29    /**
     30     * Setup rule
     31     */
     32    @Rule
     33    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
     34    public JOSMTestRules test = new JOSMTestRules();
    2435
    2536    /**
Note: See TracChangeset for help on using the changeset viewer.