Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/actions/mapmode/DrawActionTest.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/DrawActionTest.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.assertNotNull;6 import static org.junit. Assert.assertTrue;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertNotNull; 6 import static org.junit.jupiter.api.Assertions.assertTrue; 7 7 8 8 import java.awt.event.InputEvent; … … 14 14 import javax.swing.JList; 15 15 16 import org.junit. Rule;17 import org.junit. Test;16 import org.junit.jupiter.api.extension.RegisterExtension; 17 import org.junit.jupiter.api.Test; 18 18 import org.openstreetmap.josm.data.UndoRedoHandler; 19 19 import org.openstreetmap.josm.data.coor.EastNorth; … … 33 33 * Unit tests for class {@link DrawAction}. 34 34 */ 35 publicclass DrawActionTest {35 class DrawActionTest { 36 36 37 37 /** 38 38 * Setup test. 39 39 */ 40 @R ule40 @RegisterExtension 41 41 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 42 42 public JOSMTestRules test = new JOSMTestRules().main().projection().timeout(20000); … … 51 51 */ 52 52 @Test 53 publicvoid testTicket12011() throws IllegalArgumentException, IllegalAccessException, NoSuchFieldException, SecurityException {53 void testTicket12011() throws IllegalArgumentException, IllegalAccessException, NoSuchFieldException, SecurityException { 54 54 DataSet dataSet = new DataSet(); 55 55 OsmDataLayer layer = new OsmDataLayer(dataSet, OsmDataLayer.createNewName(), null);
Note:
See TracChangeset
for help on using the changeset viewer.