You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by GitBox <gi...@apache.org> on 2020/12/02 14:02:29 UTC

[GitHub] [uima-uimaj] mjunsilo commented on pull request #88: [UIMA-6295] CAS transportable Java object not serialised or deserialised with compressed binary

mjunsilo commented on pull request #88:
URL: https://github.com/apache/uima-uimaj/pull/88#issuecomment-737248492


   I had a look where to add the unit tests, but I am somewhat unsure about this. There doesn't seem to be any existing unit tests for this, except maybe for FSHashSet and related classes that implement UimaSerializableFSs, but they don't test the serialization integration. I therefore intent to transfer my tests from the example project to a new UimaSerializableFSsTest class in org.apache.uima.cas.impl, and replace any use of uimaFIT with CAS api calls, similar to how it is done in UimaV2CasCompatibilityTest. My next problem is where to put the type description XML, but there seems to be some already in ExampleCas, so I could put my type system description there. The types themselves don't seem to be generated at compile time, but they seem to be generated before and then committed as part of the project. I am not sure about the location though, but Sentence and Token are placed in org.apache.uima.cas.test, so I could put them there as well. Can you provide me with some guidance on 
 this, since I am a bit in the dark here? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org