updated test case for tar file from issue #43

Former-commit-id: 15ec4c72eac6e9fd8569a19b7cdae283307081b0
This commit is contained in:
Jeremy Long
2014-01-20 12:47:54 -05:00
parent ae80cc8984
commit 1c3b5e75d2

View File

@@ -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();