mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 16:49:43 +01:00
updated test case for tar file from issue #43
Former-commit-id: 15ec4c72eac6e9fd8569a19b7cdae283307081b0
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