Ignore:
Timestamp:
2018-09-09T20:10:25+02:00 (3 years ago)
Author:
Don-vip
Message:

make sure https is properly initialized for integration tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/validator/ValidatorTagCheckerRulesPreferenceTestIT.java

    r12649 r14235  
    99import java.util.Collection;
    1010
    11 import org.junit.BeforeClass;
     11import org.junit.Rule;
    1212import org.junit.Test;
    13 import org.openstreetmap.josm.JOSMFixture;
    1413import org.openstreetmap.josm.data.preferences.sources.ExtendedSourceEntry;
    1514import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker;
    1615import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.ParseResult;
     16import org.openstreetmap.josm.testutils.JOSMTestRules;
     17
     18import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    1719
    1820/**
     
    2224
    2325    /**
    24      * Setup test.
     26     * Setup rule
    2527     */
    26     @BeforeClass
    27     public static void setUpBeforeClass() {
    28         JOSMFixture.createUnitTestFixture().init();
    29     }
     28    @Rule
     29    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
     30    public JOSMTestRules test = new JOSMTestRules().https();
    3031
    3132    /**
Note: See TracChangeset for help on using the changeset viewer.