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:
Jeremy Long
2014-01-29 06:14:30 -05:00
parent 509bbc7743
commit 9803c75fbd

View File

@@ -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.
*/ */