Net::HTTP spec failures in get_print spec; IO not getting expected "print" call
-------------------------------------------------------------------------------

                 Key: JRUBY-2792
                 URL: http://jira.codehaus.org/browse/JRUBY-2792
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Charles Oliver Nutter


These are potentially bad specs, but for now I've tagged them as failing on Mac 
OS X, Soylatte JDK 6:

{noformat}
     [java] 6)
     [java] An exception occurred during: Mock.verify_count
     [java] Net::HTTP.get_print when passed URI it prints the body of the 
specified uri to $stdout FAILED
     [java] Mock '#<IO:0x1c414e9>' expected to receive 'print' exactly 1 times
     [java] but received it 0 times
...
     [java] 
/Users/headius/NetBeansProjects/jruby/spec/ruby/1.8/library/net/http/get_print_spec.rb:5
     [java] 
/Users/headius/NetBeansProjects/jruby/spec/ruby/1.8/library/net/http/get_print_spec.rb:50:in
 `load'
...
     [java] 
     [java] 7)
     [java] An exception occurred during: Mock.verify_count
     [java] Net::HTTP.get_print when passed host, path, port it prints the body 
of the specified uri to $stdout FAILED
     [java] Mock '#<IO:0x1c414e9>' expected to receive 'print' exactly 1 times
     [java] but received it 0 times
...
     [java] 
/Users/headius/NetBeansProjects/jruby/spec/ruby/1.8/library/net/http/get_print_spec.rb:21
     [java] 
/Users/headius/NetBeansProjects/jruby/spec/ruby/1.8/library/net/http/get_print_spec.rb:50:in
 `load'
{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