Changeset 18783 in josm for trunk/test/unit/org
- Timestamp:
- 2023-07-26T22:06:14+02:00 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/ConflictDialogTest.java
r17275 r18783 2 2 package org.openstreetmap.josm.gui.dialogs; 3 3 4 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 4 5 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertNotNull;6 6 7 7 import java.awt.Color; 8 8 import java.awt.image.BufferedImage; 9 9 10 import org.junit.jupiter.api.extension.RegisterExtension;11 10 import org.junit.jupiter.api.Test; 12 11 import org.openstreetmap.josm.data.coor.LatLon; … … 19 18 import org.openstreetmap.josm.gui.dialogs.ConflictDialog.ConflictPainter; 20 19 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 21 import org.openstreetmap.josm.testutils.JOSMTestRules; 22 23 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 20 import org.openstreetmap.josm.testutils.annotations.Main; 21 import org.openstreetmap.josm.testutils.annotations.Projection; 24 22 25 23 /** 26 24 * Unit tests of {@link ConflictDialog} class. 27 25 */ 26 @Main 27 @Projection 28 28 class ConflictDialogTest { 29 30 /**31 * Setup tests32 */33 @RegisterExtension34 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")35 public JOSMTestRules test = new JOSMTestRules().main().projection();36 37 29 /** 38 30 * Unit test of {@link ConflictDialog#ConflictDialog}. … … 40 32 @Test 41 33 void testConflictDialog() { 42 assert NotNull(new ConflictDialog());34 assertDoesNotThrow(ConflictDialog::new); 43 35 } 44 36
Note:
See TracChangeset
for help on using the changeset viewer.