gate
Class TestGate

java.lang.Object
  extended bygate.TestGate

public class TestGate
extends Object

Top-level entry point for GATE test suite; "main" will run the JUnit test runner interface.

Many tests require access to files; generally these files are located on Web servers. In cases where there is no net connection, or the Web servers are down, the test files are searched for in the file system or Jar code base that the system has been loaded from. The search order for test files is like this:

This search order can be modified by parameters to the main function (see below).


Field Summary
private static boolean DEBUG
          Debug flag
private static String defOracleDriver
           
private static String defPSQLDriver
           
static String oracleDriver
           
static String psqlDriver
           
private static String saiOracleDriver
           
private static String saiPSQLDriver
           
private static int STATUS_ERROR
          Status flag for error exit.
private static int STATUS_NORMAL
          Status flag for normal exit.
 
Constructor Summary
TestGate()
           
 
Method Summary
static void main(String[] args)
          Main routine for the GATE test suite.
static junit.framework.Test suite()
          GATE test suite.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG
Debug flag

See Also:
Constant Field Values

STATUS_NORMAL

private static final int STATUS_NORMAL
Status flag for normal exit.

See Also:
Constant Field Values

STATUS_ERROR

private static final int STATUS_ERROR
Status flag for error exit.

See Also:
Constant Field Values

defOracleDriver

private static final String defOracleDriver
See Also:
Constant Field Values

saiOracleDriver

private static final String saiOracleDriver
See Also:
Constant Field Values

defPSQLDriver

private static final String defPSQLDriver
See Also:
Constant Field Values

saiPSQLDriver

private static final String saiPSQLDriver
See Also:
Constant Field Values

oracleDriver

public static String oracleDriver

psqlDriver

public static String psqlDriver
Constructor Detail

TestGate

public TestGate()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Main routine for the GATE test suite. Command-line arguments:

Throws:
Exception

suite

public static junit.framework.Test suite()
                                  throws Exception
GATE test suite. Every test case class has to be registered here.

Throws:
Exception