Ignore:
Timestamp:
2023-10-04T00:03:40+02:00 (10 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/io/protocols/data/HandlerTest.java

    r17275 r18853  
    1010import org.junit.jupiter.api.BeforeEach;
    1111import org.junit.jupiter.api.Test;
    12 import org.junit.jupiter.api.extension.RegisterExtension;
    13 import org.openstreetmap.josm.testutils.JOSMTestRules;
    1412
    1513/**
     
    1715 */
    1816class HandlerTest {
    19 
    20     /**
    21      * Use the test rules to remove any layers and reset state.
    22      */
    23     @RegisterExtension
    24     public final JOSMTestRules rules = new JOSMTestRules();
    25 
    2617    /**
    2718     * Setup test.
Note: See TracChangeset for help on using the changeset viewer.