gate.creole
Class TestPR
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--gate.creole.TestPR
- All Implemented Interfaces:
- junit.framework.Test
- public class TestPR
- extends junit.framework.TestCase
Test the PRs on three documents
Fields inherited from class junit.framework.TestCase |
fName |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, 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 |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
DEBUG
private static final boolean DEBUG
- Debug flag
doc1
protected static Document doc1
doc2
protected static Document doc2
doc3
protected static Document doc3
annotationTypes
protected static List annotationTypes
TestPR
public TestPR(String name)
- Construction
setUp
public void setUp()
throws Exception
- Fixture set up
- Overrides:
setUp
in class junit.framework.TestCase
tearDown
public void tearDown()
throws Exception
- Put things back as they should be after running tests.
- Overrides:
tearDown
in class junit.framework.TestCase
testTokenizer
public void testTokenizer()
throws Exception
testGazetteer
public void testGazetteer()
throws Exception
testSplitter
public void testSplitter()
throws Exception
testTagger
public void testTagger()
throws Exception
testTransducer
public void testTransducer()
throws Exception
testOrthomatcher
public void testOrthomatcher()
throws Exception
testAllPR
public void testAllPR()
throws Exception
- A test for comparing the annotation sets
compareAnnots
public void compareAnnots(Document keyDocument,
Document responseDocument)
throws Exception
suite
public static junit.framework.Test suite()
- Test suite routine for the test runner
main
public static void main(String[] args)