Ignore:
Timestamp:
2017-09-13T16:32:24+02:00 (4 years ago)
Author:
bastiK
Message:

see #15229 - fix test deprecations

File:
1 edited

Legend:

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

    r10378 r12842  
    3636    @Test
    3737    public void testAddGui() {
    38         Main.pref.put("audio.menuinvisible", true);
     38        Main.pref.putBoolean("audio.menuinvisible", true);
    3939        PreferencesTestUtils.doTestPreferenceSettingAddGui(new AudioPreference.Factory(), null);
    40         Main.pref.put("audio.menuinvisible", false);
     40        Main.pref.putBoolean("audio.menuinvisible", false);
    4141        PreferencesTestUtils.doTestPreferenceSettingAddGui(new AudioPreference.Factory(), null);
    4242    }
Note: See TracChangeset for help on using the changeset viewer.