updated to support the new Settings implementation

Former-commit-id: 16b747a5e88aafe600d35b67778a320dd8f81113
This commit is contained in:
Jeremy Long
2014-04-16 08:02:50 -04:00
parent d00bef5546
commit c85514a17a

View File

@@ -17,11 +17,8 @@
*/ */
package org.owasp.dependencycheck.data.cpe; package org.owasp.dependencycheck.data.cpe;
import junit.framework.TestCase;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before; import org.junit.Before;
import org.junit.BeforeClass; import org.owasp.dependencycheck.BaseTest;
import org.owasp.dependencycheck.data.nvdcve.BaseDBTestCase; import org.owasp.dependencycheck.data.nvdcve.BaseDBTestCase;
/** /**
@@ -30,26 +27,11 @@ import org.owasp.dependencycheck.data.nvdcve.BaseDBTestCase;
* *
* @author Jeremy Long <jeremy.long@owasp.org> * @author Jeremy Long <jeremy.long@owasp.org>
*/ */
public abstract class AbstractDatabaseTestCase extends TestCase { public abstract class AbstractDatabaseTestCase extends BaseTest {
@BeforeClass
public static void setUpClass() throws Exception {
}
@AfterClass
public static void tearDownClass() throws Exception {
}
@Before @Before
@Override
public void setUp() throws Exception { public void setUp() throws Exception {
BaseDBTestCase.ensureDBExists(); BaseDBTestCase.ensureDBExists();
super.setUp();
} }
@After
@Override
public void tearDown() throws Exception {
super.tearDown();
}
} }