From 5b7f3560aa476a5703b759dfc59c88da8762011b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20D=C3=A9moulin?= Date: Fri, 22 Sep 2023 09:09:45 +0200 Subject: [PATCH] GBLD-1108: test the number exact of markers --- .../tests/EclipseSpotbugsProjectConfigurationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.basistech.m2e.code.quality.spotbugs.test/src/main/java/com/basistech/m2e/code/quality/spotbugs/tests/EclipseSpotbugsProjectConfigurationTest.java b/com.basistech.m2e.code.quality.spotbugs.test/src/main/java/com/basistech/m2e/code/quality/spotbugs/tests/EclipseSpotbugsProjectConfigurationTest.java index a4854ed2..8788ee40 100644 --- a/com.basistech.m2e.code.quality.spotbugs.test/src/main/java/com/basistech/m2e/code/quality/spotbugs/tests/EclipseSpotbugsProjectConfigurationTest.java +++ b/com.basistech.m2e.code.quality.spotbugs.test/src/main/java/com/basistech/m2e/code/quality/spotbugs/tests/EclipseSpotbugsProjectConfigurationTest.java @@ -20,13 +20,13 @@ public class EclipseSpotbugsProjectConfigurationTest extends AbstractEclipseSpot @Test public void testSpotbugsCheck() throws Exception { - importProjectRunBuildAndFindMarkers("projects/spotbugs-check/pom.xml", MARKER_ID, 2, + importProjectRunBuildAndFindMarkersExact("projects/spotbugs-check/pom.xml", MARKER_ID, 2, new TriggerSpotbugsExplicitly()); } @Test public void testSpotbugsSpotbugs() throws Exception { - importProjectRunBuildAndFindMarkers("projects/spotbugs-spotbugs/pom.xml", MARKER_ID, 2, + importProjectRunBuildAndFindMarkersExact("projects/spotbugs-spotbugs/pom.xml", MARKER_ID, 2, new TriggerSpotbugsExplicitly()); }