Skip to content

Commit

Permalink
Rename test resource checkstyle-result.xml that is evaluated in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Oct 16, 2024
1 parent fd20706 commit 704ec66
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,10 @@ void shouldCreateResultWithDifferentNameAndId() {
@Test
void shouldUseDefaultFileNamePattern() {
FreeStyleProject project = createFreeStyleProject();
copySingleFileToWorkspace(project, "checkstyle.xml", "checkstyle-result.xml");
enableWarnings(project, createTool(new CheckStyle(), StringUtils.EMPTY));
copySingleFileToWorkspace(project, "checkstyle.xml");
var checkStyle = new CheckStyle();
checkStyle.setPattern("**/checkstyle.xml");
enableWarnings(project, createTool(checkStyle, StringUtils.EMPTY));

AnalysisResult result = scheduleBuildAndAssertStatus(project, Result.SUCCESS);

Expand Down

0 comments on commit 704ec66

Please sign in to comment.