diff --git a/src/test/java/edu/hm/hafner/grading/github/QualityMonitorDockerITest.java b/src/test/java/edu/hm/hafner/grading/github/QualityMonitorDockerITest.java index 90ab3f2..50a8f09 100644 --- a/src/test/java/edu/hm/hafner/grading/github/QualityMonitorDockerITest.java +++ b/src/test/java/edu/hm/hafner/grading/github/QualityMonitorDockerITest.java @@ -134,9 +134,9 @@ void shouldGradeInDockerContainer() throws TimeoutException, IOException { "Processing 2 static analysis configuration(s)", "-> CheckStyle Total: 1 warnings", "-> PMD Total: 1 warnings", - "=> Style: 2 warnings (0 error, 0 high, 2 normal, 0 low)", + "=> Style: 2 warnings (normal: 2)", "-> SpotBugs Total: 1 warnings", - "=> Bugs: 1 warning (0 error, 0 high, 0 normal, 1 low)"}); + "=> Bugs: 1 warning (low: 1)"}); container.copyFileFromContainer("/github/workspace/metrics.env", LOCAL_METRICS_FILE); assertThat(Files.readString(Path.of(LOCAL_METRICS_FILE))) @@ -164,9 +164,9 @@ void shouldUseDefaultConfiguration() throws TimeoutException { "Processing 2 static analysis configuration(s)", "-> CheckStyle Total: 1 warnings", "-> PMD Total: 1 warnings", - "=> Style: 2 warnings (0 error, 0 high, 2 normal, 0 low)", + "=> Style: 2 warnings (normal: 2)", "-> SpotBugs Total: 1 warnings", - "=> Bugs: 1 warning (0 error, 0 high, 0 normal, 1 low)"}); + "=> Bugs: 1 warning (low: 1)"}); } } diff --git a/src/test/java/edu/hm/hafner/grading/github/QualityMonitorITest.java b/src/test/java/edu/hm/hafner/grading/github/QualityMonitorITest.java index 060285a..e9e8522 100644 --- a/src/test/java/edu/hm/hafner/grading/github/QualityMonitorITest.java +++ b/src/test/java/edu/hm/hafner/grading/github/QualityMonitorITest.java @@ -128,11 +128,11 @@ void shouldGradeWithConfigurationFromEnvironment() { "=> PIT: 8%", "Processing 2 static analysis configuration(s)", "-> CheckStyle Total: 19 warnings", - "=> CheckStyle: 19 warnings (0 error, 0 high, 19 normal, 0 low)", + "=> CheckStyle: 19 warnings (normal: 19)", "-> PMD Total: 41 warnings", - "=> PMD: 41 warnings (0 error, 0 high, 41 normal, 0 low)", + "=> PMD: 41 warnings (normal: 41)", "-> SpotBugs Total: 1 warnings", - "=> SpotBugs: 1 warning (0 error, 0 high, 0 normal, 1 low)", + "=> SpotBugs: 1 bug (low: 1)", "mutation=8", "bugs=1", "tests=37",