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

Former-commit-id: 5d0e82fcaf170af7086de306abc9eb2ed488bc79
This commit is contained in:
Jeremy Long
2013-09-01 12:21:56 -04:00
parent fc30aeea61
commit b8433c4ea7
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);
}