fix reader/writer options according to docs
[awesomized/ext-ion] / tests / Reader / Options.phpt
index 10968da02a271ba0a4954e57950c93edf9cee7a7..b3d9c36e1061be189d50aa866930d2039e2ed618 100644 (file)
@@ -20,7 +20,7 @@ var_dump($o, clone $o);
 DONE
 --EXPECTF--
 TEST
-object(ion\Reader\Options)#%d (13) {
+object(ion\Reader\Options)#%d (9) {
   ["catalog"]=>
   NULL
   ["decimalContext"]=>
@@ -29,26 +29,18 @@ object(ion\Reader\Options)#%d (13) {
   NULL
   ["returnSystemValues"]=>
   bool(false)
-  ["newLine"]=>
-  int(10)
   ["maxContainerDepth"]=>
   int(10)
   ["maxAnnotations"]=>
   int(10)
-  ["maxAnnotationBuffered"]=>
-  int(512)
-  ["symbolThreshold"]=>
-  int(16384)
-  ["userValueThreshold"]=>
+  ["annotationBufferSize"]=>
   int(16384)
-  ["chunkThreshold"]=>
+  ["tempBufferSize"]=>
   int(16384)
-  ["allocationPageSize"]=>
-  int(65536)
   ["skipCharacterValidation"]=>
   bool(false)
 }
-object(ion\Reader\Options)#%d (13) {
+object(ion\Reader\Options)#%d (9) {
   ["catalog"]=>
   NULL
   ["decimalContext"]=>
@@ -57,26 +49,18 @@ object(ion\Reader\Options)#%d (13) {
   NULL
   ["returnSystemValues"]=>
   bool(false)
-  ["newLine"]=>
-  int(10)
   ["maxContainerDepth"]=>
   int(10)
   ["maxAnnotations"]=>
   int(10)
-  ["maxAnnotationBuffered"]=>
-  int(512)
-  ["symbolThreshold"]=>
-  int(16384)
-  ["userValueThreshold"]=>
+  ["annotationBufferSize"]=>
   int(16384)
-  ["chunkThreshold"]=>
+  ["tempBufferSize"]=>
   int(16384)
-  ["allocationPageSize"]=>
-  int(65536)
   ["skipCharacterValidation"]=>
   bool(false)
 }
-object(ion\Reader\Options)#%d (13) {
+object(ion\Reader\Options)#%d (9) {
   ["catalog"]=>
   object(ion\Catalog)#%d (1) {
     ["symbolTables":"ion\Catalog":private]=>
@@ -106,26 +90,18 @@ object(ion\Reader\Options)#%d (13) {
   }
   ["returnSystemValues"]=>
   bool(true)
-  ["newLine"]=>
-  int(10)
   ["maxContainerDepth"]=>
   int(10)
   ["maxAnnotations"]=>
   int(10)
-  ["maxAnnotationBuffered"]=>
-  int(512)
-  ["symbolThreshold"]=>
-  int(16384)
-  ["userValueThreshold"]=>
+  ["annotationBufferSize"]=>
   int(16384)
-  ["chunkThreshold"]=>
+  ["tempBufferSize"]=>
   int(16384)
-  ["allocationPageSize"]=>
-  int(65536)
   ["skipCharacterValidation"]=>
   bool(true)
 }
-object(ion\Reader\Options)#%d (13) {
+object(ion\Reader\Options)#%d (9) {
   ["catalog"]=>
   object(ion\Catalog)#%d (1) {
     ["symbolTables":"ion\Catalog":private]=>
@@ -155,22 +131,14 @@ object(ion\Reader\Options)#%d (13) {
   }
   ["returnSystemValues"]=>
   bool(true)
-  ["newLine"]=>
-  int(10)
   ["maxContainerDepth"]=>
   int(10)
   ["maxAnnotations"]=>
   int(10)
-  ["maxAnnotationBuffered"]=>
-  int(512)
-  ["symbolThreshold"]=>
-  int(16384)
-  ["userValueThreshold"]=>
+  ["annotationBufferSize"]=>
   int(16384)
-  ["chunkThreshold"]=>
+  ["tempBufferSize"]=>
   int(16384)
-  ["allocationPageSize"]=>
-  int(65536)
   ["skipCharacterValidation"]=>
   bool(true)
 }