You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <de...@uima.apache.org> on 2011/02/08 13:47:57 UTC

[jira] Created: (UIMA-2037) Add method to create a CAS to AnnotatorTester

Add method to create a CAS to AnnotatorTester
---------------------------------------------

                 Key: UIMA-2037
                 URL: https://issues.apache.org/jira/browse/UIMA-2037
             Project: UIMA
          Issue Type: Improvement
          Components: Build, Packaging and Test
            Reporter: Jörn Kottmann
            Assignee: Jörn Kottmann
            Priority: Trivial
             Fix For: 2.3.2SDK


The AnnotatorTest encapsulates the AnalysisEngine and calling AnalysisEngine.newCAS() is not possible. For testing it is handy to have the ability to create a fresh CAS which can be prepared as needed.  

There should be an additional AnnotatorTester.createCAS method which will produce a CAS which has the
AnalysisEngines type system.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Closed: (UIMA-2037) Add method to create a CAS to AnnotatorTester

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann closed UIMA-2037.
-------------------------------

    Resolution: Fixed

> Add method to create a CAS to AnnotatorTester
> ---------------------------------------------
>
>                 Key: UIMA-2037
>                 URL: https://issues.apache.org/jira/browse/UIMA-2037
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Build, Packaging and Test
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Trivial
>             Fix For: 2.3.2SDK
>
>
> The AnnotatorTest encapsulates the AnalysisEngine and calling AnalysisEngine.newCAS() is not possible. For testing it is handy to have the ability to create a fresh CAS which can be prepared as needed.  
> There should be an additional AnnotatorTester.createCAS method which will produce a CAS which has the
> AnalysisEngines type system.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira