Skip to content

Instantly share code, notes, and snippets.

@vvs
Created March 21, 2010 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvs/339572 to your computer and use it in GitHub Desktop.
Save vvs/339572 to your computer and use it in GitHub Desktop.
mspec -t j library\delegate\
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-03-21 646afea) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
..FE..........E
1)
SimpleDelegator when frozen is not writeable FAILED
Expected RuntimeError but no exception was raised
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:22
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:4
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
2)
SimpleDelegator when frozen creates a frozen clone ERROR
TypeError: can't modify frozen
D:/work/jruby-dev/jruby/lib/ruby/1.8/delegate.rb:232:in `__setobj__'
D:/work/jruby-dev/jruby/lib/ruby/1.8/delegate.rb:238:in `clone'
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:26
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:4
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
3)
SimpleDelegator.new forwards private method calls made via send or __send__ ERROR
NoMethodError: method `priv' is private
D:/work/jruby-dev/rubyspec.git/library/delegate/send_spec.rb:23
D:/work/jruby-dev/rubyspec.git/library/delegate/send_spec.rb:5
D:/work/jruby-dev/rubyspec.git/library/delegate/send_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
Finished in 0.449000 seconds
4 files, 15 examples, 17 expectations, 1 failure, 2 errors
D:\work\jruby-dev\rubyspec.git>mspec -t j library\delegate\
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-03-21 593d928) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
..FE....FE.E..E
1)
SimpleDelegator when frozen is not writeable FAILED
Expected RuntimeError but no exception was raised
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:22
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:4
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
2)
SimpleDelegator when frozen creates a frozen clone ERROR
TypeError: can't modify frozen
D:/work/jruby-dev/jruby/lib/ruby/1.8/delegate.rb:232:in `__setobj__'
D:/work/jruby-dev/jruby/lib/ruby/1.8/delegate.rb:238:in `clone'
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:26
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:4
D:/work/jruby-dev/rubyspec.git/library/delegate/frozen_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
3)
SimpleDelegator can be marshalled with its instance variables intact FAILED
Expected nil
to equal "bar"
D:/work/jruby-dev/rubyspec.git/library/delegate/marshal_spec.rb:20
D:/work/jruby-dev/rubyspec.git/library/delegate/marshal_spec.rb:4
D:/work/jruby-dev/rubyspec.git/library/delegate/marshal_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
4)
SimpleDelegator#method returns a method object for a valid method ERROR
NameError: undefined method `pub' for class `SimpleDelegator'
D:/work/jruby-dev/rubyspec.git/library/delegate/method_spec.rb:12
D:/work/jruby-dev/rubyspec.git/library/delegate/method_spec.rb:5
D:/work/jruby-dev/rubyspec.git/library/delegate/method_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
5)
SimpleDelegator#method raises a NameError if method is no longer valid because object has changed ERROR
NameError: undefined method `pub' for class `SimpleDelegator'
D:/work/jruby-dev/rubyspec.git/library/delegate/method_spec.rb:32
D:/work/jruby-dev/rubyspec.git/library/delegate/method_spec.rb:5
D:/work/jruby-dev/rubyspec.git/library/delegate/method_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
6)
SimpleDelegator.new forwards private method calls made via send or __send__ ERROR
NoMethodError: method `priv' is private
D:/work/jruby-dev/rubyspec.git/library/delegate/send_spec.rb:23
D:/work/jruby-dev/rubyspec.git/library/delegate/send_spec.rb:5
D:/work/jruby-dev/rubyspec.git/library/delegate/send_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8
Finished in 0.125000 seconds
4 files, 15 examples, 14 expectations, 2 failures, 4 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment