Ignore:
Timestamp:
2016-01-25T02:46:36+01:00 (5 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/remotecontrol/RemoteControlPreferenceTest.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;
    1010
    1111/**
     
    3535    @Test
    3636    public void testAddGui() {
    37         new RemoteControlPreference.Factory().createPreferenceSetting().addGui(new PreferenceTabbedPane());
     37        PreferencesTestUtils.testPreferenceSettingAddGui(new RemoteControlPreference.Factory(), null);
    3838    }
    3939}
Note: See TracChangeset for help on using the changeset viewer.