Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/gui/io/LayerNameAndFilePathTableCellTest.java
- 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/io/LayerNameAndFilePathTableCellTest.java
r10962 r17275 2 2 package org.openstreetmap.josm.gui.io; 3 3 4 import static org.junit. Assert.assertEquals;5 import static org.junit. Assert.assertNull;6 import static org.junit. Assert.assertTrue;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertNull; 6 import static org.junit.jupiter.api.Assertions.assertTrue; 7 7 8 8 import java.io.File; … … 10 10 import javax.swing.JTable; 11 11 12 import org.junit. Rule;13 import org.junit.Test; 12 import org.junit.jupiter.api.extension.RegisterExtension; 13 import org.junit.jupiter.api.Test; 14 14 import org.openstreetmap.josm.data.osm.DataSet; 15 15 import org.openstreetmap.josm.gui.layer.AbstractModifiableLayer; … … 22 22 * Unit tests of {@link LayerNameAndFilePathTableCell} class. 23 23 */ 24 publicclass LayerNameAndFilePathTableCellTest {24 class LayerNameAndFilePathTableCellTest { 25 25 /** 26 26 * Setup test. 27 27 */ 28 @R ule28 @RegisterExtension 29 29 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 30 30 public JOSMTestRules test = new JOSMTestRules().preferences(); … … 34 34 */ 35 35 @Test 36 publicvoid testLayerNameAndFilePathTableCell() {36 void testLayerNameAndFilePathTableCell() { 37 37 JTable table = new JTable(); 38 38 File file = new File("test");
Note:
See TracChangeset
for help on using the changeset viewer.
