Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/gui/correction
- Timestamp:
- 2020-10-28T20:41:00+01:00 (3 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/gui/correction
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/correction/RoleCorrectionTableTest.java
r10962 r17275 2 2 package org.openstreetmap.josm.gui.correction; 3 3 4 import static org.junit. Assert.assertEquals;5 import static org.junit. Assert.assertFalse;6 import static org.junit. Assert.assertNotNull;7 import static org.junit. Assert.assertNull;8 import static org.junit. Assert.assertTrue;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertFalse; 6 import static org.junit.jupiter.api.Assertions.assertNotNull; 7 import static org.junit.jupiter.api.Assertions.assertNull; 8 import static org.junit.jupiter.api.Assertions.assertTrue; 9 9 10 10 import java.util.Arrays; 11 11 12 import org.junit. Rule;13 import org.junit. Test;12 import org.junit.jupiter.api.extension.RegisterExtension; 13 import org.junit.jupiter.api.Test; 14 14 import org.openstreetmap.josm.data.correction.RoleCorrection; 15 15 import org.openstreetmap.josm.data.osm.Node; … … 23 23 * Unit tests of {@link RoleCorrectionTable} class. 24 24 */ 25 publicclass RoleCorrectionTableTest {25 class RoleCorrectionTableTest { 26 26 27 27 /** 28 28 * Setup tests 29 29 */ 30 @R ule30 @RegisterExtension 31 31 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 32 32 public JOSMTestRules test = new JOSMTestRules(); … … 36 36 */ 37 37 @Test 38 publicvoid testRoleCorrectionTable() {38 void testRoleCorrectionTable() { 39 39 Relation r = new Relation(); 40 40 RelationMember member = new RelationMember("foo", new Node()); -
trunk/test/unit/org/openstreetmap/josm/gui/correction/TagCorrectionTableTest.java
r10962 r17275 2 2 package org.openstreetmap.josm.gui.correction; 3 3 4 import static org.junit. Assert.assertEquals;5 import static org.junit. Assert.assertFalse;6 import static org.junit. Assert.assertNotNull;7 import static org.junit. Assert.assertNull;8 import static org.junit. Assert.assertTrue;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertFalse; 6 import static org.junit.jupiter.api.Assertions.assertNotNull; 7 import static org.junit.jupiter.api.Assertions.assertNull; 8 import static org.junit.jupiter.api.Assertions.assertTrue; 9 9 10 10 import java.util.Arrays; 11 11 12 import org.junit. Rule;13 import org.junit. Test;12 import org.junit.jupiter.api.extension.RegisterExtension; 13 import org.junit.jupiter.api.Test; 14 14 import org.openstreetmap.josm.data.correction.TagCorrection; 15 15 import org.openstreetmap.josm.testutils.JOSMTestRules; … … 20 20 * Unit tests of {@link TagCorrectionTable} class. 21 21 */ 22 publicclass TagCorrectionTableTest {22 class TagCorrectionTableTest { 23 23 24 24 /** 25 25 * Setup tests 26 26 */ 27 @R ule27 @RegisterExtension 28 28 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 29 29 public JOSMTestRules test = new JOSMTestRules(); … … 33 33 */ 34 34 @Test 35 publicvoid testTagCorrectionTable() {35 void testTagCorrectionTable() { 36 36 TagCorrection tc1 = new TagCorrection("foo", "bar", "foo", "baz"); 37 37 TagCorrection tc2 = new TagCorrection("bar", "foo", "baz", "foo");
Note:
See TracChangeset
for help on using the changeset viewer.