test/externals/ruby1.8/yaml/test_yaml failures
----------------------------------------------

                 Key: JRUBY-3700
                 URL: http://jira.codehaus.org/browse/JRUBY-3700
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.3
            Reporter: Charles Oliver Nutter


{noformat}
  1) Failure:
test_spec_application_family(YAML_Unit_Tests)
    [test/externals/ruby1.8/yaml/test_yaml.rb:32:in `assert_parse_only'
     test/externals/ruby1.8/yaml/test_yaml.rb:790:in 
`test_spec_application_family']:
<[[{"radius"=>7, "center"=>{"x"=>73, "y"=>129}, "TYPE"=>"Shape: graph/circle"},
  {"finish"=>{"x"=>89, "y"=>102},
   "TYPE"=>"Shape: graph/line",
   "start"=>{"x"=>73, "y"=>129}},
  {"TYPE"=>"Shape: graph/text",
   "value"=>"Pretty vector drawing.",
   "start"=>{"x"=>73, "y"=>129},
   "color"=>16772795},
  "Shape Container"]]> expected but was
<[#<YAML::PrivateType:0x94
  @type_id="tag:clarkevans.com,2002:graph/shape",
  @value=
   [#<YAML::PrivateType:0xa0
     @type_id="tag:yaml.org,2002:circle",
     @value={"radius"=>7, "center"=>{"y"=>129, "x"=>73}}>,
    #<YAML::PrivateType:0xc0
     @type_id="tag:yaml.org,2002:line",
     @value={"finish"=>{"y"=>102, "x"=>89}, "start"=>{"y"=>129, "x"=>73}}>,
    #<YAML::PrivateType:0xe0
     @type_id="tag:yaml.org,2002:text",
     @value=
      {"value"=>"Pretty vector drawing.",
       "color"=>16772795,
       "start"=>{"y"=>129, "x"=>73}}>]>]>.

  2) Failure:
test_spec_builtin_time(YAML_Unit_Tests)
    [test/externals/ruby1.8/yaml/test_yaml.rb:32:in `assert_parse_only'
     test/externals/ruby1.8/yaml/test_yaml.rb:1006:in `test_spec_builtin_time']:
<{"space separated"=>Fri Dec 14 20:59:43 -0600 2001,
 "canonical"=>Sat Dec 15 02:59:43 UTC 2001,
 "date (noon UTC)"=>#<Date: 4905245/2,0,2299161>,
 "valid iso8601"=>Fri Dec 14 20:59:43 -0600 2001}> expected but was
<{"canonical"=>Sat Dec 15 02:59:43 +0000 2001,
 "valid iso8601"=>Fri Dec 14 21:59:43 -0500 2001,
 "space separated"=>Fri Dec 14 21:59:43 -0500 2001,
 "date (noon UTC)"=>#<Date: 4905245/2,0,2299161>}>.

  3) Failure:
test_spec_domain_prefix(YAML_Unit_Tests)
    [test/externals/ruby1.8/yaml/test_yaml.rb:32:in `assert_parse_only'
     test/externals/ruby1.8/yaml/test_yaml.rb:646:in `test_spec_domain_prefix']:
<{"invoice"=>
  {"customers"=>
    [{"given"=>"Chris", "type"=>"domain customer", "family"=>"Dumars"}],
   "type"=>"domain invoice"}}> expected but was
<{"invoice"=>
  #<YAML::PrivateType:0x184
   @type_id="tag:domain.tld,2002:invoice",
   @value=
    {"customers"=>
      [#<YAML::PrivateType:0x198
        @type_id="tag:yaml.org,2002:customer",
        @value={"given"=>"Chris", "family"=>"Dumars"}>]}>}>.

  4) Failure:
test_spec_explicit_families(YAML_Unit_Tests)
    [test/externals/ruby1.8/yaml/test_yaml.rb:32:in `assert_parse_only'
     test/externals/ruby1.8/yaml/test_yaml.rb:752:in 
`test_spec_explicit_families']:
<{"not-date"=>"2002-04-28",
 "picture"=>
  
"GIF89a\f\000\f\000\204\000\000\377\377\367\365\365\356\351\351\345fff\000\000\000\347\347\347^^^\363\363\355\216\216\216\340\340\340\237\237\237\223\223\223\247\247\247\236\236\236i^\020'
 \202\n\001\000;",
 "hmm"=>"SOMEWHERE: family above is short for\nhttp://somewhere.com/type\n"}> 
expected but was
<{"picture"=>
  
"GIF89a\f\000\f\000\204\000\000\377\377\367\365\365\356\351\351\345fff\000\000\000\347\347\347^^^\363\363\355\216\216\216\340\340\340\237\237\237\223\223\223\247\247\247\236\236\236i^\020'
 \202\n\001\000;",
 "not-date"=>"2002-04-28",
 "hmm"=>
  #<YAML::PrivateType:0x1e8
   @type_id="tag:somewhere.com,2002:type",
   @value="family above is short for\nhttp://somewhere.com/type\n";>}>.

  5) Failure:
test_spec_private_types(YAML_Unit_Tests) 
[test/externals/ruby1.8/yaml/test_yaml.rb:713]:
<0> expected but was
<2>.

  6) Error:
test_spec_url_escaping(YAML_Unit_Tests):
ArgumentError: syntax error:ScannerException while scanning a tag we had this 
expected ' ', but found \(92)
    test/externals/ruby1.8/yaml/test_yaml.rb:32:in `assert_parse_only'
    test/externals/ruby1.8/yaml/test_yaml.rb:723:in `test_spec_url_escaping'

  7) Failure:
test_ypath_parsing(YAML_Unit_Tests)
    [test/externals/ruby1.8/yaml/test_yaml.rb:44:in `assert_path_segments'
     test/externals/ruby1.8/yaml/test_yaml.rb:1140:in `test_ypath_parsing']:
Some segments leftover: [["*", "one", "name"], ["*", "three", "name"], ["*", 
"place"], ["/", "place"]].
<4> expected but was
<0>.
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to