From 2502e2b07caa60c2a6a00a13e0dd972a55ba1d61 Mon Sep 17 00:00:00 2001 From: "taylor.smock" Date: Tue, 31 Oct 2023 13:17:11 +0000 Subject: [PATCH] See #18866: Remove Potlatch2 from the built-in styles 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 --- .../josm/gui/mappaint/MapRendererPerformanceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java b/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java index 8d33526d254..fbbb6eadafa 100644 --- a/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java +++ b/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java @@ -124,7 +124,7 @@ public Point getLocationOnScreen() { filterStyle = MapPaintStyles.addStyle(se); List 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) {