Changeset 18690 in josm for trunk/test/unit/org/openstreetmap/josm/gui/io/AsynchronousUploadPrimitivesTaskTest.java
- Timestamp:
- 2023-03-13T21:59:27+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/io/AsynchronousUploadPrimitivesTaskTest.java
r17275 r18690 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.io; 3 4 import static org.junit.jupiter.api.Assertions.assertFalse; 5 import static org.junit.jupiter.api.Assertions.assertNotNull; 3 6 4 7 import java.util.Collections; … … 7 10 import javax.swing.JOptionPane; 8 11 9 import org.junit.Assert;10 12 import org.junit.jupiter.api.AfterEach; 11 13 import org.junit.jupiter.api.BeforeEach; … … 94 96 Optional<AsynchronousUploadPrimitivesTask> task = AsynchronousUploadPrimitivesTask. 95 97 createAsynchronousUploadTask(strategy, layer, toUpload, changeset); 96 Assert.assertNotNull(uploadPrimitivesTask);97 Assert.assertFalse(task.isPresent());98 assertNotNull(uploadPrimitivesTask); 99 assertFalse(task.isPresent()); 98 100 } 99 101 }
Note:
See TracChangeset
for help on using the changeset viewer.