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/testutils/annotations/JosmDefaults.java

    r18694 r18853  
    7777        /**
    7878         * Clean up what test not using these test rules may have broken.
     79         * See {@link org.openstreetmap.josm.JOSMFixture} for the most common reason why this needs to be called.
    7980         */
    80         private void cleanUpFromJosmFixture() {
     81        private static void cleanUpFromJosmFixture() {
    8182            MemoryManagerTest.resetState(true);
    8283            JOSMTestRules.cleanLayerEnvironment();
Note: See TracChangeset for help on using the changeset viewer.