You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RDF::Helper has now been added to Debian without problems, but Ubuntu has problems with it, it turned out when I requested the addition: https://bugs.launchpad.net/ubuntu/+bug/925705
So, I'm actually able to reproduce it on current Ubuntu Oneiric:
kjetil@owl:~/dev/RDF-Helper$ prove -lv t/7_property_hash.t t/8_rdf_object.t
t/7_property_hash.t ..
ok 1 - Tied property "" overloading
ok 2 - Tied property eq overloading
ok 3 - Tied property == overloading
ok 4 - Set hash property "foo"
ok 5 - Set hash property "bar"
ok 6 - Delete hash property "foo"
ok 7 - tied_property_hash
ok 8 - Set hash property "dc:creator"
not ok 9 - set / return multiple property "dc:language" values
Failed test 'set / return multiple property "dc:language" values'
at t/7_property_hash.t line 110.
got: 'en-US,en-US,fr,jp'
expected: 'en-US,es,fr,jp'
not ok 10 - set / return different property "dc:language" values
Failed test 'set / return different property "dc:language" values'
at t/7_property_hash.t line 113.
got: 'en-US,es,es'
expected: 'en-US,es,jp'
not ok 11 - Set single value into "dc:language" property
Failed test 'Set single value into "dc:language" property'
at t/7_property_hash.t line 116.
got: 'ARRAY'
expected: ''
not ok 12 - Fetch value from "dc:language" property
Failed test 'Fetch value from "dc:language" property'
at t/7_property_hash.t line 117.
got: 'ARRAY(0x938d3fc)'
expected: 'en-US'
ok 13 - Set a string that looks like a URI encodes it as a resource
ok 14 - Set an arrayref that looks like a URI encodes it as a resource
ok 15 - Get existing RSS property "title"
ok 16 - Get existing RSS property "dc:language"
ok 17 - Resource node does not return a reference
ok 18 - Resource node returns a plain value
ok 19 - Got title for deep-tied hash
ok 20 - Deep-tied resource node returns a hash reference
ok 21 - Traverse deep-tied resource node to image -> url property
ok 22
ok 23 - Tied property "" overloading
ok 24 - Tied property eq overloading
ok 25 - Tied property == overloading
ok 26 - Set hash property "foo"
ok 27 - Set hash property "bar"
ok 28 - Delete hash property "foo"
ok 29 - tied_property_hash
ok 30 - Set hash property "dc:creator"
ok 31 - set / return multiple property "dc:language" values
ok 32 - set / return different property "dc:language" values
ok 33 - Set single value into "dc:language" property
ok 34 - Fetch value from "dc:language" property
ok 35 - Set a string that looks like a URI encodes it as a resource
ok 36 - Set an arrayref that looks like a URI encodes it as a resource
ok 37 - Get existing RSS property "title"
ok 38 - Get existing RSS property "dc:language"
ok 39 - Resource node does not return a reference
ok 40 - Resource node returns a plain value
ok 41 - Got title for deep-tied hash
ok 42 - Deep-tied resource node returns a hash reference
ok 43 - Traverse deep-tied resource node to image -> url property
ok 44
1..44
Looks like you failed 4 tests of 44.
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/44 subtests
t/8_rdf_object.t .....
ok 1 - object isa RDF::Helper::Object
ok 2 - object scalar overloading
ok 3 - object "eq" overloading
ok 4 - object "==" overloading
ok 5 - get resource value via default namespace
ok 6 - get resource value via specified namespace prefix, using underscore
ok 7 - set a new title
ok 8 - new title properly set
ok 9 - set a new language via underscore prefix
ok 10 - new language value properly set
ok 11 - removing a value
ok 12 - value removed successfully
ok 13 - set multiple language values
ok 14 - multiple values - scalar arrayref
not ok 15 - proper languages returned - list context
Failed test 'proper languages returned - list context'
at t/8_rdf_object.t line 91.
got: 'en-gb,en-gb,jp'
expected: 'en-gb,fr,jp'
not ok 16 - proper languages returned - scalar arrayref
Failed test 'proper languages returned - scalar arrayref'
at t/8_rdf_object.t line 93.
got: 'en-gb,en-gb,jp'
expected: 'en-gb,fr,jp'
not ok 17 - proper languages returned - array
Failed test 'proper languages returned - array'
at t/8_rdf_object.t line 94.
got: 'en-gb,en-gb,jp'
expected: 'en-gb,fr,jp'
ok 18 - remove value from multiple language set
not ok 19 - proper languages returned - array
Failed test 'proper languages returned - array'
at t/8_rdf_object.t line 96.
got: 'fr,fr'
expected: 'en-gb,fr'
ok 20 - Traverse 2 object levels
ok 21 - Traverse 3 object levels
ok 22 - set a string that looks like a URI encodes it as a resource
ok 23 - image property
ok 24 - image property blessed resource
ok 25 - image property blessed object URI
ok 26 - image property traversed blessed object property
ok 27 - items property blessed blank node
ok 28 - object via get_object() isa RDF::Helper::Object
ok 29 - object isa RDF::Helper::Object
ok 30 - object scalar overloading
ok 31 - object "eq" overloading
ok 32 - object "==" overloading
ok 33 - get resource value via default namespace
ok 34 - get resource value via specified namespace prefix, using underscore
ok 35 - set a new title
ok 36 - new title properly set
ok 37 - set a new language via underscore prefix
ok 38 - new language value properly set
ok 39 - removing a value
ok 40 - value removed successfully
ok 41 - set multiple language values
ok 42 - multiple values - scalar arrayref
ok 43 - proper languages returned - list context
ok 44 - proper languages returned - scalar arrayref
ok 45 - proper languages returned - array
ok 46 - remove value from multiple language set
ok 47 - proper languages returned - array
ok 48 - Traverse 2 object levels
ok 49 - Traverse 3 object levels
ok 50 - set a string that looks like a URI encodes it as a resource
ok 51 - image property
ok 52 - image property blessed resource
ok 53 - image property blessed object URI
ok 54 - image property traversed blessed object property
ok 55 - items property blessed blank node
ok 56 - object via get_object() isa RDF::Helper::Object
1..56
Looks like you failed 4 tests of 56.
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/56 subtests
Weirdness. I have RDF::Helper cloned from git just now. All the deps are from Ubuntu packages. I was thinking it might some version dep or something that breaks...
The text was updated successfully, but these errors were encountered:
Just so it doesn't get lost:
RDF::Helper has now been added to Debian without problems, but Ubuntu has problems with it, it turned out when I requested the addition:
https://bugs.launchpad.net/ubuntu/+bug/925705
So, I'm actually able to reproduce it on current Ubuntu Oneiric:
kjetil@owl:~/dev/RDF-Helper$ prove -lv t/7_property_hash.t t/8_rdf_object.t
t/7_property_hash.t ..
ok 1 - Tied property "" overloading
ok 2 - Tied property eq overloading
ok 3 - Tied property == overloading
ok 4 - Set hash property "foo"
ok 5 - Set hash property "bar"
ok 6 - Delete hash property "foo"
ok 7 - tied_property_hash
ok 8 - Set hash property "dc:creator"
not ok 9 - set / return multiple property "dc:language" values
Failed test 'set / return multiple property "dc:language" values'
at t/7_property_hash.t line 110.
got: 'en-US,en-US,fr,jp'
expected: 'en-US,es,fr,jp'
not ok 10 - set / return different property "dc:language" values
Failed test 'set / return different property "dc:language" values'
at t/7_property_hash.t line 113.
got: 'en-US,es,es'
expected: 'en-US,es,jp'
not ok 11 - Set single value into "dc:language" property
Failed test 'Set single value into "dc:language" property'
at t/7_property_hash.t line 116.
got: 'ARRAY'
expected: ''
not ok 12 - Fetch value from "dc:language" property
Failed test 'Fetch value from "dc:language" property'
at t/7_property_hash.t line 117.
got: 'ARRAY(0x938d3fc)'
expected: 'en-US'
ok 13 - Set a string that looks like a URI encodes it as a resource
ok 14 - Set an arrayref that looks like a URI encodes it as a resource
ok 15 - Get existing RSS property "title"
ok 16 - Get existing RSS property "dc:language"
ok 17 - Resource node does not return a reference
ok 18 - Resource node returns a plain value
ok 19 - Got title for deep-tied hash
ok 20 - Deep-tied resource node returns a hash reference
ok 21 - Traverse deep-tied resource node to image -> url property
ok 22
ok 23 - Tied property "" overloading
ok 24 - Tied property eq overloading
ok 25 - Tied property == overloading
ok 26 - Set hash property "foo"
ok 27 - Set hash property "bar"
ok 28 - Delete hash property "foo"
ok 29 - tied_property_hash
ok 30 - Set hash property "dc:creator"
ok 31 - set / return multiple property "dc:language" values
ok 32 - set / return different property "dc:language" values
ok 33 - Set single value into "dc:language" property
ok 34 - Fetch value from "dc:language" property
ok 35 - Set a string that looks like a URI encodes it as a resource
ok 36 - Set an arrayref that looks like a URI encodes it as a resource
ok 37 - Get existing RSS property "title"
ok 38 - Get existing RSS property "dc:language"
ok 39 - Resource node does not return a reference
ok 40 - Resource node returns a plain value
ok 41 - Got title for deep-tied hash
ok 42 - Deep-tied resource node returns a hash reference
ok 43 - Traverse deep-tied resource node to image -> url property
ok 44
1..44
Looks like you failed 4 tests of 44.
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/44 subtests
t/8_rdf_object.t .....
ok 1 - object isa RDF::Helper::Object
ok 2 - object scalar overloading
ok 3 - object "eq" overloading
ok 4 - object "==" overloading
ok 5 - get resource value via default namespace
ok 6 - get resource value via specified namespace prefix, using underscore
ok 7 - set a new title
ok 8 - new title properly set
ok 9 - set a new language via underscore prefix
ok 10 - new language value properly set
ok 11 - removing a value
ok 12 - value removed successfully
ok 13 - set multiple language values
ok 14 - multiple values - scalar arrayref
not ok 15 - proper languages returned - list context
Failed test 'proper languages returned - list context'
at t/8_rdf_object.t line 91.
got: 'en-gb,en-gb,jp'
expected: 'en-gb,fr,jp'
not ok 16 - proper languages returned - scalar arrayref
Failed test 'proper languages returned - scalar arrayref'
at t/8_rdf_object.t line 93.
got: 'en-gb,en-gb,jp'
expected: 'en-gb,fr,jp'
not ok 17 - proper languages returned - array
Failed test 'proper languages returned - array'
at t/8_rdf_object.t line 94.
got: 'en-gb,en-gb,jp'
expected: 'en-gb,fr,jp'
ok 18 - remove value from multiple language set
not ok 19 - proper languages returned - array
Failed test 'proper languages returned - array'
at t/8_rdf_object.t line 96.
got: 'fr,fr'
expected: 'en-gb,fr'
ok 20 - Traverse 2 object levels
ok 21 - Traverse 3 object levels
ok 22 - set a string that looks like a URI encodes it as a resource
ok 23 - image property
ok 24 - image property blessed resource
ok 25 - image property blessed object URI
ok 26 - image property traversed blessed object property
ok 27 - items property blessed blank node
ok 28 - object via get_object() isa RDF::Helper::Object
ok 29 - object isa RDF::Helper::Object
ok 30 - object scalar overloading
ok 31 - object "eq" overloading
ok 32 - object "==" overloading
ok 33 - get resource value via default namespace
ok 34 - get resource value via specified namespace prefix, using underscore
ok 35 - set a new title
ok 36 - new title properly set
ok 37 - set a new language via underscore prefix
ok 38 - new language value properly set
ok 39 - removing a value
ok 40 - value removed successfully
ok 41 - set multiple language values
ok 42 - multiple values - scalar arrayref
ok 43 - proper languages returned - list context
ok 44 - proper languages returned - scalar arrayref
ok 45 - proper languages returned - array
ok 46 - remove value from multiple language set
ok 47 - proper languages returned - array
ok 48 - Traverse 2 object levels
ok 49 - Traverse 3 object levels
ok 50 - set a string that looks like a URI encodes it as a resource
ok 51 - image property
ok 52 - image property blessed resource
ok 53 - image property blessed object URI
ok 54 - image property traversed blessed object property
ok 55 - items property blessed blank node
ok 56 - object via get_object() isa RDF::Helper::Object
1..56
Looks like you failed 4 tests of 56.
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/56 subtests
Test Summary Report
t/7_property_hash.t (Wstat: 1024 Tests: 44 Failed: 4)
Failed tests: 9-12
Non-zero exit status: 4
t/8_rdf_object.t (Wstat: 1024 Tests: 56 Failed: 4)
Failed tests: 15-17, 19
Non-zero exit status: 4
Files=2, Tests=100, 4 wallclock secs ( 0.07 usr 0.00 sys + 3.44 cusr 0.11 csys = 3.62 CPU)
Result: FAIL
Weirdness. I have RDF::Helper cloned from git just now. All the deps are from Ubuntu packages. I was thinking it might some version dep or something that breaks...
The text was updated successfully, but these errors were encountered: