Ignore:
Timestamp:
2017-08-02T01:48:44+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15102 - speedup MainTest by avoiding useless slow http requests to wiki/StartupPage and /maps

File:
1 edited

Legend:

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

    r12252 r12554  
    2020import javax.swing.UIManager;
    2121
     22import org.junit.Before;
    2223import org.junit.Rule;
    2324import org.junit.Test;
     
    4647    @Rule
    4748    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    48     public JOSMTestRules test = new JOSMTestRules().platform().https().devAPI().commands();
     49    public JOSMTestRules test = new JOSMTestRules().platform().https().devAPI();
     50
     51    /**
     52     * Setup test.
     53     */
     54    @Before
     55    public void setUp() {
     56        JOSMFixture.initContentPane();
     57        JOSMFixture.initMainPanel();
     58    }
    4959
    5060    /**
Note: See TracChangeset for help on using the changeset viewer.