Ignore:
Timestamp:
2020-08-30T10:03:00+02:00 (9 months ago)
Author:
simon04
Message:

fix #19734 - Autofilter: clicking active rule/key opens GPS settings instead of OSM settings

Extract GPXPreference from DrawingPreference

Location:
trunk/test/unit/org/openstreetmap/josm/gui/preferences/display
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/display/DrawingPreferenceTest.java

    r10378 r16979  
    3535    @Test
    3636    public void testAddGui() {
    37         PreferencesTestUtils.doTestPreferenceSettingAddGui(new DrawingPreference.Factory(), DisplayPreference.class, 2);
     37        PreferencesTestUtils.doTestPreferenceSettingAddGui(new DrawingPreference.Factory(), DisplayPreference.class);
    3838    }
    3939}
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/display/GPXPreferenceTest.java

    r16978 r16979  
    1010
    1111/**
    12  * Unit tests of {@link DrawingPreference} class.
     12 * Unit tests of {@link GPXPreference} class.
    1313 */
    14 public class DrawingPreferenceTest {
     14public class GPXPreferenceTest {
    1515
    1616    /**
     
    2323
    2424    /**
    25      * Unit test of {@link DrawingPreference#DrawingPreference}.
     25     * Unit test of {@link GPXPreference.Factory}.
    2626     */
    2727    @Test
    28     public void testDrawingPreference() {
    29         assertNotNull(new DrawingPreference.Factory().createPreferenceSetting());
     28    public void testGPXPreference() {
     29        assertNotNull(new GPXPreference.Factory().createPreferenceSetting());
    3030    }
    3131
    3232    /**
    33      * Unit test of {@link DrawingPreference#addGui}.
     33     * Unit test of {@link GPXPreference#addGui}.
    3434     */
    3535    @Test
    3636    public void testAddGui() {
    37         PreferencesTestUtils.doTestPreferenceSettingAddGui(new DrawingPreference.Factory(), DisplayPreference.class, 2);
     37        PreferencesTestUtils.doTestPreferenceSettingAddGui(new GPXPreference.Factory(), DisplayPreference.class);
    3838    }
    3939}
Note: See TracChangeset for help on using the changeset viewer.