Changeset 12779 in josm for trunk


Ignore:
Timestamp:
2017-09-08T02:03:09+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - fix unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportTest.java

    r12770 r12779  
    1212import org.junit.Rule;
    1313import org.junit.Test;
     14import org.openstreetmap.josm.actions.ShowStatusReportAction;
    1415import org.openstreetmap.josm.testutils.JOSMTestRules;
    1516
    1617import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    17 import org.openstreetmap.josm.actions.ShowStatusReportAction;
    1818
    1919/**
     
    2727    @Rule
    2828    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    29     public JOSMTestRules test = new JOSMTestRules().preferences();
     29    public JOSMTestRules test = new JOSMTestRules().preferences().platform();
    3030
    3131    /**
    32      * Test {@link BugReport#getReportText()}
     32     * Test {@link BugReport#getReportText}
    3333     */
    3434    @Test
Note: See TracChangeset for help on using the changeset viewer.