|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--gate.jape.TestJape
Tests for the Corpus classes
Field Summary | |
private static boolean |
DEBUG
Debug flag |
Fields inherited from class junit.framework.TestCase |
fName |
Constructor Summary | |
TestJape(String name)
Construction |
Method Summary | |
void |
_testCombined()
Test using the large "combined" grammar from the gate/resources tree. |
void |
DoTestBigGrammar(String textName)
|
static void |
main(String[] args)
|
void |
setUp()
Fixture set up |
static junit.framework.Test |
suite()
Test suite routine for the test runner |
void |
testBatch()
Batch run |
void |
testRhsErrorMessages()
This test sets up a JAPE transducer based on a grammar (RhsError.jape) that will throw a null pointer exception. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static final boolean DEBUG
Constructor Detail |
public TestJape(String name)
Method Detail |
public void setUp()
setUp
in class junit.framework.TestCase
public void _testCombined() throws IOException, GateException, Exception
public void testBatch() throws Exception
public void DoTestBigGrammar(String textName) throws GateException, Exception
public void testRhsErrorMessages()
public static junit.framework.Test suite()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |