Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/gui/widgets
- Timestamp:
- 2020-10-28T20:41:00+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/widgets/AutoAdjustingSplitPaneTest.java
r11772 r17275 2 2 package org.openstreetmap.josm.gui.widgets; 3 3 4 import static org.junit. Assert.assertEquals;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 5 6 6 import java.beans.PropertyChangeEvent; … … 8 8 import javax.swing.JSplitPane; 9 9 10 import org.junit. Rule;11 import org.junit. Test;10 import org.junit.jupiter.api.extension.RegisterExtension; 11 import org.junit.jupiter.api.Test; 12 12 import org.openstreetmap.josm.testutils.JOSMTestRules; 13 13 … … 17 17 * Unit tests of {@link AutoAdjustingSplitPane} class. 18 18 */ 19 publicclass AutoAdjustingSplitPaneTest {19 class AutoAdjustingSplitPaneTest { 20 20 21 21 /** 22 22 * Setup test. 23 23 */ 24 @R ule24 @RegisterExtension 25 25 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 26 26 public JOSMTestRules test = new JOSMTestRules(); … … 30 30 */ 31 31 @Test 32 publicvoid testAutoAdjustingSplitPane() {32 void testAutoAdjustingSplitPane() { 33 33 AutoAdjustingSplitPane pane = new AutoAdjustingSplitPane(JSplitPane.VERTICAL_SPLIT); 34 34 assertEquals(-1, pane.getDividerLocation());
Note:
See TracChangeset
for help on using the changeset viewer.