GATE
Version 3.1-2270

gate.annotation
Class TestDatabaseAnnotationSet

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

public class TestDatabaseAnnotationSet
extends junit.framework.TestCase

Tests for the DatabaseAnnotationSet class


Field Summary
protected  AnnotationSet basicAS
          An annotation set
protected  Document doc1
          A document
protected  FeatureMap emptyFeatureMap
          An empty feature map
 
Constructor Summary
TestDatabaseAnnotationSet(String name)
          Construction
 
Method Summary
static void main(String[] args)
           
 void setUp()
          Fixture set up
static junit.framework.Test suite()
          Test suite routine for the test runner
 void testAnnotationSet()
          Test AnnotationSetImpl
 void testIterator()
          Test iterator
 void testIteratorRemove()
          Test iterator remove
 void testRemove()
          Test remove
 void testRemoveInexistant()
           
 void testSetMethods()
          Test Set methods
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

doc1

protected Document doc1
A document


basicAS

protected AnnotationSet basicAS
An annotation set


emptyFeatureMap

protected FeatureMap emptyFeatureMap
An empty feature map

Constructor Detail

TestDatabaseAnnotationSet

public TestDatabaseAnnotationSet(String name)
Construction

Method Detail

setUp

public void setUp()
           throws Exception
Fixture set up

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

testRemove

public void testRemove()
Test remove


testRemoveInexistant

public void testRemoveInexistant()
                          throws Exception
Throws:
Exception

testIteratorRemove

public void testIteratorRemove()
Test iterator remove


testIterator

public void testIterator()
Test iterator


testSetMethods

public void testSetMethods()
                    throws Exception
Test Set methods

Throws:
Exception

testAnnotationSet

public void testAnnotationSet()
                       throws Exception
Test AnnotationSetImpl

Throws:
Exception

suite

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


main

public static void main(String[] args)

GATE
Version 3.1-2270