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:
Jeremy Long
2013-08-16 07:13:07 -04:00
parent f0dd28d4db
commit 33249fad21

View File

@@ -58,9 +58,11 @@ public class EngineIntegrationTest {
*/
@Test
public void testScan() throws Exception {
String path = "target/test-classes";
String testClasses = "target/test-classes";
String lib = "target/lib";
Engine instance = new Engine();
instance.scan(path);
instance.scan(testClasses);
instance.scan(lib);
assertTrue(instance.getDependencies().size() > 0);
instance.analyzeDependencies();
ReportGenerator rg = new ReportGenerator("DependencyCheck",