Skip to content

Commit

Permalink
0000021: SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanes committed Dec 9, 2012
1 parent 2092cab commit 16024bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Expand Up @@ -67,7 +67,7 @@ public enum Format {
};

public enum Compatible {
DB2, DERBY, FIREBIRD, GREENPLUM, H2, HSQLDB, HSQLDB2, INFORMIX, INTERBASE, MSSQL, MYSQL, ORACLE, POSTGRES, SYBASE
DB2, DERBY, FIREBIRD, GREENPLUM, H2, HSQLDB, HSQLDB2, INFORMIX, INTERBASE, MSSQL, MYSQL, ORACLE, POSTGRES, SYBASE, SQLITE
};

private Format format = Format.SQL;
Expand Down
Expand Up @@ -12,6 +12,7 @@
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.StringUtils;
import org.jumpmind.db.DbTestUtils;
import org.jumpmind.db.model.Column;
import org.jumpmind.db.model.Database;
import org.jumpmind.db.model.Table;
Expand All @@ -26,6 +27,7 @@
import org.jumpmind.symmetric.DbExport.Format;
import org.jumpmind.symmetric.io.data.writer.ConflictException;
import org.jumpmind.symmetric.service.impl.AbstractServiceTest;
import org.junit.BeforeClass;
import org.junit.Test;

public class DbExportImportTest extends AbstractServiceTest {
Expand All @@ -34,6 +36,17 @@ public class DbExportImportTest extends AbstractServiceTest {

private static final String TEST_TS_W_TZ = "test_ts_w_tz";

protected static IDatabasePlatform platform;

@BeforeClass
public static void setup() throws Exception {
File f = new File("target/rootdbs");
FileUtils.deleteDirectory(f);
f.mkdir();
AbstractServiceTest.setup();

}

@Test
public void testInsertBigIntIntoOracleIntField() {
if (getPlatform().getName().equals(DatabaseNamesConstants.ORACLE)) {
Expand Down

0 comments on commit 16024bd

Please sign in to comment.