Changeset 12770 in josm for trunk/test


Ignore:
Timestamp:
2017-09-07T21:10:49+02:00 (4 years ago)
Author:
bastiK
Message:

see #15229 - remove GUI references from BugReport and BugReportQueue

signature of BugReport#getReportText changed without deprecation
(probably not used by any external plugin)

File:
1 edited

Legend:

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

    r10886 r12770  
    1515
    1616import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     17import org.openstreetmap.josm.actions.ShowStatusReportAction;
    1718
    1819/**
     
    3536        ReportedException e = interceptInChildMethod(new IOException("test-exception-message"));
    3637        e.put("test-key", "test-value");
    37         String text = new BugReport(e).getReportText();
     38        String text = new BugReport(e).getReportText(ShowStatusReportAction.getReportHeader());
    3839
    3940        assertTrue(text.contains("test-exception-message"));
Note: See TracChangeset for help on using the changeset viewer.