Ignore:
Timestamp:
2023-10-04T00:03:40+02:00 (22 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/data/tagging/ac/AutoCompletionPriorityTest.java

    r17275 r18853  
    1212import java.util.TreeSet;
    1313
    14 import org.junit.jupiter.api.extension.RegisterExtension;
    1514import org.junit.jupiter.api.Test;
    1615import org.openstreetmap.josm.TestUtils;
    17 import org.openstreetmap.josm.testutils.JOSMTestRules;
    1816
    19 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    2017import nl.jqno.equalsverifier.EqualsVerifier;
    2118
     
    2421 */
    2522class AutoCompletionPriorityTest {
    26 
    27     /**
    28      * Setup test.
    29      */
    30     @RegisterExtension
    31     @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    32     public JOSMTestRules test = new JOSMTestRules();
    33 
    3423    /**
    3524     * Test getters.
Note: See TracChangeset for help on using the changeset viewer.