Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/gui/preferences/shortcut/ShortcutPreferenceTest.java
- 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/preferences/shortcut/ShortcutPreferenceTest.java
r10378 r17275 2 2 package org.openstreetmap.josm.gui.preferences.shortcut; 3 3 4 import static org.junit. Assert.assertNotNull;4 import static org.junit.jupiter.api.Assertions.assertNotNull; 5 5 6 import org.junit. BeforeClass;7 import org.junit. Test;6 import org.junit.jupiter.api.BeforeAll; 7 import org.junit.jupiter.api.Test; 8 8 import org.openstreetmap.josm.JOSMFixture; 9 9 import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils; … … 12 12 * Unit tests of {@link ShortcutPreference} class. 13 13 */ 14 publicclass ShortcutPreferenceTest {14 class ShortcutPreferenceTest { 15 15 16 16 /** 17 17 * Setup test. 18 18 */ 19 @Before Class19 @BeforeAll 20 20 public static void setUpBeforeClass() { 21 21 JOSMFixture.createUnitTestFixture().init(); … … 26 26 */ 27 27 @Test 28 publicvoid testShortcutPreference() {28 void testShortcutPreference() { 29 29 assertNotNull(new ShortcutPreference.Factory().createPreferenceSetting()); 30 30 } … … 34 34 */ 35 35 @Test 36 publicvoid testAddGui() {36 void testAddGui() { 37 37 PreferencesTestUtils.doTestPreferenceSettingAddGui(new ShortcutPreference.Factory(), null); 38 38 }
Note:
See TracChangeset
for help on using the changeset viewer.