gate.corpora
Class TestCorpus

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--gate.corpora.TestCorpus
All Implemented Interfaces:
junit.framework.Test

public class TestCorpus
extends junit.framework.TestCase

Tests for the Corpus classes


Constructor Summary
TestCorpus(String name)
          Construction
 
Method Summary
 void setUp()
          Fixture set up
static junit.framework.Test suite()
          Test suite routine for the test runner
 void testCreation()
          Corpus creation
 void testDocumentAddition()
          Add some documents
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, name, run, run, runBare, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCorpus

public TestCorpus(String name)
Construction

Method Detail

setUp

public void setUp()
Fixture set up

Overrides:
setUp in class junit.framework.TestCase

testCreation

public void testCreation()
                  throws Exception
Corpus creation

Exception

testDocumentAddition

public void testDocumentAddition()
                          throws Exception
Add some documents

Exception

suite

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