[1.9] Lots of rubyspec failures for defined?
--------------------------------------------

                 Key: JRUBY-4655
                 URL: http://jira.codehaus.org/browse/JRUBY-4655
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Ruby 1.9
    Affects Versions: JRuby 1.4
            Reporter: Vladimir Sizikov


{noformat}
mspec ci -t j -T --1.9 language\defined_spec.rb
jruby 1.5.0.dev (ruby 1.9.2dev trunk 24787) (2010-03-13 3336859) (Java 
HotSpot(TM) Client VM 1.6.0_18) [x86-java]
..............F...................................F......................FF..FF...........F.......FFFFF........FFFFF.....................................................................

1)
The defined? keyword when called with a method name having a local variable as 
receiver calls #respond_to_missing? FAILED
Expected nil
 to equal "method"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:78
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:26
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

2)
An exception occurred during: Mock.verify_count
The defined? keyword when called with a method name having a local variable as 
receiver calls #respond_to_missing? FAILED
Mock 'respond_to_missing object' expected to receive 'respond_to_missing?' 
exactly 1 times
but received it 0 times
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:26
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

3)
The defined? keyword for an expression returns 'method' for an expression with 
'!~' FAILED
Expected "expression"
 to equal "method"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:267
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

4)
The defined? keyword for an expression with a dynamic String returns 
'expression' when the String contains a call to an undefined method FAILED
Expected nil
 to equal "expression"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:382
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

5)
The defined? keyword for an expression with a dynamic String does not call the 
method in the String FAILED
Expected nil
 to equal "expression"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:386
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

6)
The defined? keyword for an expression with a dynamic Regexp returns 
'expression' when the Regexp contains a call to an undefined method FAILED
Expected nil
 to equal "expression"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:424
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

7)
The defined? keyword for an expression with a dynamic Regexp does not call the 
method in the Regexp FAILED
Expected nil
 to equal "expression"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:428
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

8)
The defined? keyword for variables returns 'local-variable' when called with 
the name of a block local FAILED
Expected "local-variable(in-block)"
 to equal "local-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:758
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

9)
The defined? keyword for variables when a String matches a Regexp returns 
'global-variable' for $& FAILED
Expected "$&"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:581
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

10)
The defined? keyword for variables when a String matches a Regexp returns 
'global-variable' for $` FAILED
Expected "$`"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:585
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

11)
The defined? keyword for variables when a String matches a Regexp returns 
'global-variable' for $' FAILED
Expected "$'"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:589
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

12)
The defined? keyword for variables when a String matches a Regexp returns 
'global-variable' for $+ FAILED
Expected "$+"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:593
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

13)
The defined? keyword for variables when a String matches a Regexp returns 
'global-variable' for the capture references FAILED
Expected "$1"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:597
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

14)
The defined? keyword for variables when a Regexp matches a String returns 
'global-variable' for $& FAILED
Expected "$&"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:689
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

15)
The defined? keyword for variables when a Regexp matches a String returns 
'global-variable' for $` FAILED
Expected "$`"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:693
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

16)
The defined? keyword for variables when a Regexp matches a String returns 
'global-variable' for $' FAILED
Expected "$'"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:697
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

17)
The defined? keyword for variables when a Regexp matches a String returns 
'global-variable' for $+ FAILED
Expected "$+"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:701
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

18)
The defined? keyword for variables when a Regexp matches a String returns 
'global-variable' for the capture references FAILED
Expected "$1"
 to equal "global-variable"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:705
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:467
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

Finished in 0.245000 seconds

1 file, 185 examples, 221 expectations, 18 failures, 0 errors
{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