Check statistics of affected files resolving.
@@ -31,5 +31,9 @@ class AffectedFilesResolverTest {
assertThat(report.getErrorMessages()).hasSize(1);
assertThat(report.getErrorMessages().get(0)).startsWith("Copying 1 affected files to Jenkins' build folder builds.");
+ assertThat(report.getErrorMessages().get(0)).contains("0 copied");
+ assertThat(report.getErrorMessages().get(0)).contains("0 not in workspace");
+ assertThat(report.getErrorMessages().get(0)).contains("1 not-found");
+ assertThat(report.getErrorMessages().get(0)).contains("0 with I/O error");
}
}
\ No newline at end of file
