Changeset 36064 in osm for applications/editors/josm/plugins/imagery-xml-bounds/test
- Timestamp:
- 2023-03-21T14:49:10+01:00 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery-xml-bounds/test/unit/org/openstreetmap/josm/plugins/imageryxmlbounds/actions/ComputeBoundsActionTest.java
r35100 r36064 1 1 package org.openstreetmap.josm.plugins.imageryxmlbounds.actions; 2 2 3 import static org.junit. Assert.assertEquals;3 import static org.junit.jupiter.api.Assertions.assertEquals; 4 4 5 5 import java.util.Arrays; 6 6 7 import org.junit.Rule; 8 import org.junit.Test; 7 import org.junit.jupiter.api.Test; 9 8 import org.openstreetmap.josm.data.coor.LatLon; 10 9 import org.openstreetmap.josm.data.osm.Node; 11 10 import org.openstreetmap.josm.data.osm.Way; 12 import org.openstreetmap.josm.testutils.JOSMTestRules; 13 14 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 11 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 15 12 16 13 /** 17 14 * Unit tests of {@link ComputeBoundsAction} 18 15 */ 19 public class ComputeBoundsActionTest { 20 21 /** 22 * Setup rule 23 */ 24 @Rule 25 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 26 public JOSMTestRules test = new JOSMTestRules(); 27 16 @BasicPreferences 17 class ComputeBoundsActionTest { 28 18 /** 29 19 * Unit test of {@link ComputeBoundsAction#getBounds} 30 20 */ 31 21 @Test 32 publicvoid testGetBounds() {22 void testGetBounds() { 33 23 assertEquals(" <bounds min-lat='0' min-lon='0' max-lat='0' max-lon='0'>\n", 34 24 ComputeBoundsAction.getBounds(new Node(LatLon.ZERO), false));
Note:
See TracChangeset
for help on using the changeset viewer.