Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

org::apache::uima::test::junit_extension::AnnotatorTester Class Reference

Collaboration diagram for org::apache::uima::test::junit_extension::AnnotatorTester:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AnnotatorTester (String descFilePath) throws Exception
 AnnotatorTester (File descFile) throws Exception
 AnnotatorTester (String descFilePath, ResourceManager mgr) throws Exception
void changeDelegateParameterSetting (String delegeteKey, String groupName, String paramName, Object paramValue) throws InvalidXMLException, ResourceInitializationException, IOException
void changeParameterSetting (String groupName, String paramName, Object paramValue) throws ResourceConfigurationException
CAS performTest (String text, String language) throws Exception
CAS performTest (CAS cas) throws Exception

Static Public Member Functions

static void checkResult (CAS cas, String[] AnnotationTypes, File refFile, File testFile) throws Exception
static AnalysisEngine doConfigurationTest (String configDescFilePath) throws Exception
static CAS getCASfromXCAS (File tsFile, File xcasFile) throws Exception
static CAS performTest (String descFilePath, String text, String language) throws Exception
static String readFileContent (File file, String encoding) throws Exception

Private Member Functions

void setup () throws Exception

Private Attributes

AnalysisEngine ae
File descFile
ResourceManager mgr

Detailed Description

AnnotatorTester is the helper class to test annotators.

Definition at line 52 of file AnnotatorTester.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index