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