|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--gate.annotation.TestDatabaseAnnotationSet
Tests for the DatabaseAnnotationSet class
Field Summary | |
protected AnnotationSet |
basicAS
An annotation set |
private static boolean |
DEBUG
Debug flag |
protected Document |
doc1
A document |
protected FeatureMap |
emptyFeatureMap
An empty feature map |
Fields inherited from class junit.framework.TestCase |
|
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, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final boolean DEBUG
protected Document doc1
protected AnnotationSet basicAS
protected FeatureMap emptyFeatureMap
Constructor Detail |
public TestDatabaseAnnotationSet(String name)
Method Detail |
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testRemove()
public void testRemoveInexistant() throws Exception
Exception
public void testIteratorRemove()
public void testIterator()
public void testSetMethods() throws Exception
Exception
public void testAnnotationSet() throws Exception
Exception
public static junit.framework.Test suite()
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |