Changeset 18870 in josm for trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss
- Timestamp:
- 2023-10-16T15:19:07+02:00 (2 years ago)
- Location:
- trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss
- Files:
-
- 2 edited
-
MapCSSPerformanceTest.java (modified) (4 diffs)
-
MapCSSStyleSourceFilterTest.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.java
r17615 r18870 11 11 12 12 import org.junit.jupiter.api.Test; 13 import org.junit.jupiter.api.BeforeAll;14 import org.openstreetmap.josm.JOSMFixture;15 13 import org.openstreetmap.josm.PerformanceTestUtils; 16 14 import org.openstreetmap.josm.data.Bounds; … … 22 20 import org.openstreetmap.josm.gui.mappaint.MapRendererPerformanceTest; 23 21 import org.openstreetmap.josm.io.IllegalDataException; 22 import org.openstreetmap.josm.testutils.annotations.Projection; 24 23 25 24 /** … … 28 27 * 29 28 */ 29 @Projection 30 30 class MapCSSPerformanceTest { 31 31 … … 46 46 "Please update configuration settings in the unit test file."); 47 47 } 48 }49 50 /**51 * Setup test.52 */53 @BeforeAll54 public static void createJOSMFixture() {55 JOSMFixture.createPerformanceTestFixture().init(true);56 48 } 57 49 -
trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSourceFilterTest.java
r18690 r18870 4 4 import java.util.concurrent.TimeUnit; 5 5 6 import org.junit.jupiter.api.BeforeAll;7 6 import org.junit.jupiter.api.Test; 8 7 import org.junit.jupiter.api.Timeout; 9 import org.openstreetmap.josm.JOSMFixture;10 8 import org.openstreetmap.josm.PerformanceTestUtils; 11 9 import org.openstreetmap.josm.PerformanceTestUtils.PerformanceTestTimer; … … 13 11 import org.openstreetmap.josm.data.osm.OsmDataGenerator.KeyValueDataGenerator; 14 12 import org.openstreetmap.josm.gui.mappaint.MultiCascade; 13 import org.openstreetmap.josm.testutils.annotations.Projection; 15 14 16 15 /** … … 18 17 * @author Michael Zangl 19 18 */ 19 @Projection 20 20 @Timeout(value = 15, unit = TimeUnit.MINUTES) 21 21 class MapCSSStyleSourceFilterTest { … … 82 82 83 83 /** 84 * Prepare the test.85 */86 @BeforeAll87 public static void createJOSMFixture() {88 JOSMFixture.createPerformanceTestFixture().init(true);89 }90 91 /**92 84 * Time how long it takes to evaluate [key=value] rules 93 85 */
Note:
See TracChangeset
for help on using the changeset viewer.
