Changeset 18870 in josm for trunk/test/performance/org/openstreetmap/josm/data
- Timestamp:
- 2023-10-16T15:19:07+02:00 (21 months ago)
- Location:
- trunk/test/performance/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/data/osm/KeyValuePerformanceTest.java
r18690 r18870 17 17 import org.junit.jupiter.api.Test; 18 18 import org.junit.jupiter.api.Timeout; 19 import org.junit.jupiter.api.extension.RegisterExtension;20 19 import org.openstreetmap.josm.PerformanceTestUtils; 21 20 import org.openstreetmap.josm.PerformanceTestUtils.PerformanceTestTimer; 22 21 import org.openstreetmap.josm.data.osm.OsmDataGenerator.KeyValueDataGenerator; 23 import org.openstreetmap.josm.testutils. JOSMTestRules;22 import org.openstreetmap.josm.testutils.annotations.Projection; 24 23 25 24 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 29 28 * @author Michael Zangl 30 29 */ 30 @Projection 31 31 @Timeout(value = 15, unit = TimeUnit.MINUTES) 32 32 class KeyValuePerformanceTest { … … 40 40 41 41 /** 42 * Prepare the test.43 */44 @RegisterExtension45 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")46 public JOSMTestRules test = new JOSMTestRules().projection();47 48 /**49 42 * See if there is a big difference between Strings that are interned and those that are not. 50 43 */ -
trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/AbstractMapRendererPerformanceTestParent.java
r18690 r18870 17 17 import org.junit.jupiter.api.Test; 18 18 import org.junit.jupiter.api.Timeout; 19 import org.openstreetmap.josm.JOSMFixture;20 19 import org.openstreetmap.josm.PerformanceTestUtils; 21 20 import org.openstreetmap.josm.data.Bounds; … … 25 24 import org.openstreetmap.josm.io.Compression; 26 25 import org.openstreetmap.josm.io.OsmReader; 26 import org.openstreetmap.josm.testutils.annotations.Projection; 27 import org.openstreetmap.josm.testutils.annotations.Territories; 27 28 28 29 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 31 32 * Abstract superclass of {@code StyledMapRendererPerformanceTest} and {@code WireframeMapRendererPerformanceTest}. 32 33 */ 34 @Projection 35 @Territories 33 36 @Timeout(value = 15, unit = TimeUnit.MINUTES) 34 37 abstract class AbstractMapRendererPerformanceTestParent { … … 49 52 50 53 protected static void load() throws Exception { 51 JOSMFixture.createPerformanceTestFixture().init(true);52 54 img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, BufferedImage.TYPE_INT_ARGB); 53 55 g = (Graphics2D) img.getGraphics();
Note:
See TracChangeset
for help on using the changeset viewer.