Changeset 18853 in josm for trunk/test/performance
- Timestamp:
- 2023-10-04T00:03:40+02:00 (11 months ago)
- Location:
- trunk/test/performance/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/io/OsmReaderPerformanceTest.java
r18691 r18853 12 12 import java.util.concurrent.TimeUnit; 13 13 14 import org.junit.jupiter.api.BeforeAll;15 14 import org.junit.jupiter.api.Test; 16 15 import org.junit.jupiter.api.Timeout; 17 import org.openstreetmap.josm.JOSMFixture;18 16 import org.openstreetmap.josm.PerformanceTestUtils; 19 17 import org.openstreetmap.josm.PerformanceTestUtils.PerformanceTestTimer; … … 30 28 class OsmReaderPerformanceTest { 31 29 private static final int TIMES = 4; 32 33 /**34 * Prepare the test.35 */36 @BeforeAll37 public static void createJOSMFixture() {38 JOSMFixture.createPerformanceTestFixture().init(true);39 }40 30 41 31 /** -
trunk/test/performance/org/openstreetmap/josm/io/OsmWriterPerformanceTest.java
r18690 r18853 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.io; 3 4 import org.junit.jupiter.api.BeforeAll;5 import org.junit.jupiter.api.BeforeEach;6 import org.junit.jupiter.api.Test;7 import org.junit.jupiter.api.Timeout;8 import org.openstreetmap.josm.JOSMFixture;9 import org.openstreetmap.josm.PerformanceTestUtils;10 import org.openstreetmap.josm.PerformanceTestUtils.PerformanceTestTimer;11 import org.openstreetmap.josm.data.osm.DataSet;12 3 13 4 import java.io.PrintWriter; 14 5 import java.io.StringWriter; 15 6 import java.util.concurrent.TimeUnit; 7 8 import org.junit.jupiter.api.BeforeEach; 9 import org.junit.jupiter.api.Test; 10 import org.junit.jupiter.api.Timeout; 11 import org.openstreetmap.josm.PerformanceTestUtils; 12 import org.openstreetmap.josm.PerformanceTestUtils.PerformanceTestTimer; 13 import org.openstreetmap.josm.data.osm.DataSet; 16 14 17 15 /** … … 24 22 private static final int TIMES = 4; 25 23 private DataSet neubrandenburgDataSet; 26 27 /**28 * Prepare the test.29 */30 @BeforeAll31 public static void createJOSMFixture() {32 JOSMFixture.createPerformanceTestFixture().init(true);33 }34 24 35 25 /**
Note:
See TracChangeset
for help on using the changeset viewer.