|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
gate.util.TestAnnotationMerging
public class TestAnnotationMerging
| Field Summary | |
|---|---|
(package private) int |
caseN
The id of test case. |
| Constructor Summary | |
|---|---|
TestAnnotationMerging(String name)
Construction |
|
| Method Summary | |
|---|---|
private void |
checkNumbers(int numAnns)
Check the numbers. |
private Document |
loadDocument(String path,
String name)
|
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 |
testAnnotationMerging()
The test for AnnotationMerging. |
void |
testWithfeat(String nameAnnSets,
String nameAnnType,
String nameAnnFeat,
Corpus data,
boolean isUsingMajority)
The actual method for testing. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int caseN
| Constructor Detail |
|---|
public TestAnnotationMerging(String name)
| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCase
public void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic static junit.framework.Test suite()
private Document loadDocument(String path,
String name)
throws Exception
Exception
public void testAnnotationMerging()
throws Exception
Exception
public void testWithfeat(String nameAnnSets,
String nameAnnType,
String nameAnnFeat,
Corpus data,
boolean isUsingMajority)
private void checkNumbers(int numAnns)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||