updated to support the new Settings implementation

Former-commit-id: a530f8ae502e47345f36c1e563c001797b223280
This commit is contained in:
Jeremy Long
2014-04-16 08:02:50 -04:00
parent 095c48a942
commit 6cd4bf337e

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