Ignore:
Timestamp:
2016-04-03T15:42:30+02:00 (6 years ago)
Author:
Don-vip
Message:

add more unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/audio/AudioPreferenceTest.java

    r9973 r10103  
    77import org.junit.Test;
    88import org.openstreetmap.josm.JOSMFixture;
     9import org.openstreetmap.josm.Main;
    910import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils;
    1011
     
    3536    @Test
    3637    public void testAddGui() {
     38        Main.pref.put("audio.menuinvisible", true);
     39        PreferencesTestUtils.doTestPreferenceSettingAddGui(new AudioPreference.Factory(), null);
     40        Main.pref.put("audio.menuinvisible", false);
    3741        PreferencesTestUtils.doTestPreferenceSettingAddGui(new AudioPreference.Factory(), null);
    3842    }
Note: See TracChangeset for help on using the changeset viewer.