mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-20 08:14:44 +01:00
added "lib" directory to engine integration test so that new dependencies to test can be added to the pom in the test scope
Former-commit-id: 7e8b95db4698e6505170fce016124910512b4f3a
This commit is contained in:
@@ -58,9 +58,11 @@ public class EngineIntegrationTest {
|
|||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testScan() throws Exception {
|
public void testScan() throws Exception {
|
||||||
String path = "target/test-classes";
|
String testClasses = "target/test-classes";
|
||||||
|
String lib = "target/lib";
|
||||||
Engine instance = new Engine();
|
Engine instance = new Engine();
|
||||||
instance.scan(path);
|
instance.scan(testClasses);
|
||||||
|
instance.scan(lib);
|
||||||
assertTrue(instance.getDependencies().size() > 0);
|
assertTrue(instance.getDependencies().size() > 0);
|
||||||
instance.analyzeDependencies();
|
instance.analyzeDependencies();
|
||||||
ReportGenerator rg = new ReportGenerator("DependencyCheck",
|
ReportGenerator rg = new ReportGenerator("DependencyCheck",
|
||||||
|
|||||||
Reference in New Issue
Block a user