Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/actions/mapmode/DeleteActionTest.java
- Timestamp:
- 2020-10-28T20:41:00+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/mapmode/DeleteActionTest.java
r14138 r17275 2 2 package org.openstreetmap.josm.actions.mapmode; 3 3 4 import static org.junit. Assert.assertEquals;5 import static org.junit. Assert.assertTrue;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertTrue; 6 6 7 import org.junit. Rule;8 import org.junit. Test;7 import org.junit.jupiter.api.extension.RegisterExtension; 8 import org.junit.jupiter.api.Test; 9 9 import org.openstreetmap.josm.TestUtils; 10 10 import org.openstreetmap.josm.actions.mapmode.DeleteAction.DeleteMode; … … 20 20 * Unit tests for class {@link DeleteAction}. 21 21 */ 22 publicclass DeleteActionTest {22 class DeleteActionTest { 23 23 24 24 /** 25 25 * Setup test. 26 26 */ 27 @R ule27 @RegisterExtension 28 28 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 29 29 public JOSMTestRules test = new JOSMTestRules().main().projection(); … … 33 33 */ 34 34 @Test 35 publicvoid testMode() {35 void testMode() { 36 36 OsmDataLayer layer = new OsmDataLayer(new DataSet(), "", null); 37 37 try { … … 52 52 */ 53 53 @Test 54 publicvoid testEnumDeleteMode() {54 void testEnumDeleteMode() { 55 55 TestUtils.superficialEnumCodeCoverage(DeleteMode.class); 56 56 }
Note:
See TracChangeset
for help on using the changeset viewer.