You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2014/09/08 23:15:14 UTC

svn commit: r1623585 - in /uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected: allValuesNoIDNoTypes.txt allValuesNoIDs.txt allValuesNoTypes.txt

Author: schor
Date: Mon Sep  8 21:15:13 2014
New Revision: 1623585

URL: http://svn.apache.org/r1623585
Log:
[UIMA-3969] update the tests.

Added:
    uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDNoTypes.txt
    uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDs.txt
    uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoTypes.txt

Added: uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDNoTypes.txt
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDNoTypes.txt?rev=1623585&view=auto
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDNoTypes.txt (added)
+++ uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDNoTypes.txt Mon Sep  8 21:15:13 2014
@@ -0,0 +1,31 @@
+{"@context" : {
+    "AllTypes" : {
+      "@id" : "org.apache.uima.test.AllTypes", 
+      "@featureRefs" : ["sofa",  "aFS",  "aArrayMrBoolean",  "aArrayMrByte",  "aArrayMrShort",  "aArrayMrString",  "aListMrInteger",  "aListMrString",  "aListFs",  "aListMrFs" ], 
+      "@superTypes" : ["uima.tcas.Annotation",  "uima.cas.AnnotationBase",  "uima.cas.TOP" ] }, 
+    "BooleanArray" : {
+      "@id" : "uima.cas.BooleanArray", 
+      "@superTypes" : ["uima.cas.FSArray",  "uima.cas.ArrayBase",  "uima.cas.TOP" ] }, 
+    "ByteArray" : {
+      "@id" : "uima.cas.ByteArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] }, 
+    "ShortArray" : {
+      "@id" : "uima.cas.ShortArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] }, 
+    "Sofa" : {
+      "@id" : "uima.cas.Sofa", 
+      "@featureRefs" : ["sofaArray" ], 
+      "@superTypes" : ["uima.cas.TOP" ] }, 
+    "StringArray" : {
+      "@id" : "uima.cas.StringArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] } }, 
+  "@cas_feature_structures" : {
+    "28" : {"sofaNum" : 1,  "sofaID" : "_InitialView" }, 
+    "1" : {"sofa" : 28,  "begin" : 0,  "end" : 0,  "aBoolean" : true,  "aByte" : -117,  "aShort" : -112,  "aInteger" : 0,  "aLong" : 1234,  "aFloat" : 1.3,  "aDouble" : 2.6,  "aString" : "some \"String\"",  "aFS" : 35,  "aArrayBoolean" : [false ],  "aArrayMrBoolean" : 74,  "aArrayMrByte" : 77,  "aArrayByte" : ["AAA=" ],  "aArrayShort" : [ ],  "aArrayMrShort" : 80,  "aArrayString" : [null ],  "aArrayMrString" : 83,  "aListInteger" : [ ],  "aListString" : ["testStr" ],  "aListFs" : [0 ] }, 
+    "35" : {"sofa" : 28,  "begin" : 0,  "end" : 0,  "aBoolean" : false,  "aByte" : 0,  "aShort" : 0,  "aInteger" : 0,  "aLong" : 0,  "aFloat" : 0.0,  "aDouble" : 0.0 }, 
+    "74" : {"@collection" : [false ] }, 
+    "77" : {"@collection" : ["AAA=" ] }, 
+    "80" : {"@collection" : [ ] }, 
+    "83" : {"@collection" : [null ] } }, 
+  "@cas_views" : {
+    "28" : [1 ] } }
\ No newline at end of file

Added: uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDs.txt
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDs.txt?rev=1623585&view=auto
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDs.txt (added)
+++ uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoIDs.txt Mon Sep  8 21:15:13 2014
@@ -0,0 +1,31 @@
+{"@context" : {
+    "AllTypes" : {
+      "@id" : "org.apache.uima.test.AllTypes", 
+      "@featureRefs" : ["sofa",  "aFS",  "aArrayMrBoolean",  "aArrayMrByte",  "aArrayMrShort",  "aArrayMrString",  "aListMrInteger",  "aListMrString",  "aListFs",  "aListMrFs" ], 
+      "@superTypes" : ["uima.tcas.Annotation",  "uima.cas.AnnotationBase",  "uima.cas.TOP" ] }, 
+    "BooleanArray" : {
+      "@id" : "uima.cas.BooleanArray", 
+      "@superTypes" : ["uima.cas.FSArray",  "uima.cas.ArrayBase",  "uima.cas.TOP" ] }, 
+    "ByteArray" : {
+      "@id" : "uima.cas.ByteArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] }, 
+    "ShortArray" : {
+      "@id" : "uima.cas.ShortArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] }, 
+    "Sofa" : {
+      "@id" : "uima.cas.Sofa", 
+      "@featureRefs" : ["sofaArray" ], 
+      "@superTypes" : ["uima.cas.TOP" ] }, 
+    "StringArray" : {
+      "@id" : "uima.cas.StringArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] } }, 
+  "@cas_feature_structures" : {
+    "28" : {"@type" : "Sofa",  "sofaNum" : 1,  "sofaID" : "_InitialView" }, 
+    "1" : {"@type" : "AllTypes",  "sofa" : 28,  "begin" : 0,  "end" : 0,  "aBoolean" : true,  "aByte" : -117,  "aShort" : -112,  "aInteger" : 0,  "aLong" : 1234,  "aFloat" : 1.3,  "aDouble" : 2.6,  "aString" : "some \"String\"",  "aFS" : 35,  "aArrayBoolean" : [false ],  "aArrayMrBoolean" : 74,  "aArrayMrByte" : 77,  "aArrayByte" : ["AAA=" ],  "aArrayShort" : [ ],  "aArrayMrShort" : 80,  "aArrayString" : [null ],  "aArrayMrString" : 83,  "aListInteger" : [ ],  "aListString" : ["testStr" ],  "aListFs" : [0 ] }, 
+    "35" : {"@type" : "AllTypes",  "sofa" : 28,  "begin" : 0,  "end" : 0,  "aBoolean" : false,  "aByte" : 0,  "aShort" : 0,  "aInteger" : 0,  "aLong" : 0,  "aFloat" : 0.0,  "aDouble" : 0.0 }, 
+    "74" : {"@type" : "BooleanArray",  "@collection" : [false ] }, 
+    "77" : {"@type" : "ByteArray",  "@collection" : ["AAA=" ] }, 
+    "80" : {"@type" : "ShortArray",  "@collection" : [ ] }, 
+    "83" : {"@type" : "StringArray",  "@collection" : [null ] } }, 
+  "@cas_views" : {
+    "28" : [1 ] } }
\ No newline at end of file

Added: uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoTypes.txt
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoTypes.txt?rev=1623585&view=auto
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoTypes.txt (added)
+++ uima/uimaj/trunk/uimaj-core/src/test/resources/CasSerialization/expected/allValuesNoTypes.txt Mon Sep  8 21:15:13 2014
@@ -0,0 +1,31 @@
+{"@context" : {
+    "AllTypes" : {
+      "@id" : "org.apache.uima.test.AllTypes", 
+      "@featureRefs" : ["sofa",  "aFS",  "aArrayMrBoolean",  "aArrayMrByte",  "aArrayMrShort",  "aArrayMrString",  "aListMrInteger",  "aListMrString",  "aListFs",  "aListMrFs" ], 
+      "@superTypes" : ["uima.tcas.Annotation",  "uima.cas.AnnotationBase",  "uima.cas.TOP" ] }, 
+    "BooleanArray" : {
+      "@id" : "uima.cas.BooleanArray", 
+      "@superTypes" : ["uima.cas.FSArray",  "uima.cas.ArrayBase",  "uima.cas.TOP" ] }, 
+    "ByteArray" : {
+      "@id" : "uima.cas.ByteArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] }, 
+    "ShortArray" : {
+      "@id" : "uima.cas.ShortArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] }, 
+    "Sofa" : {
+      "@id" : "uima.cas.Sofa", 
+      "@featureRefs" : ["sofaArray" ], 
+      "@superTypes" : ["uima.cas.TOP" ] }, 
+    "StringArray" : {
+      "@id" : "uima.cas.StringArray", 
+      "@superTypes" : ["uima.cas.FSArray" ] } }, 
+  "@cas_feature_structures" : {
+    "28" : {"@id" : 28,  "sofaNum" : 1,  "sofaID" : "_InitialView" }, 
+    "1" : {"@id" : 1,  "sofa" : 28,  "begin" : 0,  "end" : 0,  "aBoolean" : true,  "aByte" : -117,  "aShort" : -112,  "aInteger" : 0,  "aLong" : 1234,  "aFloat" : 1.3,  "aDouble" : 2.6,  "aString" : "some \"String\"",  "aFS" : 35,  "aArrayBoolean" : [false ],  "aArrayMrBoolean" : 74,  "aArrayMrByte" : 77,  "aArrayByte" : ["AAA=" ],  "aArrayShort" : [ ],  "aArrayMrShort" : 80,  "aArrayString" : [null ],  "aArrayMrString" : 83,  "aListInteger" : [ ],  "aListString" : ["testStr" ],  "aListFs" : [0 ] }, 
+    "35" : {"@id" : 35,  "sofa" : 28,  "begin" : 0,  "end" : 0,  "aBoolean" : false,  "aByte" : 0,  "aShort" : 0,  "aInteger" : 0,  "aLong" : 0,  "aFloat" : 0.0,  "aDouble" : 0.0 }, 
+    "74" : {"@id" : 74,  "@collection" : [false ] }, 
+    "77" : {"@id" : 77,  "@collection" : ["AAA=" ] }, 
+    "80" : {"@id" : 80,  "@collection" : [ ] }, 
+    "83" : {"@id" : 83,  "@collection" : [null ] } }, 
+  "@cas_views" : {
+    "28" : [1 ] } }
\ No newline at end of file