Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/DownloadTaskListTest.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/downloadtasks/DownloadTaskListTest.java
r15216 r17275 2 2 package org.openstreetmap.josm.actions.downloadtasks; 3 3 4 import static org.junit. Assert.assertNull;5 import static org.junit. Assert.assertTrue;4 import static org.junit.jupiter.api.Assertions.assertTrue; 5 import static org.junit.jupiter.api.Assertions.assertNull; 6 6 7 7 import java.awt.geom.Area; 8 8 import java.util.Collections; 9 9 10 import org.junit. Rule;11 import org.junit. Test;10 import org.junit.jupiter.api.Test; 11 import org.junit.jupiter.api.extension.RegisterExtension; 12 12 import org.openstreetmap.josm.data.Bounds; 13 13 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; … … 19 19 * Unit tests for class {@link DownloadTaskList}. 20 20 */ 21 publicclass DownloadTaskListTest {21 class DownloadTaskListTest { 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(); … … 32 32 */ 33 33 @Test 34 publicvoid testDownloadTaskList() {34 void testDownloadTaskList() { 35 35 assertTrue(new DownloadTaskList().getDownloadedPrimitives().isEmpty()); 36 36 } … … 41 41 */ 42 42 @Test 43 publicvoid testDownloadAreaEmpty() throws Exception {43 void testDownloadAreaEmpty() throws Exception { 44 44 DownloadTaskList list = new DownloadTaskList(); 45 45 assertNull(list.download(false,
Note:
See TracChangeset
for help on using the changeset viewer.