We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 756a61f commit f3e9603Copy full SHA for f3e9603
src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java
@@ -35,8 +35,11 @@
35
*/
36
public class CheckstyleReportTest extends AbstractCheckstyleTestCase {
37
public void testNoSource() throws Exception {
38
+ // clean up after earlier runs
39
+ File report = new File("target/test-harness/checkstyle/no-source/checkstyle.html");
40
+ report.delete();
41
File generatedReport = generateReport("checkstyle", "no-source-plugin-config.xml");
- assertFalse(FileUtils.fileExists(generatedReport.getAbsolutePath()));
42
+ assertFalse(report + " exists", generatedReport.exists());
43
}
44
45
public void testMinConfiguration() throws Exception {
0 commit comments