Ignore:
Timestamp:
2020-10-28T20:41:00+01:00 (12 months ago)
Author:
Don-vip
Message:

see #16567 - upgrade almost all tests to JUnit 5, except those depending on WiremockRule

See https://github.com/tomakehurst/wiremock/issues/684

File:
1 edited

Legend:

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

    r12849 r17275  
    22package org.openstreetmap.josm.gui.preferences.audio;
    33
    4 import static org.junit.Assert.assertNotNull;
     4import static org.junit.jupiter.api.Assertions.assertNotNull;
    55
    6 import org.junit.BeforeClass;
    7 import org.junit.Test;
     6import org.junit.jupiter.api.BeforeAll;
     7import org.junit.jupiter.api.Test;
    88import org.openstreetmap.josm.JOSMFixture;
    99import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils;
     
    1313 * Unit tests of {@link AudioPreference} class.
    1414 */
    15 public class AudioPreferenceTest {
     15class AudioPreferenceTest {
    1616
    1717    /**
    1818     * Setup test.
    1919     */
    20     @BeforeClass
     20    @BeforeAll
    2121    public static void setUpBeforeClass() {
    2222        JOSMFixture.createUnitTestFixture().init();
     
    2727     */
    2828    @Test
    29     public void testAudioPreference() {
     29    void testAudioPreference() {
    3030        assertNotNull(new AudioPreference.Factory().createPreferenceSetting());
    3131    }
     
    3535     */
    3636    @Test
    37     public void testAddGui() {
     37    void testAddGui() {
    3838        Config.getPref().putBoolean("audio.menuinvisible", true);
    3939        PreferencesTestUtils.doTestPreferenceSettingAddGui(new AudioPreference.Factory(), null);
Note: See TracChangeset for help on using the changeset viewer.