Changeset 12770 in josm for trunk/test/unit/org
- Timestamp:
- 2017-09-07T21:10:49+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportTest.java
r10886 r12770 15 15 16 16 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 17 import org.openstreetmap.josm.actions.ShowStatusReportAction; 17 18 18 19 /** … … 35 36 ReportedException e = interceptInChildMethod(new IOException("test-exception-message")); 36 37 e.put("test-key", "test-value"); 37 String text = new BugReport(e).getReportText(); 38 String text = new BugReport(e).getReportText(ShowStatusReportAction.getReportHeader()); 38 39 39 40 assertTrue(text.contains("test-exception-message"));
Note:
See TracChangeset
for help on using the changeset viewer.