gate
Class TestGate
java.lang.Object
gate.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).
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 |
oracleDriver
public static String oracleDriver
psqlDriver
public static String psqlDriver
TestGate
public TestGate()
main
public static void main(String[] args)
throws Exception
- Main routine for the GATE test suite.
Command-line arguments:
-
-a means run the test runner in automatic class reload mode
-
-n means assume there's no net connection
-
-t means run the test runner in text mode
(useful for
debugging, as there's less confusion to do with threads and
class loaders).
-
-i file additional initialisation file (probably called
gate.xml). Used for site-wide initialisation by the
start-up scripts.
- 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