source: josm/trunk/test/unit/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreferenceTest.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: 798 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.preferences.validator;
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 ValidatorTestsPreference} class.
12 */
13public class ValidatorTestsPreferenceTest {
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 ValidatorTestsPreference#ValidatorTestsPreference}.
25 */
26 @Test
27 public void testValidatorTestsPreference() {
28 assertNotNull(new ValidatorTestsPreference.Factory().createPreferenceSetting());
29 }
30}
Note: See TracBrowser for help on using the repository browser.