source: josm/trunk/test/unit/org/openstreetmap/josm/gui/preferences/shortcut/ShortcutPreferenceTest.java@ 9585

Last change on this file since 9585 was 9585, checked in by Don-vip, 8 years ago

add more unit tests

File size: 761 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.preferences.shortcut;
3
4import static org.junit.Assert.assertNotNull;
5
6import org.junit.BeforeClass;
7import org.junit.Test;
8import org.openstreetmap.josm.JOSMFixture;
9
10/**
11 * Unit tests of {@link ShortcutPreference} class.
12 */
13public class ShortcutPreferenceTest {
14
15 /**
16 * Setup test.
17 */
18 @BeforeClass
19 public static void setUpBeforeClass() {
20 JOSMFixture.createUnitTestFixture().init();
21 }
22
23 /**
24 * Unit test of {@link ShortcutPreference#ShortcutPreference}.
25 */
26 @Test
27 public void testShortcutPreference() {
28 assertNotNull(new ShortcutPreference.Factory().createPreferenceSetting());
29 }
30}
Note: See TracBrowser for help on using the repository browser.