public class TestParser extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALL |
static String |
EQUAL10 |
static int |
failcount
How much tests did fail?
|
static String |
ONLY10 |
static int |
SRID
The srid we use for the srid tests
|
static String |
SRIDPREFIX
The string prefix we get for the srid tests
|
static String[][] |
testset
Our set of geometries to test.
|
Constructor and Description |
---|
TestParser() |
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 |
loadDrivers() |
static void |
main(String[] args)
Our apps entry point
|
static void |
test(String WKT,
Connection[] conns,
String flags)
The actual test method
|
public static String ALL
public static String ONLY10
public static String EQUAL10
public static final String[][] testset
public static final int SRID
public static final String SRIDPREFIX
public static int failcount
public static void test(String WKT, Connection[] conns, String flags) throws SQLException
SQLException
public static Connection connect(String url, String dbuser, String dbpass) throws SQLException
dbuser
- SQLException
DriverWrapper
public static void loadDrivers() throws ClassNotFoundException
ClassNotFoundException
public static void main(String[] args) throws SQLException, ClassNotFoundException
SQLException
ClassNotFoundException
Copyright © 2014. All rights reserved.