Issue #730: Remove redundant method from Settings

Pull file loading from loadSuppressionData() to make it easier to read
Add test assertion to happy case Ant task test
This commit is contained in:
Phillip Whittlesea
2017-06-12 01:48:33 +01:00
parent 8021aaed4b
commit 0be494a211
4 changed files with 67 additions and 80 deletions

View File

@@ -127,6 +127,8 @@ public class DependencyCheckTaskTest {
buildFileRule.executeTarget(antTaskName);
// THEN the ant task executed without error
final File report = new File("target/dependency-check-report.html");
assertTrue("Expected the DependencyCheck report to be generated", report.exists());
}
/**