moved test data.zip to parent so it can be used by other projects

Former-commit-id: 18eae245b1476032a07f0714b2069d8fb2a39ea9
This commit is contained in:
Jeremy Long
2013-09-01 12:21:56 -04:00
parent 250de09c49
commit 6ee5555594
3 changed files with 51 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.apache.tools.ant.BuildFileTest;
import org.owasp.dependencycheck.data.nvdcve.BaseDBTestCase;
/**
*
@@ -46,7 +47,9 @@ public class DependencyCheckTaskTest extends BuildFileTest {
@Before
@Override
public void setUp() {
public void setUp() throws Exception {
BaseDBTestCase.ensureDBExists();
final String buildFile = this.getClass().getClassLoader().getResource("build.xml").getPath();
configureProject(buildFile);
}