source: josm/trunk/test/unit/org/openstreetmap/josm/gui/bugreport/BugReportSettingsPanelTest.java@ 12790

Last change on this file since 12790 was 12790, checked in by Don-vip, 7 years ago

see #15229 - see #15182 - remove GUI references from BugReportSender

  • Property svn:eol-style set to native
File size: 861 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.bugreport;
3
4import static org.junit.Assert.assertNotNull;
5
6import org.junit.Rule;
7import org.junit.Test;
8import org.openstreetmap.josm.testutils.JOSMTestRules;
9import org.openstreetmap.josm.tools.bugreport.BugReport;
10
11import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
12
13/**
14 * Tests the {@link BugReportSettingsPanel} class.
15 */
16public class BugReportSettingsPanelTest {
17
18 /**
19 * Setup test
20 */
21 @Rule
22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
23 public JOSMTestRules test = new JOSMTestRules();
24
25 /**
26 * Test {@link BugReportSettingsPanel}
27 */
28 @Test
29 public void testBugReportSettingsPanel() {
30 assertNotNull(new BugReportSettingsPanel(new BugReport(BugReport.intercept(new Exception()))));
31 }
32}
Note: See TracBrowser for help on using the repository browser.