mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 17:19:30 +01:00
removed test case for issue #51 - need more information as I cannot get the exception to be thrown
Former-commit-id: 03b40b0b3e83ff008f562894851242f062a49161
This commit is contained in:
@@ -222,28 +222,27 @@ public class ArchiveAnalyzerTest extends BaseIndexTestCase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* Test of analyze method, of class ArchiveAnalyzer.
|
// * Test of analyze method, of class ArchiveAnalyzer.
|
||||||
*/
|
// */
|
||||||
@Test
|
// @Test
|
||||||
public void testNestedZipFolder() throws Exception {
|
// public void testNestedZipFolder() throws Exception {
|
||||||
ArchiveAnalyzer instance = new ArchiveAnalyzer();
|
// ArchiveAnalyzer instance = new ArchiveAnalyzer();
|
||||||
try {
|
// try {
|
||||||
instance.initialize();
|
// instance.initialize();
|
||||||
|
//
|
||||||
File file = new File(this.getClass().getClassLoader().getResource("nested.zip").getPath());
|
// File file = new File(this.getClass().getClassLoader().getResource("nested.zip").getPath());
|
||||||
Settings.setBoolean(Settings.KEYS.AUTO_UPDATE, false);
|
// Settings.setBoolean(Settings.KEYS.AUTO_UPDATE, false);
|
||||||
Settings.setBoolean(Settings.KEYS.ANALYZER_NEXUS_ENABLED, false);
|
// Settings.setBoolean(Settings.KEYS.ANALYZER_NEXUS_ENABLED, false);
|
||||||
Engine engine = new Engine();
|
// Engine engine = new Engine();
|
||||||
|
//
|
||||||
engine.scan(file);
|
// engine.scan(file);
|
||||||
engine.analyzeDependencies();
|
// engine.analyzeDependencies();
|
||||||
|
//
|
||||||
} finally {
|
// } finally {
|
||||||
instance.close();
|
// instance.close();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test of analyze method, of class ArchiveAnalyzer.
|
* Test of analyze method, of class ArchiveAnalyzer.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user