Ignore:
Timestamp:
2016-09-03T14:22:22+02:00 (8 years ago)
Author:
Don-vip
Message:

convert more unit tests to JOSMTestRules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/ChangesetContentDownloadTaskTest.java

    r10164 r10945  
    77import java.util.Arrays;
    88
    9 import org.junit.BeforeClass;
     9import org.junit.Rule;
    1010import org.junit.Test;
    11 import org.openstreetmap.josm.JOSMFixture;
     11import org.openstreetmap.josm.testutils.JOSMTestRules;
     12
     13import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    1214
    1315/**
     
    1921     * Setup test.
    2022     */
    21     @BeforeClass
    22     public static void setUp() {
    23         JOSMFixture.createUnitTestFixture().init();
    24     }
     23    @Rule
     24    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
     25    public JOSMTestRules test = new JOSMTestRules();
    2526
    2627    /**
Note: See TracChangeset for help on using the changeset viewer.