Ignore:
Timestamp:
2023-10-04T00:03:40+02:00 (16 months ago)
Author:
taylor.smock
Message:

See #16567: Update to JUnit 5

This removes new JOSMTestRules() with no additional setup and most
JOSMFixture calls.

Removing the bare JOSMTestRules speeds up the test suite since there are two
fewer System.gc() calls per test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/MapPaintPreferenceTest.java

    r17275 r18853  
    44import static org.junit.jupiter.api.Assertions.assertNotNull;
    55
    6 import org.junit.jupiter.api.BeforeAll;
    76import org.junit.jupiter.api.Test;
    8 import org.openstreetmap.josm.JOSMFixture;
    97import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils;
    108
     
    1311 */
    1412class MapPaintPreferenceTest {
    15 
    16     /**
    17      * Setup test.
    18      */
    19     @BeforeAll
    20     public static void setUpBeforeClass() {
    21         JOSMFixture.createUnitTestFixture().init();
    22     }
    23 
    2413    /**
    2514     * Unit test of {@link MapPaintPreference#MapPaintPreference}.
Note: See TracChangeset for help on using the changeset viewer.