Six REXML rubyspec failures
---------------------------
Key: JRUBY-2334
URL: http://jira.codehaus.org/browse/JRUBY-2334
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC3
Environment: JRuby 1.1RC3
Reporter: Vladimir Sizikov
New REXML spec tests were recently added to rubyspecs, and currently JRuby
fails 6 of them:
bin/mspec ci -t j -X /opt/work/jruby.git/test/spec_excludes
spec/ruby/1.8/library/rexml/
........E......E...............F.........FE............F.........
1)
REXML::Document#add overwrites existing DocType ERROR
undefined method `kind_of' for #<REXML::DocType:0x1f9f0f2>
/opt/work/jruby.git/lib/ruby/1.8/rexml/document.rb:79:in `add'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:40:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:60:in `process'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `process'
/opt/work/rbx.git/./mspec/runner/mspec.rb:19:in `describe'
/opt/work/rbx.git/./mspec/runner/object.rb:11:in `describe'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:7:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb'
/opt/work/rbx.git/./mspec/runner/shared.rb:10:in `[]'
/opt/work/rbx.git/./mspec/runner/shared.rb:10:in `it_behaves_like'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:59:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:50:in `process'
/opt/work/rbx.git/./mspec/runner/mspec.rb:19:in `describe'
/opt/work/rbx.git/./mspec/runner/object.rb:11:in `describe'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:58:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:37:in
`load'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `each'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:59
2)
REXML::Document#<< overwrites existing DocType ERROR
undefined method `kind_of' for #<REXML::DocType:0x8e85b5>
/opt/work/jruby.git/lib/ruby/1.8/rexml/document.rb:79:in `add'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:40:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:60:in `process'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `process'
/opt/work/rbx.git/./mspec/runner/mspec.rb:19:in `describe'
/opt/work/rbx.git/./mspec/runner/object.rb:11:in `describe'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:7:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb'
/opt/work/rbx.git/./mspec/runner/shared.rb:10:in `[]'
/opt/work/rbx.git/./mspec/runner/shared.rb:10:in `it_behaves_like'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:63:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:50:in `process'
/opt/work/rbx.git/./mspec/runner/mspec.rb:19:in `describe'
/opt/work/rbx.git/./mspec/runner/object.rb:11:in `describe'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:62:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/add_spec.rb:37:in
`load'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `each'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:59
3)
REXML::Document#new raises an error if source is not a Document, String or IO
FAILED
Expected RuntimeError
but got NameError (undefined local variable or method `source' for
REXML::SourceFactory:Class)
/opt/work/rbx.git/./mspec/expectations.rb:10:in `fail_with'
/opt/work/rbx.git/./mspec/expectations/should.rb:6:in `should'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/new_spec.rb:30:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/new_spec.rb'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:60:in `process'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `process'
/opt/work/rbx.git/./mspec/runner/mspec.rb:19:in `describe'
/opt/work/rbx.git/./mspec/runner/object.rb:11:in `describe'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/new_spec.rb:4:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/new_spec.rb'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/new_spec.rb:37:in
`load'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `each'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:59
4)
REXML::Document#write returns document indented FAILED
Expected "<Springfield>\n <EvergreenTerrace>\n <House742/>\n
</EvergreenTerrace>\n</Springfield>"
to equal " <Springfield>\n <EvergreenTerrace>\n <House742/>\n
</EvergreenTerrace>\n </Springfield>"
/opt/work/rbx.git/./mspec/expectations.rb:10:in `fail_with'
/opt/work/rbx.git/./mspec/matchers/base.rb:9:in `=='
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb:22:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:60:in `process'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `process'
/opt/work/rbx.git/./mspec/runner/mspec.rb:19:in `describe'
/opt/work/rbx.git/./mspec/runner/object.rb:11:in `describe'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb:5:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb:37:in
`load'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `each'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:59
5)
REXML::Document#write returns document with transitive support ERROR
uninitialized constant REXML::Formatters::Transitive
/opt/work/jruby.git/lib/ruby/1.8/rexml/document.rb:187:in `const_missing'
/opt/work/jruby.git/lib/ruby/1.8/rexml/document.rb:187:in `write'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb:26:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:60:in `process'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `process'
/opt/work/rbx.git/./mspec/runner/mspec.rb:19:in `describe'
/opt/work/rbx.git/./mspec/runner/object.rb:11:in `describe'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb:5:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/document/write_spec.rb:37:in
`load'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `each'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:59
6)
REXML::Element#delete_attribute deletes the attribute 'key' FAILED
Expected name='John'
to equal nil
/opt/work/rbx.git/./mspec/expectations.rb:10:in `fail_with'
/opt/work/rbx.git/./mspec/matchers/base.rb:9:in `=='
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/element/attributes_spec.rb:95:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/element/attributes_spec.rb'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:46:in `protect'
/opt/work/rbx.git/./mspec/runner/state.rb:60:in `process'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `each'
/opt/work/rbx.git/./mspec/runner/state.rb:56:in `process'
/opt/work/rbx.git/./mspec/runner/mspec.rb:19:in `describe'
/opt/work/rbx.git/./mspec/runner/object.rb:11:in `describe'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/element/attributes_spec.rb:66:in
`/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/element/attributes_spec.rb'
/opt/work/rbx.git/./spec/ruby/1.8/library/rexml/element/attributes_spec.rb:37:in
`load'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `call'
/opt/work/rbx.git/./mspec/runner/mspec.rb:112:in `protect'
/opt/work/rbx.git/./mspec/runner/mspec.rb:37:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `each'
/opt/work/rbx.git/./mspec/runner/mspec.rb:34:in `files'
/opt/work/rbx.git/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:59
Finished in 1.034000 seconds
15 files, 65 examples, 69 expectations, 3 failures, 3 errors
Some of the specs fail for MRI 1.8.6pl111, but all pass with the latest MRI
built from 1.8 branch.
--
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