summaryrefslogtreecommitdiffstats
path: root/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-json-glib.log
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-json-glib.log')
-rw-r--r--runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-json-glib.log664
1 files changed, 332 insertions, 332 deletions
diff --git a/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-json-glib.log b/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-json-glib.log
index 6aae1447e22..dfdc197af1a 100644
--- a/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-json-glib.log
+++ b/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-json-glib.log
@@ -1,20 +1,261 @@
START: ptest-runner
-2024-06-04T21:14
-Running test: json-glib-1.0/serialize-simple.test
+2024-06-06T02:27
+Running test: json-glib-1.0/generator.test
TAP version 13
-# random seed: R02Sbb29573b7afd887ad1c44ee1dea29bd9
-1..1
-# Start of serialize tests
-# TestObject: {
-# "bar" : true,
-# "baz" : "Test"
+# random seed: R02Sa38ffac48a4aca9e46eea7b9356632d4
+1..16
+# Start of generator tests
+ok 1 /generator/empty-array
+ok 2 /generator/empty-object
+# checking simple array '[true,false,null,42,"foo"]' (expected: '[true,false,null,42,"foo"]')
+ok 3 /generator/simple-array
+ok 4 /generator/nested-array
+# checking simple object '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}' (expected: '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}')
+ok 5 /generator/simple-object
+# checking nested object '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}' (expected: '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}')
+ok 6 /generator/nested-object
+# test_decimal_separator: value: '3.14' - string: '3.1400000000000001'
+# test_decimal_separator: value: '3.14' - string: '3.1400000000000001'
+# test_decimal_separator: value: '3.14' - string: '3.1400000000000001'
+# test_decimal_separator: value: '3.14' - string: '3.1400000000000001'
+ok 7 /generator/decimal-separator
+ok 8 /generator/double-stays-double
+# test_double_valid: value: '0.00' - string: '1e-08'
+ok 9 /generator/double-valid
+# checking pretty printing: [] expected: []
+# checking pretty printing: {} expected: {}
+# checking pretty printing: [
+# true,
+# false,
+# null,
+# "hello"
+# ] expected: [
+# true,
+# false,
+# null,
+# "hello"
+# ]
+# checking pretty printing: {
+# "foo" : 42,
+# "bar" : true,
+# "baz" : null
+# } expected: {
+# "foo" : 42,
+# "bar" : true,
+# "baz" : null
# }
-ok 1 /serialize/gobject
-# End of serialize tests
-PASS: json-glib-1.0/serialize-simple.test
+ok 10 /generator/pretty
+# Start of string tests
+ok 11 /generator/string/abc
+ok 12 /generator/string/a\177xc
+ok 13 /generator/string/a\033xc
+ok 14 /generator/string/a\nxc
+ok 15 /generator/string/a\\xc
+ok 16 /generator/string/Barney B\303\244r
+# End of string tests
+# End of generator tests
+PASS: json-glib-1.0/generator.test
+Running test: json-glib-1.0/array.test
+TAP version 13
+# random seed: R02Sdc400710e535c5c2e9771c254f799fb0
+1..4
+# Start of array tests
+ok 1 /array/empty-array
+ok 2 /array/add-element
+ok 3 /array/remove-element
+ok 4 /array/foreach-element
+# End of array tests
+PASS: json-glib-1.0/array.test
+Running test: json-glib-1.0/parser.test
+TAP version 13
+# random seed: R02Sa9e4d83b8b60e811a0e5151d59bfb836
+1..15
+# Start of parser tests
+ok 1 /parser/empty-string
+# Checking root node type 'NULL'...
+# Checking root node type 'Integer'...
+# Checking root node type 'Boolean'...
+# Checking root node type 'String'...
+# Checking root node type 'Floating Point'...
+# Checking root node type 'Integer'...
+# Checking root node type 'Floating Point'...
+ok 2 /parser/base-value
+ok 3 /parser/empty-array
+# Parsing: '[ true ]'
+# checking element 0 is of the desired type gboolean...
+# Parsing: '[ true, false, null ]'
+# checking element 2 is of the desired type (null)...
+# Parsing: '[ 1, 2, 3.14, "test" ]'
+# checking element 3 is of the desired type gchararray...
+ok 4 /parser/simple-array
+ok 5 /parser/nested-array
+ok 6 /parser/empty-object
+# checking root node is an object...
+# checking object is of the desired size '1'...
+# checking member 'test' exists and is of the desired type 'gint64'...
+# checking root node is an object...
+# checking object is of the desired size '2'...
+# checking member 'name' exists and is of the desired type 'gchararray'...
+# checking root node is an object...
+# checking object is of the desired size '2'...
+# checking member 'baz' exists and is of the desired type '(null)'...
+# checking root node is an object...
+# checking object is of the desired size '1'...
+# checking member 'channel' exists and is of the desired type 'gchararray'...
+# checking root node is an object...
+# checking object is of the desired size '2'...
+# checking member 'valign' exists and is of the desired type 'gdouble'...
+# checking root node is an object...
+# checking object is of the desired size '1'...
+# checking member '' exists and is of the desired type 'gchararray'...
+ok 7 /parser/simple-object
+# checking root node is an object...
+# checking object is not empty...
+# checking root node is an object...
+# checking object is not empty...
+ok 8 /parser/nested-object
+# checking variable 'foo' is assigned...
+# checking for a root of the desired type...
+# checking variable 'bar' is assigned...
+# checking for a root of the desired type...
+# checking variable 'baz' is assigned...
+# checking for a root of the desired type...
+ok 9 /parser/assignment
+# checking root node is an object...
+# checking object is not empty...
+# checking for object member 'test'...
+# checking simple string equality...
+# checking for valid UTF-8...
+ok 10 /parser/unicode-escape
+# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
+ok 11 /parser/stream-sync
+ok 12 /parser/stream-async
+ok 13 /parser/mapped
+# Start of mapped tests
+ok 14 /parser/mapped/file-error
+ok 15 /parser/mapped/json-error
+# End of mapped tests
+# End of parser tests
+PASS: json-glib-1.0/parser.test
+Running test: json-glib-1.0/serialize-full.test
+TAP version 13
+# random seed: R02S86f7ef612cede984fcd66f37cd268997
+1..1
+# Start of deserialize tests
+# *** TestObject ***
+# foo: <true>
+# bar: <true>
+# baz: <true>
+# meh: <true>
+ok 1 /deserialize/json-to-gobject
+# End of deserialize tests
+PASS: json-glib-1.0/serialize-full.test
+Running test: json-glib-1.0/path.test
+TAP version 13
+# random seed: R02Sbe2aad3032fa51f772625b31c92f363e
+1..32
+# Start of path tests
+# Start of expressions tests
+# Start of valid tests
+# * Title of the first book in the store, using objct notation. ('$.store.book[0].title')
+ok 1 /path/expressions/valid/1
+# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']')
+ok 2 /path/expressions/valid/2
+# * All the authors from the every book. ('$.store.book[*].author')
+ok 3 /path/expressions/valid/3
+# * All the authors. ('$..author')
+ok 4 /path/expressions/valid/4
+# * Everything inside the store. ('$.store.*')
+ok 5 /path/expressions/valid/5
+# * All the prices in the store. ('$.store..price')
+ok 6 /path/expressions/valid/6
+# * The third book. ('$..book[2]')
+ok 7 /path/expressions/valid/7
+# * The last book. ('$..book[-1:]')
+ok 8 /path/expressions/valid/8
+# * The first two books. ('$..book[0,1]')
+ok 9 /path/expressions/valid/9
+# * The first two books, using a slice. ('$..book[:2]')
+ok 10 /path/expressions/valid/10
+# * All the books. ('$['store']['book'][*]')
+ok 11 /path/expressions/valid/11
+# * All the members of the bicycle object. ('$.store.bicycle.*')
+ok 12 /path/expressions/valid/12
+# * The root node. ('$')
+ok 13 /path/expressions/valid/13
+# End of valid tests
+# Start of invalid tests
+# * INVALID: invalid first character ('/')
+ok 14 /path/expressions/invalid/1
+# * INVALID: Invalid character following root ('$ponies')
+ok 15 /path/expressions/invalid/2
+# * INVALID: missing member name or wildcard after dot ('$.store.')
+ok 16 /path/expressions/invalid/3
+# * INVALID: Malformed slice (missing step) ('$.store.book[0:1:]')
+ok 17 /path/expressions/invalid/4
+# * INVALID: Malformed set ('$.store.book[0,1~2]')
+ok 18 /path/expressions/invalid/5
+# * INVALID: Malformed array notation ('${'store'}')
+ok 19 /path/expressions/invalid/6
+# * INVALID: Malformed slice (invalid separator) ('$.store.book[0~2]')
+ok 20 /path/expressions/invalid/7
+# End of invalid tests
+# End of expressions tests
+# Start of match tests
+# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') =>
+# - result: ["Sayings of the Century"]
+# - expected: ["Sayings of the Century"]
+ok 21 /path/match/1
+# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') =>
+# - result: ["Sayings of the Century"]
+# - expected: ["Sayings of the Century"]
+ok 22 /path/match/2
+# * All the authors from the every book. ('$.store.book[*].author') =>
+# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
+# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
+ok 23 /path/match/3
+# * All the authors. ('$..author') =>
+# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
+# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
+ok 24 /path/match/4
+# * All the prices in the store. ('$.store..price') =>
+# - result: ["8.95","12.99","8.99","22.99","19.95"]
+# - expected: ["8.95","12.99","8.99","22.99","19.95"]
+ok 25 /path/match/5
+# * The third book. ('$..book[2]') =>
+# - result: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}]
+# - expected: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}]
+ok 26 /path/match/6
+# * The last book. ('$..book[-1:]') =>
+# - result: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}]
+# - expected: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}]
+ok 27 /path/match/7
+# * The first two books. ('$..book[0,1]') =>
+# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}]
+# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}]
+ok 28 /path/match/8
+# * The first two books, using a slice. ('$..book[:2]') =>
+# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}]
+# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}]
+ok 29 /path/match/9
+# * All the books. ('$['store']['book'][*]') =>
+# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}]
+# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}]
+ok 30 /path/match/10
+# * All the members of the bicycle object. ('$.store.bicycle.*') =>
+# - result: ["red","19.95"]
+# - expected: ["red","19.95"]
+ok 31 /path/match/11
+# * The root node. ('$') =>
+# - result: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}]
+# - expected: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}]
+ok 32 /path/match/12
+# End of match tests
+# End of path tests
+PASS: json-glib-1.0/path.test
Running test: json-glib-1.0/gvariant.test
TAP version 13
-# random seed: R02Sd67c82d37767a08b950ea2337520b611
+# random seed: R02Se9744f6562114e87fcdd9cfa183d31a5
1..89
# Start of gvariant tests
# Start of to-json tests
@@ -152,171 +393,9 @@ ok 89 /gvariant/from-json/variant/variant/array
# End of from-json tests
# End of gvariant tests
PASS: json-glib-1.0/gvariant.test
-Running test: json-glib-1.0/generator.test
-TAP version 13
-# random seed: R02S69df0c64ae38e3e1c5549432f8cad611
-1..16
-# Start of generator tests
-ok 1 /generator/empty-array
-ok 2 /generator/empty-object
-# checking simple array '[true,false,null,42,"foo"]' (expected: '[true,false,null,42,"foo"]')
-ok 3 /generator/simple-array
-ok 4 /generator/nested-array
-# checking simple object '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}' (expected: '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}')
-ok 5 /generator/simple-object
-# checking nested object '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}' (expected: '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}')
-ok 6 /generator/nested-object
-# test_decimal_separator: value: '3.14' - string: '3.1400000000000001'
-# test_decimal_separator: value: '3.14' - string: '3.1400000000000001'
-# test_decimal_separator: value: '3.14' - string: '3.1400000000000001'
-# test_decimal_separator: value: '3.14' - string: '3.1400000000000001'
-ok 7 /generator/decimal-separator
-ok 8 /generator/double-stays-double
-# test_double_valid: value: '0.00' - string: '1e-08'
-ok 9 /generator/double-valid
-# checking pretty printing: [] expected: []
-# checking pretty printing: {} expected: {}
-# checking pretty printing: [
-# true,
-# false,
-# null,
-# "hello"
-# ] expected: [
-# true,
-# false,
-# null,
-# "hello"
-# ]
-# checking pretty printing: {
-# "foo" : 42,
-# "bar" : true,
-# "baz" : null
-# } expected: {
-# "foo" : 42,
-# "bar" : true,
-# "baz" : null
-# }
-ok 10 /generator/pretty
-# Start of string tests
-ok 11 /generator/string/abc
-ok 12 /generator/string/a\177xc
-ok 13 /generator/string/a\033xc
-ok 14 /generator/string/a\nxc
-ok 15 /generator/string/a\\xc
-ok 16 /generator/string/Barney B\303\244r
-# End of string tests
-# End of generator tests
-PASS: json-glib-1.0/generator.test
-Running test: json-glib-1.0/parser.test
-TAP version 13
-# random seed: R02Sd0ad646970ecdd075018ac1bf3aeb31a
-1..15
-# Start of parser tests
-ok 1 /parser/empty-string
-# Checking root node type 'NULL'...
-# Checking root node type 'Integer'...
-# Checking root node type 'Boolean'...
-# Checking root node type 'String'...
-# Checking root node type 'Floating Point'...
-# Checking root node type 'Integer'...
-# Checking root node type 'Floating Point'...
-ok 2 /parser/base-value
-ok 3 /parser/empty-array
-# Parsing: '[ true ]'
-# checking element 0 is of the desired type gboolean...
-# Parsing: '[ true, false, null ]'
-# checking element 2 is of the desired type (null)...
-# Parsing: '[ 1, 2, 3.14, "test" ]'
-# checking element 3 is of the desired type gchararray...
-ok 4 /parser/simple-array
-ok 5 /parser/nested-array
-ok 6 /parser/empty-object
-# checking root node is an object...
-# checking object is of the desired size '1'...
-# checking member 'test' exists and is of the desired type 'gint64'...
-# checking root node is an object...
-# checking object is of the desired size '2'...
-# checking member 'name' exists and is of the desired type 'gchararray'...
-# checking root node is an object...
-# checking object is of the desired size '2'...
-# checking member 'baz' exists and is of the desired type '(null)'...
-# checking root node is an object...
-# checking object is of the desired size '1'...
-# checking member 'channel' exists and is of the desired type 'gchararray'...
-# checking root node is an object...
-# checking object is of the desired size '2'...
-# checking member 'valign' exists and is of the desired type 'gdouble'...
-# checking root node is an object...
-# checking object is of the desired size '1'...
-# checking member '' exists and is of the desired type 'gchararray'...
-ok 7 /parser/simple-object
-# checking root node is an object...
-# checking object is not empty...
-# checking root node is an object...
-# checking object is not empty...
-ok 8 /parser/nested-object
-# checking variable 'foo' is assigned...
-# checking for a root of the desired type...
-# checking variable 'bar' is assigned...
-# checking for a root of the desired type...
-# checking variable 'baz' is assigned...
-# checking for a root of the desired type...
-ok 9 /parser/assignment
-# checking root node is an object...
-# checking object is not empty...
-# checking for object member 'test'...
-# checking simple string equality...
-# checking for valid UTF-8...
-ok 10 /parser/unicode-escape
-# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
-ok 11 /parser/stream-sync
-ok 12 /parser/stream-async
-ok 13 /parser/mapped
-# Start of mapped tests
-ok 14 /parser/mapped/file-error
-ok 15 /parser/mapped/json-error
-# End of mapped tests
-# End of parser tests
-PASS: json-glib-1.0/parser.test
-Running test: json-glib-1.0/boxed.test
-TAP version 13
-# random seed: R02S8abe658e6191c36e67a3490d386fc9a7
-1..2
-# Start of boxed tests
-# Registering transform functions
-# Serialize: { foo: 42, bar: true }
-# TestObject: {
-# "blah" : {
-# "foo" : 42,
-# "bar" : true
-# }
-# }
-ok 1 /boxed/serialize-property
-# Deserialize: { foo: 42, bar: true }
-ok 2 /boxed/deserialize-property
-# End of boxed tests
-PASS: json-glib-1.0/boxed.test
-Running test: json-glib-1.0/serialize-complex.test
-TAP version 13
-# random seed: R02Sf4e220ae57a37e7f3b8d2ea45c4cd500
-1..1
-# Start of serialize tests
-# TestObject: {
-# "foo" : 47,
-# "bar" : false,
-# "baz" : "Hello, World!",
-# "blah" : {
-# "foo" : 42,
-# "bar" : true
-# },
-# "meh" : 0.5
-# }
-ok 1 /serialize/gobject-boxed
-# End of serialize tests
-PASS: json-glib-1.0/serialize-complex.test
Running test: json-glib-1.0/node.test
TAP version 13
-# random seed: R02S24da7f3642ccb527d2a43e299eafe298
+# random seed: R02Sea3d6e11940244ef10c24d32cdac7883
1..28
# Start of nodes tests
ok 1 /nodes/gvalue
@@ -365,9 +444,73 @@ ok 28 /nodes/immutable/parent
# End of immutable tests
# End of nodes tests
PASS: json-glib-1.0/node.test
+Running test: json-glib-1.0/serialize-complex.test
+TAP version 13
+# random seed: R02S094748b2ab86bf639a25dd973997faff
+1..1
+# Start of serialize tests
+# TestObject: {
+# "foo" : 47,
+# "bar" : false,
+# "baz" : "Hello, World!",
+# "blah" : {
+# "foo" : 42,
+# "bar" : true
+# },
+# "meh" : 0.5
+# }
+ok 1 /serialize/gobject-boxed
+# End of serialize tests
+PASS: json-glib-1.0/serialize-complex.test
+Running test: json-glib-1.0/object.test
+TAP version 13
+# random seed: R02S5ce7a54dd07a70242405e95dcd9c3516
+1..9
+# Start of object tests
+ok 1 /object/empty-object
+ok 2 /object/add-member
+ok 3 /object/set-member
+ok 4 /object/get-member-default
+ok 5 /object/remove-member
+ok 6 /object/foreach-member
+ok 7 /object/iter
+ok 8 /object/ordered-iter
+ok 9 /object/empty-member
+# End of object tests
+PASS: json-glib-1.0/object.test
+Running test: json-glib-1.0/boxed.test
+TAP version 13
+# random seed: R02S5ad47fba15b06e575bd09cf625855987
+1..2
+# Start of boxed tests
+# Registering transform functions
+# Serialize: { foo: 42, bar: true }
+# TestObject: {
+# "blah" : {
+# "foo" : 42,
+# "bar" : true
+# }
+# }
+ok 1 /boxed/serialize-property
+# Deserialize: { foo: 42, bar: true }
+ok 2 /boxed/deserialize-property
+# End of boxed tests
+PASS: json-glib-1.0/boxed.test
+Running test: json-glib-1.0/builder.test
+TAP version 13
+# random seed: R02S3f7ddc45d80e986142a800924e9ae098
+1..3
+# Start of builder tests
+# Builder complex: '{"depth1":[1,{"depth2":[3,[null,false],"after array"],"value2":true}],"object1":{},"value3":null,"value4":42,"":54}'
+ok 1 /builder/complex
+# Builder empty: '{"a":{}}'
+ok 2 /builder/empty
+ok 3 /builder/reset
+# End of builder tests
+PASS: json-glib-1.0/builder.test
Running test: json-glib-1.0/invalid.test
TAP version 13
-# random seed: R02Sde284989dbffe28767599f6f1c9e267f
+# random seed: R02S795d313619a1707e8d85c6492735fa7d
1..29
# Start of invalid tests
# Start of json tests
@@ -451,128 +594,21 @@ ok 29 /invalid/json/trailing-comma-2
# End of json tests
# End of invalid tests
PASS: json-glib-1.0/invalid.test
-Running test: json-glib-1.0/path.test
-TAP version 13
-# random seed: R02Sd597a456dcbd921cea194761628b41a1
-1..32
-# Start of path tests
-# Start of expressions tests
-# Start of valid tests
-# * Title of the first book in the store, using objct notation. ('$.store.book[0].title')
-ok 1 /path/expressions/valid/1
-# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']')
-ok 2 /path/expressions/valid/2
-# * All the authors from the every book. ('$.store.book[*].author')
-ok 3 /path/expressions/valid/3
-# * All the authors. ('$..author')
-ok 4 /path/expressions/valid/4
-# * Everything inside the store. ('$.store.*')
-ok 5 /path/expressions/valid/5
-# * All the prices in the store. ('$.store..price')
-ok 6 /path/expressions/valid/6
-# * The third book. ('$..book[2]')
-ok 7 /path/expressions/valid/7
-# * The last book. ('$..book[-1:]')
-ok 8 /path/expressions/valid/8
-# * The first two books. ('$..book[0,1]')
-ok 9 /path/expressions/valid/9
-# * The first two books, using a slice. ('$..book[:2]')
-ok 10 /path/expressions/valid/10
-# * All the books. ('$['store']['book'][*]')
-ok 11 /path/expressions/valid/11
-# * All the members of the bicycle object. ('$.store.bicycle.*')
-ok 12 /path/expressions/valid/12
-# * The root node. ('$')
-ok 13 /path/expressions/valid/13
-# End of valid tests
-# Start of invalid tests
-# * INVALID: invalid first character ('/')
-ok 14 /path/expressions/invalid/1
-# * INVALID: Invalid character following root ('$ponies')
-ok 15 /path/expressions/invalid/2
-# * INVALID: missing member name or wildcard after dot ('$.store.')
-ok 16 /path/expressions/invalid/3
-# * INVALID: Malformed slice (missing step) ('$.store.book[0:1:]')
-ok 17 /path/expressions/invalid/4
-# * INVALID: Malformed set ('$.store.book[0,1~2]')
-ok 18 /path/expressions/invalid/5
-# * INVALID: Malformed array notation ('${'store'}')
-ok 19 /path/expressions/invalid/6
-# * INVALID: Malformed slice (invalid separator) ('$.store.book[0~2]')
-ok 20 /path/expressions/invalid/7
-# End of invalid tests
-# End of expressions tests
-# Start of match tests
-# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') =>
-# - result: ["Sayings of the Century"]
-# - expected: ["Sayings of the Century"]
-ok 21 /path/match/1
-# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') =>
-# - result: ["Sayings of the Century"]
-# - expected: ["Sayings of the Century"]
-ok 22 /path/match/2
-# * All the authors from the every book. ('$.store.book[*].author') =>
-# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
-# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
-ok 23 /path/match/3
-# * All the authors. ('$..author') =>
-# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
-# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
-ok 24 /path/match/4
-# * All the prices in the store. ('$.store..price') =>
-# - result: ["8.95","12.99","8.99","22.99","19.95"]
-# - expected: ["8.95","12.99","8.99","22.99","19.95"]
-ok 25 /path/match/5
-# * The third book. ('$..book[2]') =>
-# - result: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}]
-# - expected: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}]
-ok 26 /path/match/6
-# * The last book. ('$..book[-1:]') =>
-# - result: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}]
-# - expected: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}]
-ok 27 /path/match/7
-# * The first two books. ('$..book[0,1]') =>
-# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}]
-# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}]
-ok 28 /path/match/8
-# * The first two books, using a slice. ('$..book[:2]') =>
-# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}]
-# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}]
-ok 29 /path/match/9
-# * All the books. ('$['store']['book'][*]') =>
-# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}]
-# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}]
-ok 30 /path/match/10
-# * All the members of the bicycle object. ('$.store.bicycle.*') =>
-# - result: ["red","19.95"]
-# - expected: ["red","19.95"]
-ok 31 /path/match/11
-# * The root node. ('$') =>
-# - result: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}]
-# - expected: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}]
-ok 32 /path/match/12
-# End of match tests
-# End of path tests
-PASS: json-glib-1.0/path.test
-Running test: json-glib-1.0/object.test
+Running test: json-glib-1.0/serialize-simple.test
TAP version 13
-# random seed: R02S9f0694af36215818c51818f12989c6f6
-1..9
-# Start of object tests
-ok 1 /object/empty-object
-ok 2 /object/add-member
-ok 3 /object/set-member
-ok 4 /object/get-member-default
-ok 5 /object/remove-member
-ok 6 /object/foreach-member
-ok 7 /object/iter
-ok 8 /object/ordered-iter
-ok 9 /object/empty-member
-# End of object tests
-PASS: json-glib-1.0/object.test
+# random seed: R02Seff9639abd580267493ff7bf83b532a0
+1..1
+# Start of serialize tests
+# TestObject: {
+# "bar" : true,
+# "baz" : "Test"
+# }
+ok 1 /serialize/gobject
+# End of serialize tests
+PASS: json-glib-1.0/serialize-simple.test
Running test: json-glib-1.0/reader.test
TAP version 13
-# random seed: R02S6523ef7e55d365b761429e2fb6e37c09
+# random seed: R02S18c3156e7ae8f1df8167a0cc6e05a0c0
1..6
# Start of reader tests
ok 1 /reader/base-array
@@ -584,41 +620,5 @@ ok 5 /reader/bom
ok 6 /reader/currrent-node
# End of reader tests
PASS: json-glib-1.0/reader.test
-Running test: json-glib-1.0/serialize-full.test
-TAP version 13
-# random seed: R02S7930bbb4590a825878eb92cb3212d639
-1..1
-# Start of deserialize tests
-# *** TestObject ***
-# foo: <true>
-# bar: <true>
-# baz: <true>
-# meh: <true>
-ok 1 /deserialize/json-to-gobject
-# End of deserialize tests
-PASS: json-glib-1.0/serialize-full.test
-Running test: json-glib-1.0/builder.test
-TAP version 13
-# random seed: R02Sea46c92b72cdc54394b8f6747de32826
-1..3
-# Start of builder tests
-# Builder complex: '{"depth1":[1,{"depth2":[3,[null,false],"after array"],"value2":true}],"object1":{},"value3":null,"value4":42,"":54}'
-ok 1 /builder/complex
-# Builder empty: '{"a":{}}'
-ok 2 /builder/empty
-ok 3 /builder/reset
-# End of builder tests
-PASS: json-glib-1.0/builder.test
-Running test: json-glib-1.0/array.test
-TAP version 13
-# random seed: R02S1160426d362ef422380f5efb2220f091
-1..4
-# Start of array tests
-ok 1 /array/empty-array
-ok 2 /array/add-element
-ok 3 /array/remove-element
-ok 4 /array/foreach-element
-# End of array tests
-PASS: json-glib-1.0/array.test
-SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5248
+SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=5120
DURATION: 0