You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2021/08/27 16:33:12 UTC

[uima-uimaj] 01/01: Merge pull request #141 from apache/feature/UIMA-6374-Create-CAS-de-serialization-test-suite

This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git

commit 2ceaa38f552705a5ade1b077aacaa962123c3012
Merge: 273df59 9774e6a
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Fri Aug 27 18:33:07 2021 +0200

    Merge pull request #141 from apache/feature/UIMA-6374-Create-CAS-de-serialization-test-suite
    
    [UIMA-6374] Create CAS (de)serialization test suite

 ...rializationDeserialization_BINARY_TSI_Test.java |   2 +-
 ...asSerializationDeserialization_BINARY_Test.java |   2 +-
 ...serialization_COMPRESSED_FILTERED_TSI_Test.java |   2 +-
 ...izationDeserialization_SERIALIZED_TSI_Test.java |   2 +-
 .../CasSerializationDeserialization_XCAS_Test.java |   3 +-
 ...izationDeserialization_XMI_1_0_PRETTY_Test.java |   8 +-
 ...izationDeserialization_XMI_1_1_PRETTY_Test.java |   7 +-
 .../uima/cas/serdes/SerDesCasIOTestUtils.java      |  37 +++++++-
 .../ProgrammaticallyCreatedCasDataSuite.java       | 104 +++++++++++++++++++--
 .../cas/serdes/scenario/DesSerTestScenario.java    |  25 ++++-
 .../casWithEmojiUnicodeTextAndAnnotations}/cas.bin | Bin 2413 -> 2604 bytes
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  15 +++
 .../casWithLeftToRightTextAndAnnotations}/cas.bin  | Bin 2413 -> 2408 bytes
 .../debug-typesystem.xml                           |   0
 .../casWithLeftToRightTextAndAnnotations/debug.xmi |   8 ++
 .../ser-ref/casWithText}/debug-typesystem.xml      |   0
 .../ser-ref/casWithText}/debug.xmi                 |   3 +-
 .../casWithTextAndAnnotation/debug-typesystem.xml  |   0
 .../ser-ref/casWithTextAndAnnotation/debug.xmi     |   0
 .../ser-ref/casWithTextAndAnnotations}/cas.bin     | Bin 2413 -> 2456 bytes
 .../debug-typesystem.xml                           |   0
 .../ser-ref/casWithTextAndAnnotations/debug.xmi    |  10 ++
 .../cas.bin                                        | Bin 2413 -> 2440 bytes
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  10 ++
 .../casWithoutTextButWithAnnotations}/cas.bin      | Bin 2413 -> 2344 bytes
 .../debug-typesystem.xml                           |   0
 .../casWithoutTextButWithAnnotations/debug.xmi     |   9 ++
 .../ser-ref/emptyCas}/cas.bin                      | Bin 2413 -> 2200 bytes
 .../ser-ref/emptyCas}/debug-typesystem.xml         |   0
 .../ser-ref/emptyCas/debug.xmi                     |   3 +
 .../casWithEmojiUnicodeTextAndAnnotations/cas.bin  | Bin 0 -> 476 bytes
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  15 +++
 .../casWithLeftToRightTextAndAnnotations/cas.bin   | Bin 0 -> 280 bytes
 .../debug-typesystem.xml                           |   0
 .../casWithLeftToRightTextAndAnnotations/debug.xmi |   8 ++
 .../ser-ref/casWithText}/debug-typesystem.xml      |   0
 .../ser-ref/casWithText}/debug.xmi                 |   3 +-
 .../casWithTextAndAnnotation/debug-typesystem.xml  |   0
 .../ser-ref/casWithTextAndAnnotation/debug.xmi     |   0
 .../ser-ref/casWithTextAndAnnotations/cas.bin      | Bin 0 -> 328 bytes
 .../debug-typesystem.xml                           |   0
 .../ser-ref/casWithTextAndAnnotations/debug.xmi    |  10 ++
 .../cas.bin                                        | Bin 0 -> 312 bytes
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  10 ++
 .../casWithoutTextButWithAnnotations/cas.bin       | Bin 0 -> 216 bytes
 .../debug-typesystem.xml                           |   0
 .../casWithoutTextButWithAnnotations/debug.xmi     |   9 ++
 .../ser-ref/emptyCas/cas.bin                       | Bin 0 -> 72 bytes
 .../ser-ref/emptyCas}/debug-typesystem.xml         |   0
 .../ser-ref/emptyCas/debug.xmi                     |   3 +
 .../cas.bin                                        | Bin 2413 -> 2475 bytes
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  15 +++
 .../cas.bin                                        | Bin 2413 -> 2424 bytes
 .../debug-typesystem.xml                           |   0
 .../casWithLeftToRightTextAndAnnotations/debug.xmi |   8 ++
 .../cas.bin                                        | Bin 2413 -> 2423 bytes
 .../debug-typesystem.xml                           |   0
 .../ser-ref/casWithTextAndAnnotations/debug.xmi    |  10 ++
 .../cas.bin                                        | Bin 2413 -> 2430 bytes
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  10 ++
 .../cas.bin                                        | Bin 2413 -> 2387 bytes
 .../debug-typesystem.xml                           |   0
 .../casWithoutTextButWithAnnotations/debug.xmi     |   9 ++
 .../{casWithTextAndAnnotation => emptyCas}/cas.bin | Bin 2413 -> 2348 bytes
 .../ser-ref/emptyCas}/debug-typesystem.xml         |   0
 .../ser-ref/emptyCas/debug.xmi                     |   3 +
 .../cas.bin                                        | Bin 2788 -> 3009 bytes
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  15 +++
 .../cas.bin                                        | Bin 2788 -> 2812 bytes
 .../debug-typesystem.xml                           |   0
 .../casWithLeftToRightTextAndAnnotations/debug.xmi |   8 ++
 .../cas.bin                                        | Bin 2788 -> 2847 bytes
 .../debug-typesystem.xml                           |   0
 .../ser-ref/casWithTextAndAnnotations/debug.xmi    |  10 ++
 .../cas.bin                                        | Bin 2788 -> 2851 bytes
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  10 ++
 .../cas.bin                                        | Bin 2788 -> 2783 bytes
 .../debug-typesystem.xml                           |   0
 .../casWithoutTextButWithAnnotations/debug.xmi     |   9 ++
 .../{casWithTextAndAnnotation => emptyCas}/cas.bin | Bin 2788 -> 2656 bytes
 .../ser-ref/emptyCas}/debug-typesystem.xml         |   0
 .../ser-ref/emptyCas/debug.xmi                     |   3 +
 .../casWithEmojiUnicodeTextAndAnnotations/cas.xcas |  13 +++
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  15 +++
 .../casWithLeftToRightTextAndAnnotations/cas.xcas  |   6 ++
 .../debug-typesystem.xml                           |   0
 .../casWithLeftToRightTextAndAnnotations/debug.xmi |   8 ++
 .../ser-ref/casWithTextAndAnnotation/cas.xcas      |   5 -
 .../ser-ref/casWithTextAndAnnotations/cas.xcas     |   8 ++
 .../debug-typesystem.xml                           |   0
 .../ser-ref/casWithTextAndAnnotations/debug.xmi    |  10 ++
 .../cas.xcas                                       |   8 ++
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  10 ++
 .../casWithoutTextButWithAnnotations/cas.xcas      |   7 ++
 .../debug-typesystem.xml                           |   0
 .../casWithoutTextButWithAnnotations/debug.xmi     |   9 ++
 .../ser-ref/emptyCas/cas.xcas                      |   1 +
 .../ser-ref/emptyCas}/debug-typesystem.xml         |   0
 .../ser-ref/emptyCas/debug.xmi                     |   3 +
 .../casWithEmojiUnicodeTextAndAnnotations/data.xmi |  15 +++
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  15 +++
 .../casWithLeftToRightTextAndAnnotations/data.xmi  |   8 ++
 .../debug-typesystem.xml                           |   0
 .../casWithLeftToRightTextAndAnnotations/debug.xmi |   8 ++
 .../ser-ref/casWithTextAndAnnotation/data.xmi      |   7 --
 .../ser-ref/casWithTextAndAnnotations/data.xmi     |  10 ++
 .../debug-typesystem.xml                           |   0
 .../ser-ref/casWithTextAndAnnotations/debug.xmi    |  10 ++
 .../data.xmi                                       |  10 ++
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  10 ++
 .../casWithoutTextButWithAnnotations/data.xmi      |   9 ++
 .../debug-typesystem.xml                           |   0
 .../casWithoutTextButWithAnnotations/debug.xmi     |   9 ++
 .../ser-ref/emptyCas/data.xmi                      |   3 +
 .../debug-typesystem.xml                           |   0
 .../ser-ref/emptyCas/debug.xmi                     |   3 +
 .../casWithEmojiUnicodeTextAndAnnotations/data.xmi |  15 +++
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  15 +++
 .../casWithLeftToRightTextAndAnnotations/data.xmi  |   8 ++
 .../debug-typesystem.xml                           |   0
 .../casWithLeftToRightTextAndAnnotations/debug.xmi |   8 ++
 .../ser-ref/casWithText}/debug-typesystem.xml      |   0
 .../ser-ref/casWithText}/debug.xmi                 |   3 +-
 .../casWithTextAndAnnotation/debug-typesystem.xml  |   0
 .../ser-ref/casWithTextAndAnnotation/debug.xmi     |   0
 .../ser-ref/casWithTextAndAnnotations/data.xmi     |  10 ++
 .../debug-typesystem.xml                           |   0
 .../ser-ref/casWithTextAndAnnotations/debug.xmi    |  10 ++
 .../data.xmi                                       |  10 ++
 .../debug-typesystem.xml                           |   0
 .../debug.xmi                                      |  10 ++
 .../casWithoutTextButWithAnnotations/data.xmi      |   9 ++
 .../debug-typesystem.xml                           |   0
 .../casWithoutTextButWithAnnotations/debug.xmi     |   9 ++
 .../ser-ref/emptyCas/data.xmi                      |   3 +
 .../ser-ref/emptyCas}/debug-typesystem.xml         |   0
 .../ser-ref/emptyCas/debug.xmi                     |   3 +
 150 files changed, 706 insertions(+), 45 deletions(-)