|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
gate.jape.functest.BaseJapeTests
gate.jape.functest.TestJape
public class TestJape
Tests for the Corpus classes
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class gate.jape.functest.BaseJapeTests |
|---|
BaseJapeTests.AnnotationCreator, BaseJapeTests.BaseAnnotationCreator |
| Field Summary | |
|---|---|
private static org.apache.log4j.Logger |
logger
|
| Fields inherited from class gate.jape.functest.BaseJapeTests |
|---|
DEFAULT_DATA_FILE, transducerType |
| Constructor Summary | |
|---|---|
TestJape(String name)
|
|
| Method Summary | |
|---|---|
void |
disabled_testRhsErrorMessages()
This test sets up a JAPE transducer based on a grammar (RhsError.jape) that will throw a null pointer exception. |
void |
disabled_testRhsErrorMessages2()
This test sets up a JAPE transducer based on a grammar (RhsError2.jape) that will throw a compiler error. |
static void |
main(String... args)
|
static junit.framework.Test |
suite()
|
void |
testAllMode()
|
void |
testAppeltMode()
|
void |
testApplicationModes()
This test loads a saved application which runs several JAPE grammars using different application modes on a specially prepared document. |
void |
testBrill()
|
void |
testSimple()
Batch run |
| Methods inherited from class gate.jape.functest.BaseJapeTests |
|---|
compareEndOffsets, compareResults, compareStartOffsets, doTest, doTest, doTest, setUpGate |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public TestJape(String name)
| Method Detail |
|---|
public void testSimple()
throws Exception
Exception
public void testApplicationModes()
throws PersistenceException,
ResourceInstantiationException,
IOException,
ExecutionException
IOException
ResourceInstantiationException
PersistenceException
ExecutionExceptionpublic void disabled_testRhsErrorMessages()
public void testBrill()
throws IOException,
GateException,
Exception
IOException
GateException
Exception
public void testAppeltMode()
throws IOException,
GateException,
Exception
IOException
GateException
Exception
public void testAllMode()
throws IOException,
GateException,
Exception
IOException
GateException
Exceptionpublic void disabled_testRhsErrorMessages2()
public static junit.framework.Test suite()
public static void main(String... args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||