Skip to content

Commit

Permalink
See #18866: Remove Potlatch2 from the built-in styles
Browse files Browse the repository at this point in the history
This fixes the MapRendererPerformanceTest that failed due to depending upon the
number of built-in paintstyles.



git-svn-id: https://josm.openstreetmap.de/svn/trunk@18888 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Oct 31, 2023
1 parent de9b000 commit 2502e2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public Point getLocationOnScreen() {
filterStyle = MapPaintStyles.addStyle(se);
List<StyleSource> sources = MapPaintStyles.getStyles().getStyleSources();
filterStyleIdx = sources.indexOf(filterStyle);
assertEquals(2, filterStyleIdx);
assertEquals(1, filterStyleIdx);

assertEquals(Feature.values().length, filterStyle.settings.size());
for (StyleSetting set : filterStyle.settings) {
Expand Down

0 comments on commit 2502e2b

Please sign in to comment.