From 44326cd8c1e93a69e44e46a38f6c8e2c0aa56de1 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: e072df44801e468c7a5d46e2f8eb039a8733865e --- .../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.");