summaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-04-10 01:06:28 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-04-10 01:06:28 +0000
commit181185dd28858427d66a3bc7cf99bce2bea777d8 (patch)
tree9816f296d26d2ec99481252d2e02cfc4e34df361 /test/src
parent2c480d7a1b9bedf6476162481f1ad64c2e03974b (diff)
downloadjackcess-181185dd28858427d66a3bc7cf99bce2bea777d8.tar.gz
jackcess-181185dd28858427d66a3bc7cf99bce2bea777d8.zip
minor tweaks
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@319 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test/src')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/ImportTest.java15
1 files changed, 3 insertions, 12 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/ImportTest.java b/test/src/java/com/healthmarketscience/jackcess/ImportTest.java
index 5d58d7b..a2a4719 100644
--- a/test/src/java/com/healthmarketscience/jackcess/ImportTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/ImportTest.java
@@ -38,8 +38,8 @@ import java.util.ArrayList;
import java.util.List;
import junit.framework.TestCase;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+
+import static com.healthmarketscience.jackcess.DatabaseTest.*;
/**
* @author Rob Di Marco
@@ -47,19 +47,10 @@ import org.apache.commons.logging.LogFactory;
public class ImportTest extends TestCase
{
- /** The logger to use. */
- private static final Log LOG = LogFactory.getLog(ImportTest.class);
- public ImportTest(String name)
- {
+ public ImportTest(String name) {
super(name);
}
- private Database create() throws Exception {
- File tmp = File.createTempFile("databaseTest", ".mdb");
- tmp.deleteOnExit();
- return Database.create(tmp);
- }
-
public void testImportFromFile() throws Exception
{
Database db = create();