diff options
Diffstat (limited to 'runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log')
-rw-r--r-- | runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log | 624 |
1 files changed, 0 insertions, 624 deletions
diff --git a/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log b/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log deleted file mode 100644 index aec727b5084..00000000000 --- a/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log +++ /dev/null @@ -1,624 +0,0 @@ -START: ptest-runner -2024-03-20T01:27 -Running test: json-glib-1.0/reader.test -TAP version 13 -# random seed: R02S92cd64a416d132c58adc16c9a654325a -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/boxed.test -TAP version 13 -# random seed: R02S64fb06ac16ef5f3e4ce1be60900a2489 -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/parser.test -TAP version 13 -# random seed: R02Sd54c8ba5401c6da95d55e16dc0053ec4 -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-simple.test -TAP version 13 -# random seed: R02Sbb224d33de9b5b2d7fc7196717701f9a -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: R02S8c84757f16333874145ebb0e7c4c6b75 -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/serialize-complex.test -TAP version 13 -# random seed: R02S7676ab2c8afba859e10f29e93d0ba93c -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/array.test -TAP version 13 -# random seed: R02S50d4ab9d75ed07517f854a6538aa2606 -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/node.test -TAP version 13 -# random seed: R02Sc7dc412919f5e8070cf0ca6bad7f3acd -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/builder.test -TAP version 13 -# random seed: R02S06337f44229fd1cb9d70f92d34a7a09a -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/gvariant.test -TAP version 13 -# random seed: R02S1b7966580d359af2de803f943c164c92 -1..89 -# Start of gvariant tests -# Start of to-json tests -ok 1 /gvariant/to-json/boolean -ok 2 /gvariant/to-json/byte -ok 3 /gvariant/to-json/int16 -ok 4 /gvariant/to-json/uint16 -ok 5 /gvariant/to-json/int32 -ok 6 /gvariant/to-json/uint32 -ok 7 /gvariant/to-json/int64 -ok 8 /gvariant/to-json/uint64 -ok 9 /gvariant/to-json/handle -ok 10 /gvariant/to-json/double -ok 11 /gvariant/to-json/double-whole -ok 12 /gvariant/to-json/string -ok 13 /gvariant/to-json/object-path -ok 14 /gvariant/to-json/signature -ok 15 /gvariant/to-json/tuple -ok 16 /gvariant/to-json/deep-nesting -ok 17 /gvariant/to-json/mixed1 -ok 18 /gvariant/to-json/mixed2 -# Start of maybe tests -# Start of simple tests -ok 19 /gvariant/to-json/maybe/simple/null -ok 20 /gvariant/to-json/maybe/simple/string -# End of simple tests -# Start of container tests -ok 21 /gvariant/to-json/maybe/container/null -ok 22 /gvariant/to-json/maybe/container/tuple -# End of container tests -# Start of variant tests -ok 23 /gvariant/to-json/maybe/variant/boolean -# End of variant tests -# End of maybe tests -# Start of array tests -ok 24 /gvariant/to-json/array/empty -ok 25 /gvariant/to-json/array/byte -ok 26 /gvariant/to-json/array/string -ok 27 /gvariant/to-json/array/variant -# Start of array tests -ok 28 /gvariant/to-json/array/array/int32 -# End of array tests -# End of array tests -# Start of dictionary tests -ok 29 /gvariant/to-json/dictionary/empty -ok 30 /gvariant/to-json/dictionary/single-entry -ok 31 /gvariant/to-json/dictionary/string-int32 -ok 32 /gvariant/to-json/dictionary/string-variant -ok 33 /gvariant/to-json/dictionary/int64-variant -ok 34 /gvariant/to-json/dictionary/uint64-boolean -ok 35 /gvariant/to-json/dictionary/boolean-variant -ok 36 /gvariant/to-json/dictionary/double-string -# End of dictionary tests -# Start of variant tests -ok 37 /gvariant/to-json/variant/string -ok 38 /gvariant/to-json/variant/dictionary -# Start of maybe tests -ok 39 /gvariant/to-json/variant/maybe/null -# End of maybe tests -# Start of variant tests -ok 40 /gvariant/to-json/variant/variant/array -# End of variant tests -# End of variant tests -# End of to-json tests -# Start of from-json tests -ok 41 /gvariant/from-json/boolean -ok 42 /gvariant/from-json/byte -ok 43 /gvariant/from-json/int16 -ok 44 /gvariant/from-json/uint16 -ok 45 /gvariant/from-json/int32 -ok 46 /gvariant/from-json/uint32 -ok 47 /gvariant/from-json/int64 -ok 48 /gvariant/from-json/uint64 -ok 49 /gvariant/from-json/handle -ok 50 /gvariant/from-json/double -ok 51 /gvariant/from-json/double-whole -ok 52 /gvariant/from-json/string -ok 53 /gvariant/from-json/object-path -ok 54 /gvariant/from-json/signature -ok 55 /gvariant/from-json/tuple -ok 56 /gvariant/from-json/deep-nesting -ok 57 /gvariant/from-json/mixed1 -ok 58 /gvariant/from-json/mixed2 -ok 59 /gvariant/from-json/string-to-boolean -ok 60 /gvariant/from-json/string-to-byte -ok 61 /gvariant/from-json/string-to-int16 -ok 62 /gvariant/from-json/string-to-uint16 -ok 63 /gvariant/from-json/string-to-int32 -ok 64 /gvariant/from-json/string-to-int64 -ok 65 /gvariant/from-json/string-to-uint64 -ok 66 /gvariant/from-json/string-to-double -ok 67 /gvariant/from-json/string-to-double-whole -# Start of maybe tests -# Start of simple tests -ok 68 /gvariant/from-json/maybe/simple/null -ok 69 /gvariant/from-json/maybe/simple/string -# End of simple tests -# Start of container tests -ok 70 /gvariant/from-json/maybe/container/null -ok 71 /gvariant/from-json/maybe/container/tuple -# End of container tests -# Start of variant tests -ok 72 /gvariant/from-json/maybe/variant/boolean -# End of variant tests -# End of maybe tests -# Start of array tests -ok 73 /gvariant/from-json/array/empty -ok 74 /gvariant/from-json/array/byte -ok 75 /gvariant/from-json/array/string -ok 76 /gvariant/from-json/array/variant -# Start of array tests -ok 77 /gvariant/from-json/array/array/int32 -# End of array tests -# End of array tests -# Start of dictionary tests -ok 78 /gvariant/from-json/dictionary/empty -ok 79 /gvariant/from-json/dictionary/single-entry -ok 80 /gvariant/from-json/dictionary/string-int32 -ok 81 /gvariant/from-json/dictionary/string-variant -ok 82 /gvariant/from-json/dictionary/int64-variant -ok 83 /gvariant/from-json/dictionary/uint64-boolean -ok 84 /gvariant/from-json/dictionary/boolean-variant -ok 85 /gvariant/from-json/dictionary/double-string -# End of dictionary tests -# Start of variant tests -ok 86 /gvariant/from-json/variant/string -ok 87 /gvariant/from-json/variant/dictionary -# Start of maybe tests -ok 88 /gvariant/from-json/variant/maybe/null -# End of maybe tests -# Start of variant tests -ok 89 /gvariant/from-json/variant/variant/array -# End of variant tests -# End of variant tests -# End of from-json tests -# End of gvariant tests -PASS: json-glib-1.0/gvariant.test -Running test: json-glib-1.0/object.test -TAP version 13 -# random seed: R02S54c5a8803cc8455f24863c6e944c92a6 -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/generator.test -TAP version 13 -# random seed: R02S105bcdf9cef35a55a12fd052340ad6e1 -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/serialize-full.test -TAP version 13 -# random seed: R02S652a942c1ee928e69fe2a276aed613a9 -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: R02Sc7df19c7aabc84d841dca1acb3b67bef -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 -SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=5120 -DURATION: 0 |