public class TestBoxes extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
BOXEN2D |
static String[] |
BOXEN3D
Our test candidates:
|
static int |
failcount
How much tests did fail?
|
static int |
SRID
The srid we use for the srid tests
|
static String |
SRIDPREFIX
The string prefix we get for the srid tests
|
Constructor and Description |
---|
TestBoxes() |
Modifier and Type | Method and Description |
---|---|
static Connection |
connect(String url,
String dbuser,
String dbpass)
Connect to the databases
We use DriverWrapper here.
|
static void |
main(String[] args)
Our apps entry point
|
static void |
test(String orig,
org.postgresql.util.PGobject candidate,
Connection[] conns,
boolean newPostgisOnly)
The actual test method
|
public static final String[] BOXEN3D
public static final String[] BOXEN2D
public static final int SRID
public static final String SRIDPREFIX
public static int failcount
public static void test(String orig, org.postgresql.util.PGobject candidate, Connection[] conns, boolean newPostgisOnly) throws SQLException
SQLException
public static Connection connect(String url, String dbuser, String dbpass) throws SQLException, ClassNotFoundException
dbuser
- ClassNotFoundException
SQLException
DriverWrapper
public static void main(String[] args) throws SQLException, ClassNotFoundException
SQLException
ClassNotFoundException
Copyright © 2014. All rights reserved.