Ignore:
Timestamp:
2016-01-25T02:46:36+01:00 (6 years ago)
Author:
Don-vip
Message:

update/fix preferences unit tests, based on work from Mapillary plugin unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreferenceTest.java

    r9622 r9624  
    77import org.junit.Test;
    88import org.openstreetmap.josm.JOSMFixture;
    9 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
     9import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils;
     10import org.openstreetmap.josm.gui.preferences.map.MapPreference;
    1011
    1112/**
     
    3536    @Test
    3637    public void testAddGui() {
    37         new ProjectionPreference.Factory().createPreferenceSetting().addGui(new PreferenceTabbedPane());
     38        PreferencesTestUtils.testPreferenceSettingAddGui(new ProjectionPreference.Factory(), MapPreference.class);
    3839    }
    3940}
Note: See TracChangeset for help on using the changeset viewer.