examples
public class TestBoxes extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
BOXEN2D |
static java.lang.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 java.lang.String |
SRIDPREFIX
The string prefix we get for the srid tests
|
| Constructor and Description |
|---|
TestBoxes() |
| Modifier and Type | Method and Description |
|---|---|
static java.sql.Connection |
connect(java.lang.String url,
java.lang.String dbuser,
java.lang.String dbpass)
Connect to the databases
We use DriverWrapper here.
|
static void |
main(java.lang.String[] args)
Our apps entry point
|
static void |
test(java.lang.String orig,
org.postgresql.util.PGobject candidate,
java.sql.Connection[] conns,
boolean newPostgisOnly)
The actual test method
|
public static final java.lang.String[] BOXEN3D
public static final java.lang.String[] BOXEN2D
public static final int SRID
public static final java.lang.String SRIDPREFIX
public static int failcount
public static void test(java.lang.String orig,
org.postgresql.util.PGobject candidate,
java.sql.Connection[] conns,
boolean newPostgisOnly)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.sql.Connection connect(java.lang.String url,
java.lang.String dbuser,
java.lang.String dbpass)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
dbuser - java.lang.ClassNotFoundExceptionjava.sql.SQLExceptionDriverWrapperpublic static void main(java.lang.String[] args)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
java.sql.SQLExceptionjava.lang.ClassNotFoundExceptionCopyright © 2016. All Rights Reserved.