Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/io/auth/CredentialsAgentExceptionTest.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/io/auth/CredentialsAgentExceptionTest.java
r11102 r17275 2 2 package org.openstreetmap.josm.io.auth; 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 CredentialsAgentException} class. 14 14 */ 15 publicclass CredentialsAgentExceptionTest {15 class CredentialsAgentExceptionTest { 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 testCredentialsAgentException() {28 void testCredentialsAgentException() { 29 29 String msg = "test1"; 30 30 Exception cause = new Exception("test2");
Note:
See TracChangeset
for help on using the changeset viewer.
