Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/gui/bbox
- Timestamp:
- 2020-10-28T20:41:00+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/bbox/SizeButtonTest.java
r10962 r17275 2 2 package org.openstreetmap.josm.gui.bbox; 3 3 4 import static org.junit. Assert.assertEquals;5 import static org.junit. Assert.assertFalse;6 import static org.junit. Assert.assertTrue;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertFalse; 6 import static org.junit.jupiter.api.Assertions.assertTrue; 7 7 8 import org.junit. Rule;9 import org.junit.Test; 8 import org.junit.jupiter.api.extension.RegisterExtension; 9 import org.junit.jupiter.api.Test; 10 10 import org.openstreetmap.josm.TestUtils; 11 11 import org.openstreetmap.josm.gui.bbox.SizeButton.AccessibleSizeButton; … … 17 17 * Unit tests of {@link SizeButton} class. 18 18 */ 19 publicclass SizeButtonTest {19 class SizeButtonTest { 20 20 21 21 /** 22 22 * Setup tests 23 23 */ 24 @R ule24 @RegisterExtension 25 25 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 26 26 public JOSMTestRules test = new JOSMTestRules().preferences(); … … 30 30 */ 31 31 @Test 32 publicvoid testSizeButton() {32 void testSizeButton() { 33 33 SizeButton sb = new SizeButton(new SlippyMapBBoxChooser()); 34 34 sb.paint(TestUtils.newGraphics());
Note:
See TracChangeset
for help on using the changeset viewer.
