Fixed test case since new eclipse maven parser also detects javac
messages.
@@ -157,11 +157,11 @@ public class StepsITest extends IntegrationTestWithJenkinsPerTest {
private void assertThatJavaIssuesArePublished(final AnalysisResult result) {
Report report = result.getIssues();
- assertThat(report.filter(issue -> "eclipse".equals(issue.getOrigin()))).hasSize(8);
+ assertThat(report.filter(issue -> "eclipse".equals(issue.getOrigin()))).hasSize(10); // maven eclipse detects to maven javac warnings
assertThat(report.filter(issue -> "java".equals(issue.getOrigin()))).hasSize(2);
assertThat(report.filter(issue -> "javadoc".equals(issue.getOrigin()))).hasSize(6);
assertThat(report.getTools()).containsExactlyInAnyOrder("java", "javadoc", "eclipse");
- assertThat(result.getIssues()).hasSize(8 + 2 + 6);
+ assertThat(result.getIssues()).hasSize(10 + 2 + 6);
}
/**
