Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/actions/mapmode/AddNoteActionTest.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/AddNoteActionTest.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.data.osm.DataSet; 10 10 import org.openstreetmap.josm.data.osm.NoteData; … … 19 19 * Unit tests for class {@link AddNoteAction}. 20 20 */ 21 publicclass AddNoteActionTest {21 class AddNoteActionTest { 22 22 23 23 /** 24 24 * Setup test. 25 25 */ 26 @R ule26 @RegisterExtension 27 27 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 28 28 public JOSMTestRules test = new JOSMTestRules().main().projection(); … … 32 32 */ 33 33 @Test 34 publicvoid testMode() {34 void testMode() { 35 35 OsmDataLayer layer = new OsmDataLayer(new DataSet(), "", null); 36 36 try {
Note:
See TracChangeset
for help on using the changeset viewer.