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/plugin/PluginPreferenceTest.java

    r9621 r9624  
    1414import org.openstreetmap.josm.JOSMFixture;
    1515import org.openstreetmap.josm.TestUtils;
    16 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
     16import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils;
    1717import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    1818import org.openstreetmap.josm.plugins.PluginDownloadTask;
     
    8989    @Test
    9090    public void testAddGui() {
    91         new PluginPreference.Factory().createPreferenceSetting().addGui(new PreferenceTabbedPane());
     91        PreferencesTestUtils.testPreferenceSettingAddGui(new PluginPreference.Factory(), null);
    9292    }
    9393}
Note: See TracChangeset for help on using the changeset viewer.