Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/plugins/PluginDownloadExceptionTest.java
- Timestamp:
- 2020-10-28T20:41:00+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/plugins/PluginDownloadExceptionTest.java
r12754 r17275 2 2 package org.openstreetmap.josm.plugins; 3 3 4 import static org.junit. Assert.assertEquals;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 5 6 import org.junit. Rule;7 import org.junit.Test; 6 import org.junit.jupiter.api.extension.RegisterExtension; 7 import org.junit.jupiter.api.Test; 8 8 import org.openstreetmap.josm.testutils.JOSMTestRules; 9 9 … … 13 13 * Unit tests of {@link PluginDownloadException} class. 14 14 */ 15 publicclass PluginDownloadExceptionTest {15 class PluginDownloadExceptionTest { 16 16 17 17 /** 18 18 * Setup test. 19 19 */ 20 @R ule20 @RegisterExtension 21 21 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 22 22 public JOSMTestRules test = new JOSMTestRules(); … … 26 26 */ 27 27 @Test 28 publicvoid testPluginDownloadException() {28 void testPluginDownloadException() { 29 29 PluginDownloadException ex = new PluginDownloadException("foo"); 30 30 assertEquals("foo", ex.getMessage());
Note:
See TracChangeset
for help on using the changeset viewer.
