package org.geotools.data.h2;
import org.geotools.jdbc.JDBCThreeValuedLogicTestSetup;
public class H2ThreeValuedLogicTestSetup extends JDBCThreeValuedLogicTestSetup {
public H2ThreeValuedLogicTestSetup() {
super(new H2TestSetup());
}
protected void createAbcTable() throws Exception {
run("CREATE TABLE \"geotools\".\"abc\"(\"name\" varchar(10), \"a\" int, \"b\" int, \"c\" int)");
run("INSERT INTO \"geotools\".\"abc\" VALUES('n_n_n', null, null, null)");
run("INSERT INTO \"geotools\".\"abc\" VALUES('a_b_c', 1, 2, 3)");
}
/**
* Drops the "testlob" table
*/
protected void dropAbcTable() throws Exception {
runSafe("DROP TABLE \"geotools\".\"abc\"");
}
}