mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 02:21:28 +01:00
updated test case for tar file from issue #43
Former-commit-id: 9f8d207ab9c6f9f5dfc9c458d9c75351cc2c8c10
This commit is contained in:
@@ -48,11 +48,13 @@ public class ArchiveAnalyzerTest extends BaseIndexTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
|
@Override
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
super.setUp();
|
super.setUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
@After
|
@After
|
||||||
|
@Override
|
||||||
public void tearDown() throws Exception {
|
public void tearDown() throws Exception {
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
}
|
}
|
||||||
@@ -168,7 +170,8 @@ public class ArchiveAnalyzerTest extends BaseIndexTestCase {
|
|||||||
try {
|
try {
|
||||||
instance.initialize();
|
instance.initialize();
|
||||||
|
|
||||||
File file = new File(this.getClass().getClassLoader().getResource("file.tar").getPath());
|
//File file = new File(this.getClass().getClassLoader().getResource("file.tar").getPath());
|
||||||
|
File file = new File(this.getClass().getClassLoader().getResource("stagedhttp-modified.tar").getPath());
|
||||||
Dependency dependency = new Dependency(file);
|
Dependency dependency = new Dependency(file);
|
||||||
Settings.setBoolean(Settings.KEYS.AUTO_UPDATE, false);
|
Settings.setBoolean(Settings.KEYS.AUTO_UPDATE, false);
|
||||||
Engine engine = new Engine();
|
Engine engine = new Engine();
|
||||||
|
|||||||
Reference in New Issue
Block a user