Rev | Line | |
---|
[11020] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
[12790] | 2 | package org.openstreetmap.josm.gui.bugreport;
|
---|
[11020] | 3 |
|
---|
[17275] | 4 | import static org.junit.jupiter.api.Assertions.assertNotNull;
|
---|
[11020] | 5 |
|
---|
[17275] | 6 | import org.junit.jupiter.api.extension.RegisterExtension;
|
---|
| 7 | import org.junit.jupiter.api.Test;
|
---|
[11020] | 8 | import org.openstreetmap.josm.testutils.JOSMTestRules;
|
---|
[12790] | 9 | import org.openstreetmap.josm.tools.bugreport.BugReport;
|
---|
[11020] | 10 |
|
---|
| 11 | import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
---|
| 12 |
|
---|
| 13 | /**
|
---|
| 14 | * Tests the {@link BugReportSettingsPanel} class.
|
---|
| 15 | */
|
---|
[17275] | 16 | class BugReportSettingsPanelTest {
|
---|
[11020] | 17 |
|
---|
| 18 | /**
|
---|
| 19 | * Setup test
|
---|
| 20 | */
|
---|
[17275] | 21 | @RegisterExtension
|
---|
[11020] | 22 | @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
|
---|
| 23 | public JOSMTestRules test = new JOSMTestRules();
|
---|
| 24 |
|
---|
| 25 | /**
|
---|
| 26 | * Test {@link BugReportSettingsPanel}
|
---|
| 27 | */
|
---|
| 28 | @Test
|
---|
[17275] | 29 | void testBugReportSettingsPanel() {
|
---|
[11020] | 30 | assertNotNull(new BugReportSettingsPanel(new BugReport(BugReport.intercept(new Exception()))));
|
---|
| 31 | }
|
---|
| 32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.