examples
Class TestBoxes

java.lang.Object
  extended by examples.TestBoxes

public class TestBoxes
extends java.lang.Object


Field Summary
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 Summary
TestBoxes()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOXEN3D

public static final java.lang.String[] BOXEN3D
Our test candidates:


BOXEN2D

public static final java.lang.String[] BOXEN2D

SRID

public static final int SRID
The srid we use for the srid tests

See Also:
Constant Field Values

SRIDPREFIX

public static final java.lang.String SRIDPREFIX
The string prefix we get for the srid tests

See Also:
Constant Field Values

failcount

public static int failcount
How much tests did fail?

Constructor Detail

TestBoxes

public TestBoxes()
Method Detail

test

public static void test(java.lang.String orig,
                        org.postgresql.util.PGobject candidate,
                        java.sql.Connection[] conns,
                        boolean newPostgisOnly)
                 throws java.sql.SQLException
The actual test method

Throws:
java.sql.SQLException

connect

public static java.sql.Connection connect(java.lang.String url,
                                          java.lang.String dbuser,
                                          java.lang.String dbpass)
                                   throws java.sql.SQLException,
                                          java.lang.ClassNotFoundException
Connect to the databases We use DriverWrapper here. For alternatives, see the DriverWrapper Javadoc

Parameters:
dbuser -
Throws:
java.lang.ClassNotFoundException
java.sql.SQLException
See Also:
DriverWrapper

main

public static void main(java.lang.String[] args)
                 throws java.sql.SQLException,
                        java.lang.ClassNotFoundException
Our apps entry point

Throws:
java.sql.SQLException
java.lang.ClassNotFoundException