[macruby-changes] [2499] MacRuby/trunk/spec/frozen

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 5 22:19:35 PDT 2009


Revision: 2499
          http://trac.macosforge.org/projects/ruby/changeset/2499
Author:   lsansonetti at apple.com
Date:     2009-09-05 22:19:35 -0700 (Sat, 05 Sep 2009)
Log Message:
-----------
removing tags for specs that now pass

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/language/constants_spec.rb
    MacRuby/trunk/spec/frozen/tags/macruby/language/class_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/constants_tags.txt

Modified: MacRuby/trunk/spec/frozen/language/constants_spec.rb
===================================================================
--- MacRuby/trunk/spec/frozen/language/constants_spec.rb	2009-09-06 05:19:06 UTC (rev 2498)
+++ MacRuby/trunk/spec/frozen/language/constants_spec.rb	2009-09-06 05:19:35 UTC (rev 2499)
@@ -1,8 +1,6 @@
 require File.dirname(__FILE__) + '/../spec_helper'
+require File.dirname(__FILE__) + '/../fixtures/constants'
 
-# MacRuby TODO: This file does not compile yet, causing most examples to fail.
-#require File.dirname(__FILE__) + '/../fixtures/constants'
-
 # Read the documentation in fixtures/constants.rb for the guidelines and
 # rationale for the structure and organization of these specs.
 
@@ -110,7 +108,7 @@
         ConstantSpecs::ContainerB::ChildB::CS_CONST108
       end.should raise_error(NameError)
 
-      module ConstantSpecs
+      module ::ConstantSpecs
         class << self
           CS_CONST108 = :const108_2
         end

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/class_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/class_tags.txt	2009-09-06 05:19:06 UTC (rev 2498)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/class_tags.txt	2009-09-06 05:19:35 UTC (rev 2499)
@@ -1 +1,2 @@
-fails:A class definition raises TypeError if constant given as class name exists and is not a Module
+# This spec is marked as failing because it messes the top level object, probably a bug in #eval
+fails:A Class Definitions extending an object raises a TypeError when trying to extend numbers

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/constants_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/constants_tags.txt	2009-09-06 05:19:06 UTC (rev 2498)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/constants_tags.txt	2009-09-06 05:19:35 UTC (rev 2499)
@@ -1,39 +1,4 @@
-fails:Literal (A::X) constant resolution sends #const_missing to the original class or module scope
-fails:Literal (A::X) constant resolution evaluates the qualifier
-fails:Literal (A::X) constant resolution raises a TypeError if a non-class or non-module qualifier is given
-fails:Literal (A::X) constant resolution with statically assigned constants searches the immediate class or module scope first
-fails:Literal (A::X) constant resolution with statically assigned constants searches a module included in the immediate class before the superclass
-fails:Literal (A::X) constant resolution with statically assigned constants searches the superclass before a module included in the superclass
-fails:Literal (A::X) constant resolution with statically assigned constants searches a module included in the superclass
-fails:Literal (A::X) constant resolution with statically assigned constants searches the superclass chain
-fails:Literal (A::X) constant resolution with statically assigned constants searches Object if no class or module qualifier is given
-fails:Literal (A::X) constant resolution with statically assigned constants searches Object if a toplevel qualifier (::X) is given
-fails:Literal (A::X) constant resolution with dynamically assigned constants searches the immediate class or module scope first
-fails:Literal (A::X) constant resolution with dynamically assigned constants searches a module included in the immediate class before the superclass
-fails:Literal (A::X) constant resolution with dynamically assigned constants searches the superclass before a module included in the superclass
-fails:Literal (A::X) constant resolution with dynamically assigned constants searches a module included in the superclass
-fails:Literal (A::X) constant resolution with dynamically assigned constants searches the superclass chain
-fails:Literal (A::X) constant resolution with dynamically assigned constants does not search the singleton class of the class or module
-fails:Literal (A::X) constant resolution with dynamically assigned constants returns the updated value when a constant is reassigned
-fails:Constant resolution within methods sends #const_missing to the original class or module scope
-fails:Constant resolution within methods with statically assigned constants searches the immediate class or module scope first
-fails:Constant resolution within methods with statically assigned constants searches a module included in the immediate class before the superclass
-fails:Constant resolution within methods with statically assigned constants searches the superclass before a module included in the superclass
-fails:Constant resolution within methods with statically assigned constants searches a module included in the superclass
-fails:Constant resolution within methods with statically assigned constants searches the superclass chain
-fails:Constant resolution within methods with statically assigned constants searches the lexical scope of the method not the receiver's immediate class
-fails:Constant resolution within methods with statically assigned constants searches the lexical scope of a singleton method
-fails:Constant resolution within methods with statically assigned constants searches the lexical scope of a block
 fails:Constant resolution within methods with statically assigned constants searches Object as a lexical scope only if Object is explicitly opened
-fails:Constant resolution within methods with dynamically assigned constants searches the immediate class or module scope first
-fails:Constant resolution within methods with dynamically assigned constants searches a module included in the immediate class before the superclass
-fails:Constant resolution within methods with dynamically assigned constants searches the superclass before a module included in the superclass
-fails:Constant resolution within methods with dynamically assigned constants searches a module included in the superclass
-fails:Constant resolution within methods with dynamically assigned constants searches the superclass chain
-fails:Constant resolution within methods with dynamically assigned constants searches the lexical scope of the method not the receiver's immediate class
-fails:Constant resolution within methods with dynamically assigned constants searches the lexical scope of a singleton method
-fails:Constant resolution within methods with dynamically assigned constants does not search the lexical scope of the caller
-fails:Constant resolution within methods with dynamically assigned constants searches the lexical scope of a block
+fails:Constant resolution within methods with statically assigned constants does not search the lexical scope of qualifying modules
 fails:Constant resolution within methods with dynamically assigned constants searches Object as a lexical scope only if Object is explicitly opened
-fails:Constant resolution within methods with dynamically assigned constants returns the updated value when a constant is reassigned
-fails:Constant resolution within methods with dynamically assigned constants does not search the lexical scope of qualifying modules
\ No newline at end of file
+fails:Constant resolution within methods with dynamically assigned constants does not search the lexical scope of qualifying modules
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090905/23624ef1/attachment-0001.html>


More information about the macruby-changes mailing list