gate.creole
Class TestPR

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gate.creole.TestPR
All Implemented Interfaces:
junit.framework.Test

public class TestPR
extends junit.framework.TestCase

Test the PRs on three documents


Nested Class Summary
static class TestPR.TestAnnotationAccessor
           
static class TestPR.TestConstraintPredicate
           
 
Field Summary
protected static List<String> annotationTypes
           
protected static Document doc1
           
protected static Document doc2
           
protected static Document doc3
           
protected static Document doc4
           
 
Constructor Summary
TestPR(String name)
          Construction
 
Method Summary
 void compareAnnots(Document keyDocument, Document responseDocument)
           
static void main(String[] args)
           
 void setUp()
          Fixture set up
static junit.framework.Test suite()
          Test suite routine for the test runner
 void tearDown()
          Put things back as they should be after running tests.
 void testAllPR()
          A test for comparing the annotation sets
 void testCustomConstraintDefs()
           
 void testGazetteer()
           
 void testOrthomatcher()
           
 void testSplitter()
           
 void testTagger()
           
 void testTokenizer()
           
 void testTransducer()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

doc1

protected static Document doc1

doc2

protected static Document doc2

doc3

protected static Document doc3

doc4

protected static Document doc4

annotationTypes

protected static List<String> annotationTypes
Constructor Detail

TestPR

public TestPR(String name)
Construction

Method Detail

setUp

public void setUp()
           throws Exception
Fixture set up

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Put things back as they should be after running tests.

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testTokenizer

public void testTokenizer()
                   throws Exception
Throws:
Exception

testGazetteer

public void testGazetteer()
                   throws Exception
Throws:
Exception

testSplitter

public void testSplitter()
                  throws Exception
Throws:
Exception

testTagger

public void testTagger()
                throws Exception
Throws:
Exception

testTransducer

public void testTransducer()
                    throws Exception
Throws:
Exception

testCustomConstraintDefs

public void testCustomConstraintDefs()
                              throws Exception
Throws:
Exception

testOrthomatcher

public void testOrthomatcher()
                      throws Exception
Throws:
Exception

testAllPR

public void testAllPR()
               throws Exception
A test for comparing the annotation sets

Throws:
Exception

compareAnnots

public void compareAnnots(Document keyDocument,
                          Document responseDocument)
                   throws Exception
Throws:
Exception

suite

public static junit.framework.Test suite()
Test suite routine for the test runner


main

public static void main(String[] args)