|
GATE Version 3.1-2270 |
|||||||||
| 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.CookBook
public class CookBook
NOTE: this class has been REPLACED by the GateExamples package; see http://gate.ac.uk/GateExamples/doc/.
This class provides examples of using the GATE APIs. Read this documentation along with a copy of the source code.
The CookBook is set up as
part of the GATE test suite (using the
| Constructor Summary | |
|---|---|
CookBook(String name)
Construction |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Main function: an example of embedding GATE-based batch processing. |
void |
setUp()
Fixture set up: initialise members before each test method |
static junit.framework.Test |
suite()
Test suite routine for the test runner |
void |
testAddingAnnotations()
Adding annotations to documents |
void |
testAddingDocuments()
Adding documents to a corpus |
void |
testCorpusConstruction()
Constructing a corpus |
void |
testResourceCreation()
Constructing a resource |
void |
testUsingFeatures()
Using the FeatureMap interface |
| 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 |
| Constructor Detail |
|---|
public CookBook(String name)
| Method Detail |
|---|
public void testResourceCreation()
throws GateException
GateException
public void testCorpusConstruction()
throws GateException
GateException
public void testAddingDocuments()
throws GateException
GateExceptionpublic void testAddingAnnotations()
public void testUsingFeatures()
public static void main(String[] args)
throws Exception
Exception
public void setUp()
throws GateException,
IOException
setUp in class junit.framework.TestCaseGateException
IOExceptionpublic static junit.framework.Test suite()
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||