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/data/validation/util/MultipleNameVisitorTest.java

    r9666 r10945  
    66import java.util.Arrays;
    77
    8 import org.junit.BeforeClass;
     8import org.junit.Rule;
    99import org.junit.Test;
    10 import org.openstreetmap.josm.JOSMFixture;
    1110import org.openstreetmap.josm.data.osm.Way;
     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().platform();
    2526
    2627    /**
Note: See TracChangeset for help on using the changeset viewer.