diff options
Diffstat (limited to 'runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-raw.log')
-rw-r--r-- | runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-raw.log | 830 |
1 files changed, 415 insertions, 415 deletions
diff --git a/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-raw.log b/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-raw.log index bdcf5a14f82..69e8f09f337 100644 --- a/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-raw.log +++ b/runtime/poky/qemux86-64/core-image-ptest-json-glib/ptest-raw.log @@ -1,9 +1,186 @@ START: ptest-runner -2024-02-07T07:53 +2024-02-08T03:40 BEGIN: /usr/lib/json-glib/ptest +Running test: json-glib-1.0/serialize-full.test +TAP version 13 +# random seed: R02S73604212c1ab58463da9eac2c97f2479 +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/boxed.test +TAP version 13 +# random seed: R02S9c136354759e7abacd6a5480f5d8f84e +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-simple.test +TAP version 13 +# random seed: R02S7710c6aa6b08714b2808dd25c56c5dc2 +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/generator.test +TAP version 13 +# random seed: R02Sec41e944c226a31e41a10c06bbfb66c3 +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/builder.test +TAP version 13 +# random seed: R02S2a9a67c05845fd8fffcbe11e77be5d2f +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/object.test +TAP version 13 +# random seed: R02S5176c8fbcf717d44524ad3b5fbc3fd3c +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/node.test +TAP version 13 +# random seed: R02Sb040ee67e7c2996130b937e4754ab454 +1..28 +# Start of nodes tests +ok 1 /nodes/gvalue +# Start of init tests +ok 2 /nodes/init/int +ok 3 /nodes/init/double +ok 4 /nodes/init/boolean +ok 5 /nodes/init/string +ok 6 /nodes/init/null +ok 7 /nodes/init/reinit +# End of init tests +# Start of copy tests +ok 8 /nodes/copy/null +ok 9 /nodes/copy/value +ok 10 /nodes/copy/object +# End of copy tests +# Start of get tests +ok 11 /nodes/get/int +ok 12 /nodes/get/double +# End of get tests +# Start of gvalue tests +# Autopromotion of int to int64 +# Expecting an gint64, got a 'gint64' +# Autopromotion of float to double +# Expecting a gdouble, got a 'gdouble' +ok 13 /nodes/gvalue/autopromotion +# End of gvalue tests +# Start of seal tests +ok 14 /nodes/seal/int +ok 15 /nodes/seal/double +ok 16 /nodes/seal/boolean +ok 17 /nodes/seal/string +ok 18 /nodes/seal/null +ok 19 /nodes/seal/object +ok 20 /nodes/seal/array +# End of seal tests +# Start of immutable tests +ok 21 /nodes/immutable/int +ok 22 /nodes/immutable/double +ok 23 /nodes/immutable/boolean +ok 24 /nodes/immutable/string +ok 25 /nodes/immutable/object +ok 26 /nodes/immutable/array +ok 27 /nodes/immutable/value +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/parser.test TAP version 13 -# random seed: R02S3926665bf48cae33bbe44e541c57880a +# random seed: R02S97c246c9a267e4f16ab703973850b87e 1..15 # Start of parser tests ok 1 /parser/empty-string @@ -72,9 +249,241 @@ 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-complex.test +TAP version 13 +# random seed: R02S41c79a7fa20a2116feab6fdd5b78e2b7 +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/path.test +TAP version 13 +# random seed: R02Sa93cfa9992df96c2e626d1888eb0a3da +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/reader.test +TAP version 13 +# random seed: R02S10fefc12dd961df2209390cfa37ac50e +1..6 +# Start of reader tests +ok 1 /reader/base-array +ok 2 /reader/base-object +ok 3 /reader/level +# Bug Reference: http://bugzilla.gnome.org/show_bug.cgi?id=758580 +ok 4 /reader/null-value +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/invalid.test +TAP version 13 +# random seed: R02S56b3b964ee7bd080edec3fbfc2ee4577 +1..29 +# Start of invalid tests +# Start of json tests +# invalid data: 'rainbows'... +ok 1 /invalid/json/bareword-1 +# invalid data: '[ unicorns ]'... +ok 2 /invalid/json/bareword-2 +# invalid data: '{ "foo" : ponies }'... +ok 3 /invalid/json/bareword-3 +# invalid data: '[ 3, 2, 1, lift_off ]'... +ok 4 /invalid/json/bareword-4 +# invalid data: '{ foo : 42 }'... +ok 5 /invalid/json/bareword-5 +# invalid data: '"st"ring"'... +ok 6 /invalid/json/bareword-6 +# invalid data: '[ -false ]'... +# error: <data>:1:3: Parse error: unexpected character `-', expected number (integer) +ok 7 /invalid/json/values-1 +# invalid data: '["\uD800\uD800"]'... +# error: <data>:1:15: Parse error: scanner: malformed surrogate pair +ok 8 /invalid/json/values-2 +# invalid data: '["\uDB00\uD800"]'... +# error: <data>:1:15: Parse error: scanner: malformed surrogate pair +ok 9 /invalid/json/values-3 +# invalid data: '["\uDB00"]'... +# error: <data>:1:11: Parse error: scanner: unterminated string constant +ok 10 /invalid/json/values-4 +# invalid data: 'var foo'... +# error: <data>:1:7: Parse error: unexpected end of file, expected character `=' +ok 11 /invalid/json/assignment-1 +# invalid data: 'var foo = no'... +# error: <data>:1:12: Parse error: unexpected identifier `no', expected value +ok 12 /invalid/json/assignment-2 +# invalid data: 'var = true'... +# error: <data>:1:5: Parse error: unexpected character `=', expected identifier +ok 13 /invalid/json/assignment-3 +# invalid data: 'var blah = 42:'... +# error: <data>:1:14: Parse error: unexpected character `:', expected end of file +ok 14 /invalid/json/assignment-4 +# invalid data: 'let foo = true;'... +# error: <data>:1:3: Parse error: unexpected identifier `let', expected value +ok 15 /invalid/json/assignment-5 +# invalid data: '[ true, false'... +# error: <data>:1:13: Parse error: unexpected value `false', expected character `,' +ok 16 /invalid/json/array-1 +# invalid data: '[ true }'... +# error: <data>:1:6: Parse error: unexpected value `true', expected character `,' +ok 17 /invalid/json/array-2 +# invalid data: '[ "foo" : 42 ]'... +# error: <data>:1:7: Parse error: unexpected string constant "foo", expected character `,' +ok 18 /invalid/json/array-3 +# invalid data: '{ foo : 42 }'... +# error: <data>:1:1: Parse error: unexpected character `{', expected string constant +ok 19 /invalid/json/object-1 +# invalid data: '{ 42 : "foo" }'... +# error: <data>:1:1: Parse error: unexpected character `{', expected string constant +ok 20 /invalid/json/object-2 +# invalid data: '{ "foo", 42 }'... +# error: <data>:1:7: Parse error: unexpected string constant "foo", expected character `:' +ok 21 /invalid/json/object-3 +# invalid data: '{ "foo" : 42 ]'... +# error: <data>:1:12: Parse error: unexpected number `42', expected string constant +ok 22 /invalid/json/object-4 +# invalid data: '{ "blah" }'... +# error: <data>:1:8: Parse error: unexpected string constant "blah", expected character `:' +ok 23 /invalid/json/object-5 +# invalid data: '{ "a" : 0 "b" : 1 }'... +# error: <data>:1:9: Parse error: unexpected number `0', expected character `,' +ok 24 /invalid/json/object-6 +# invalid data: '{ null: false }'... +# error: <data>:1:1: Parse error: unexpected character `{', expected string constant +ok 25 /invalid/json/object-7 +# invalid data: '[ true false ]'... +ok 26 /invalid/json/missing-comma-1 +# invalid data: '{ "foo" : 42 "bar": null }'... +ok 27 /invalid/json/missing-comma-2 +# invalid data: '[ true, ]'... +ok 28 /invalid/json/trailing-comma-1 +# invalid data: '{ "foo" : 42, }'... +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/array.test +TAP version 13 +# random seed: R02S728d3c0944c7e96ef3bd378a902ec19a +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/gvariant.test TAP version 13 -# random seed: R02S29720ef31a0f477f03e5b0f0ec34059c +# random seed: R02S903491fcc305b69bacad15884f58be30 1..89 # Start of gvariant tests # Start of to-json tests @@ -212,418 +621,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/serialize-complex.test -TAP version 13 -# random seed: R02Sf0ec5fb1ee471973929276c476be330c -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/boxed.test -TAP version 13 -# random seed: R02S3bff81961be9ad26f3f01e6eccaa48cd -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/array.test -TAP version 13 -# random seed: R02Sc4e6dafe7023dfa046d8b1884f32d2b3 -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/object.test -TAP version 13 -# random seed: R02S0ca3d586769b28511e255fd36df4ee3b -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/serialize-full.test -TAP version 13 -# random seed: R02Scc6ed5f8e00c5ba11ec92a01644575c7 -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/serialize-simple.test -TAP version 13 -# random seed: R02S7cff38e650486119f9061d8135d5007f -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/invalid.test -TAP version 13 -# random seed: R02S23397483947ea9d3e824b2873d1f1bc3 -1..29 -# Start of invalid tests -# Start of json tests -# invalid data: 'rainbows'... -ok 1 /invalid/json/bareword-1 -# invalid data: '[ unicorns ]'... -ok 2 /invalid/json/bareword-2 -# invalid data: '{ "foo" : ponies }'... -ok 3 /invalid/json/bareword-3 -# invalid data: '[ 3, 2, 1, lift_off ]'... -ok 4 /invalid/json/bareword-4 -# invalid data: '{ foo : 42 }'... -ok 5 /invalid/json/bareword-5 -# invalid data: '"st"ring"'... -ok 6 /invalid/json/bareword-6 -# invalid data: '[ -false ]'... -# error: <data>:1:3: Parse error: unexpected character `-', expected number (integer) -ok 7 /invalid/json/values-1 -# invalid data: '["\uD800\uD800"]'... -# error: <data>:1:15: Parse error: scanner: malformed surrogate pair -ok 8 /invalid/json/values-2 -# invalid data: '["\uDB00\uD800"]'... -# error: <data>:1:15: Parse error: scanner: malformed surrogate pair -ok 9 /invalid/json/values-3 -# invalid data: '["\uDB00"]'... -# error: <data>:1:11: Parse error: scanner: unterminated string constant -ok 10 /invalid/json/values-4 -# invalid data: 'var foo'... -# error: <data>:1:7: Parse error: unexpected end of file, expected character `=' -ok 11 /invalid/json/assignment-1 -# invalid data: 'var foo = no'... -# error: <data>:1:12: Parse error: unexpected identifier `no', expected value -ok 12 /invalid/json/assignment-2 -# invalid data: 'var = true'... -# error: <data>:1:5: Parse error: unexpected character `=', expected identifier -ok 13 /invalid/json/assignment-3 -# invalid data: 'var blah = 42:'... -# error: <data>:1:14: Parse error: unexpected character `:', expected end of file -ok 14 /invalid/json/assignment-4 -# invalid data: 'let foo = true;'... -# error: <data>:1:3: Parse error: unexpected identifier `let', expected value -ok 15 /invalid/json/assignment-5 -# invalid data: '[ true, false'... -# error: <data>:1:13: Parse error: unexpected value `false', expected character `,' -ok 16 /invalid/json/array-1 -# invalid data: '[ true }'... -# error: <data>:1:6: Parse error: unexpected value `true', expected character `,' -ok 17 /invalid/json/array-2 -# invalid data: '[ "foo" : 42 ]'... -# error: <data>:1:7: Parse error: unexpected string constant "foo", expected character `,' -ok 18 /invalid/json/array-3 -# invalid data: '{ foo : 42 }'... -# error: <data>:1:1: Parse error: unexpected character `{', expected string constant -ok 19 /invalid/json/object-1 -# invalid data: '{ 42 : "foo" }'... -# error: <data>:1:1: Parse error: unexpected character `{', expected string constant -ok 20 /invalid/json/object-2 -# invalid data: '{ "foo", 42 }'... -# error: <data>:1:7: Parse error: unexpected string constant "foo", expected character `:' -ok 21 /invalid/json/object-3 -# invalid data: '{ "foo" : 42 ]'... -# error: <data>:1:12: Parse error: unexpected number `42', expected string constant -ok 22 /invalid/json/object-4 -# invalid data: '{ "blah" }'... -# error: <data>:1:8: Parse error: unexpected string constant "blah", expected character `:' -ok 23 /invalid/json/object-5 -# invalid data: '{ "a" : 0 "b" : 1 }'... -# error: <data>:1:9: Parse error: unexpected number `0', expected character `,' -ok 24 /invalid/json/object-6 -# invalid data: '{ null: false }'... -# error: <data>:1:1: Parse error: unexpected character `{', expected string constant -ok 25 /invalid/json/object-7 -# invalid data: '[ true false ]'... -ok 26 /invalid/json/missing-comma-1 -# invalid data: '{ "foo" : 42 "bar": null }'... -ok 27 /invalid/json/missing-comma-2 -# invalid data: '[ true, ]'... -ok 28 /invalid/json/trailing-comma-1 -# invalid data: '{ "foo" : 42, }'... -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/reader.test -TAP version 13 -# random seed: R02S35ca8a368805d6e7c6b137c7bf799882 -1..6 -# Start of reader tests -ok 1 /reader/base-array -ok 2 /reader/base-object -ok 3 /reader/level -# Bug Reference: http://bugzilla.gnome.org/show_bug.cgi?id=758580 -ok 4 /reader/null-value -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/node.test -TAP version 13 -# random seed: R02Sf3129040a93b02437c15a0c1723659e2 -1..28 -# Start of nodes tests -ok 1 /nodes/gvalue -# Start of init tests -ok 2 /nodes/init/int -ok 3 /nodes/init/double -ok 4 /nodes/init/boolean -ok 5 /nodes/init/string -ok 6 /nodes/init/null -ok 7 /nodes/init/reinit -# End of init tests -# Start of copy tests -ok 8 /nodes/copy/null -ok 9 /nodes/copy/value -ok 10 /nodes/copy/object -# End of copy tests -# Start of get tests -ok 11 /nodes/get/int -ok 12 /nodes/get/double -# End of get tests -# Start of gvalue tests -# Autopromotion of int to int64 -# Expecting an gint64, got a 'gint64' -# Autopromotion of float to double -# Expecting a gdouble, got a 'gdouble' -ok 13 /nodes/gvalue/autopromotion -# End of gvalue tests -# Start of seal tests -ok 14 /nodes/seal/int -ok 15 /nodes/seal/double -ok 16 /nodes/seal/boolean -ok 17 /nodes/seal/string -ok 18 /nodes/seal/null -ok 19 /nodes/seal/object -ok 20 /nodes/seal/array -# End of seal tests -# Start of immutable tests -ok 21 /nodes/immutable/int -ok 22 /nodes/immutable/double -ok 23 /nodes/immutable/boolean -ok 24 /nodes/immutable/string -ok 25 /nodes/immutable/object -ok 26 /nodes/immutable/array -ok 27 /nodes/immutable/value -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/path.test -TAP version 13 -# random seed: R02Sfc3e49c098a349bda25d10bff48b68d5 -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/generator.test -TAP version 13 -# random seed: R02Se7f34095bcfc7ba8c64c259dfac8c4e1 -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/builder.test -TAP version 13 -# random seed: R02S5c9c39d096f4857ff88cab9cbb21e409 -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 -SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=4864 -DURATION: 0 +SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=5120 +DURATION: 1 END: /usr/lib/json-glib/ptest -2024-02-07T07:53 +2024-02-08T03:40 STOP: ptest-runner TOTAL: 1 FAIL: 0
\ No newline at end of file |