Changeset 17617 in josm for trunk/test/performance/org
- Timestamp:
- 2021-03-21T13:56:17+01:00 (4 years ago)
- Location:
- trunk/test/performance/org/openstreetmap/josm
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/PerformanceTestUtils.java
r17615 r17617 37 37 public static DataSet getNeubrandenburgDataSet() throws IOException, IllegalDataException { 38 38 try (InputStream in = Compression.getUncompressedFileInputStream(new File(DATA_FILE))) { 39 return OsmReader.parseDataSet(in, NullProgressMonitor.INSTANCE); 39 DataSet dataSet = OsmReader.parseDataSet(in, NullProgressMonitor.INSTANCE); 40 dataSet.setName(DATA_FILE); 41 return dataSet; 40 42 } 41 43 } -
trunk/test/performance/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerPerformanceTest.java
r17615 r17617 39 39 @Test 40 40 void testCity() { 41 tagChecker.visit(dsCity.allPrimitives()); 41 PerformanceTestUtils.runPerformanceTest("MapCSSTagChecker on " + dsCity.getName(), 42 () -> tagChecker.visit(dsCity.allPrimitives())); 42 43 } 43 44 }
Note:
See TracChangeset
for help on using the changeset viewer.