From 776614d211b4bdd0ab9db7e8ca548877d91cde8c Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sat, 15 Mar 2014 07:48:19 -0400 Subject: [PATCH] minor update to the generated report names Former-commit-id: 1ee6a44db3df3c060033470b026799cfa8bd744d --- .../dependencycheck/taskdefs/DependencyCheckTaskTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dependency-check-ant/src/test/java/org/owasp/dependencycheck/taskdefs/DependencyCheckTaskTest.java b/dependency-check-ant/src/test/java/org/owasp/dependencycheck/taskdefs/DependencyCheckTaskTest.java index 3942349d4..60938e4ac 100644 --- a/dependency-check-ant/src/test/java/org/owasp/dependencycheck/taskdefs/DependencyCheckTaskTest.java +++ b/dependency-check-ant/src/test/java/org/owasp/dependencycheck/taskdefs/DependencyCheckTaskTest.java @@ -64,7 +64,7 @@ public class DependencyCheckTaskTest extends BuildFileTest { */ @Test public void testAddFileSet() throws Exception { - File report = new File("target/DependencyCheck-Report.html"); + File report = new File("target/dependency-check-report.html"); if (report.exists()) { if (!report.delete()) { throw new Exception("Unable to delete 'target/DependencyCheck-Report.html' prior to test."); @@ -83,7 +83,7 @@ public class DependencyCheckTaskTest extends BuildFileTest { */ @Test public void testAddFileList() throws Exception { - File report = new File("target/DependencyCheck-Report.xml"); + File report = new File("target/dependency-check-report.xml"); if (report.exists()) { if (!report.delete()) { throw new Exception("Unable to delete 'target/DependencyCheck-Report.xml' prior to test."); @@ -101,7 +101,7 @@ public class DependencyCheckTaskTest extends BuildFileTest { */ @Test public void testAddDirSet() throws Exception { - File report = new File("target/DependencyCheck-Vulnerability.html"); + File report = new File("target/dependency-check-vulnerability.html"); if (report.exists()) { if (!report.delete()) { throw new Exception("Unable to delete 'target/DependencyCheck-Vulnerability.html' prior to test.");