Changeset 18870 in josm for trunk/test/unit/org/openstreetmap/josm/data/PreferencesTest.java
- Timestamp:
- 2023-10-16T15:19:07+02:00 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/PreferencesTest.java
r17275 r18870 4 4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 5 6 import org.junit.jupiter.api.extension.RegisterExtension;7 6 import org.junit.jupiter.api.Test; 8 import org.openstreetmap.josm.testutils.JOSMTestRules; 9 10 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 7 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 8 import org.openstreetmap.josm.testutils.annotations.OsmApi; 11 9 12 10 /** 13 11 * Unit tests of {@link Preferences}. 14 12 */ 13 @BasicPreferences 14 @OsmApi(OsmApi.APIType.FAKE) 15 15 class PreferencesTest { 16 17 /**18 * Setup test.19 */20 @RegisterExtension21 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")22 public JOSMTestRules test = new JOSMTestRules().preferences().fakeAPI();23 24 16 /** 25 17 * Test {@link Preferences#toXML}.
Note:
See TracChangeset
for help on using the changeset viewer.