Changeset 18799 in josm for trunk/test/performance
- Timestamp:
- 2023-08-08T21:24:36+02:00 (18 months ago)
- Location:
- trunk/test/performance/org/openstreetmap/josm/data/validation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/data/validation/ValidationTaskPerformanceTest.java
r17617 r18799 2 2 package org.openstreetmap.josm.data.validation; 3 3 4 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 4 import static org.junit.jupiter.api.Assertions.assertTrue; 5 6 import java.util.Collection; 7 import java.util.List; 8 import java.util.stream.Collectors; 9 5 10 import org.junit.jupiter.api.BeforeEach; 6 11 import org.junit.jupiter.api.Test; 7 import org.junit.jupiter.api.extension.RegisterExtension;8 12 import org.openstreetmap.josm.PerformanceTestUtils; 9 13 import org.openstreetmap.josm.data.osm.DataSet; … … 13 17 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 14 18 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 15 import org.openstreetmap.josm.testutils.JOSMTestRules; 16 17 import java.util.Collection; 18 import java.util.List; 19 import java.util.stream.Collectors; 20 21 import static org.junit.jupiter.api.Assertions.assertTrue; 19 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 20 import org.openstreetmap.josm.testutils.annotations.Projection; 21 import org.openstreetmap.josm.testutils.annotations.Territories; 22 22 23 23 /** 24 24 * Performance test of {@code ValidationTask}. 25 25 */ 26 @BasicPreferences 27 @Projection 28 @Territories 26 29 class ValidationTaskPerformanceTest { 27 30 28 31 private List<org.openstreetmap.josm.data.validation.Test> tests; 29 30 /**31 * Setup test.32 */33 @RegisterExtension34 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")35 public JOSMTestRules test = new JOSMTestRules().projection().territories().preferences();36 32 37 33 /** -
trunk/test/performance/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerPerformanceTest.java
r17617 r18799 2 2 package org.openstreetmap.josm.data.validation.tests; 3 3 4 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;5 4 import org.junit.jupiter.api.BeforeEach; 6 5 import org.junit.jupiter.api.Test; 7 import org.junit.jupiter.api.extension.RegisterExtension;8 6 import org.openstreetmap.josm.PerformanceTestUtils; 9 7 import org.openstreetmap.josm.data.osm.DataSet; 10 import org.openstreetmap.josm.testutils.JOSMTestRules; 8 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 9 import org.openstreetmap.josm.testutils.annotations.Projection; 10 import org.openstreetmap.josm.testutils.annotations.Territories; 11 11 12 12 /** 13 13 * Performance test of {@code MapCSSTagChecker}. 14 14 */ 15 @BasicPreferences 16 @Projection 17 @Territories 15 18 class MapCSSTagCheckerPerformanceTest { 16 19 17 20 private MapCSSTagChecker tagChecker; 18 21 private DataSet dsCity; 19 20 /**21 * Setup test.22 */23 @RegisterExtension24 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")25 public JOSMTestRules test = new JOSMTestRules().projection().territories().preferences();26 22 27 23 /**
Note:
See TracChangeset
for help on using the changeset viewer.