updated base class of test case to ensure data exists for analysis

Former-commit-id: 4abb5c7c2898a637b7cac759a2156f401a02d2d4
This commit is contained in:
Jeremy Long
2013-11-02 07:18:26 -04:00
parent 42baec7c72
commit da81ea4e57

View File

@@ -28,6 +28,7 @@ import org.junit.BeforeClass;
import org.junit.Test; import org.junit.Test;
import static org.junit.Assert.*; import static org.junit.Assert.*;
import org.owasp.dependencycheck.Engine; import org.owasp.dependencycheck.Engine;
import org.owasp.dependencycheck.data.cpe.BaseIndexTestCase;
import org.owasp.dependencycheck.dependency.Dependency; import org.owasp.dependencycheck.dependency.Dependency;
import org.owasp.dependencycheck.utils.Settings; import org.owasp.dependencycheck.utils.Settings;
@@ -35,7 +36,7 @@ import org.owasp.dependencycheck.utils.Settings;
* *
* @author Jeremy Long (jeremy.long@owasp.org) * @author Jeremy Long (jeremy.long@owasp.org)
*/ */
public class ArchiveAnalyzerTest { public class ArchiveAnalyzerTest extends BaseIndexTestCase {
public ArchiveAnalyzerTest() { public ArchiveAnalyzerTest() {
} }
@@ -49,11 +50,13 @@ public class ArchiveAnalyzerTest {
} }
@Before @Before
public void setUp() { public void setUp() throws Exception {
super.setUp();
} }
@After @After
public void tearDown() { public void tearDown() throws Exception {
super.tearDown();
} }
/** /**