Ignore:
Timestamp:
2020-10-28T20:41:00+01:00 (3 years 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/advanced/AdvancedPreferenceTest.java

    r10378 r17275  
    22package org.openstreetmap.josm.gui.preferences.advanced;
    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;
     
    1212 * Unit tests of {@link AdvancedPreference} class.
    1313 */
    14 public class AdvancedPreferenceTest {
     14class AdvancedPreferenceTest {
    1515
    1616    /**
    1717     * Setup test.
    1818     */
    19     @BeforeClass
     19    @BeforeAll
    2020    public static void setUpBeforeClass() {
    2121        JOSMFixture.createUnitTestFixture().init();
     
    2626     */
    2727    @Test
    28     public void testAdvancedPreference() {
     28    void testAdvancedPreference() {
    2929        assertNotNull(new AdvancedPreference.Factory().createPreferenceSetting());
    3030    }
     
    3434     */
    3535    @Test
    36     public void testAddGui() {
     36    void testAddGui() {
    3737        PreferencesTestUtils.doTestPreferenceSettingAddGui(new AdvancedPreference.Factory(), null);
    3838    }
Note: See TracChangeset for help on using the changeset viewer.