Changeset 16519 in josm for trunk/test


Ignore:
Timestamp:
2020-05-29T20:51:32+02:00 (4 years ago)
Author:
simon04
Message:

MapRendererPerformanceTest: use JOSMTestRules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java

    r16006 r16519  
    2424import org.junit.Rule;
    2525import org.junit.Test;
    26 import org.junit.rules.Timeout;
    2726import org.openstreetmap.josm.JOSMFixture;
    2827import org.openstreetmap.josm.PerformanceTestUtils;
     
    4645import org.openstreetmap.josm.io.Compression;
    4746import org.openstreetmap.josm.io.OsmReader;
     47import org.openstreetmap.josm.testutils.JOSMTestRules;
    4848import org.openstreetmap.josm.tools.Logging;
    4949
     
    8484
    8585    /**
    86      * Global timeout applied to all test methods.
     86     * Setup tests
    8787     */
    8888    @Rule
    8989    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    90     public Timeout globalTimeout = Timeout.seconds(15*60);
     90    public JOSMTestRules josmTestRules = new JOSMTestRules().main().projection().preferences().timeout(15 * 60 * 1000);
    9191
    9292    /**
Note: See TracChangeset for help on using the changeset viewer.