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: 5304104daad5273a2d34c4a284c498c6ab9e57c2
This commit is contained in:
Jeremy Long
2013-08-16 07:13:07 -04:00
parent d1d5939181
commit 05c05552da

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",