[macruby-changes] [1663] MacRuby/branches/experimental

source_changes at macosforge.org source_changes at macosforge.org
Sat May 30 17:19:31 PDT 2009


Revision: 1663
          http://trac.macosforge.org/projects/ruby/changeset/1663
Author:   eloy.de.enige at gmail.com
Date:     2009-05-30 17:19:31 -0700 (Sat, 30 May 2009)
Log Message:
-----------
Tagged critical and failing examples of Method spec and added Method to spec:ci.

Modified Paths:
--------------
    MacRuby/branches/experimental/rakelib/spec.rake

Added Paths:
-----------
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/call_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/clone_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/element_reference_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/inspect_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/owner_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/to_proc_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/to_s_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/unbind_tags.txt

Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake	2009-05-31 00:19:16 UTC (rev 1662)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-05-31 00:19:31 UTC (rev 1663)
@@ -62,6 +62,7 @@
     spec/frozen/core/false
     spec/frozen/core/hash
     spec/frozen/core/math
+    spec/frozen/core/method
     spec/frozen/core/nil
     spec/frozen/core/numeric
     spec/frozen/core/object

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/call_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/call_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/call_tags.txt	2009-05-31 00:19:31 UTC (rev 1663)
@@ -0,0 +1 @@
+critical:Method#call invokes the method with the specified arguments, returning the method's return value
\ No newline at end of file

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/clone_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/clone_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/clone_tags.txt	2009-05-31 00:19:31 UTC (rev 1663)
@@ -0,0 +1 @@
+fails:Method#clone returns a copy of the method

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/element_reference_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/element_reference_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/element_reference_tags.txt	2009-05-31 00:19:31 UTC (rev 1663)
@@ -0,0 +1 @@
+critical:Method#[] invokes the method with the specified arguments, returning the method's return value
\ No newline at end of file

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/inspect_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/inspect_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/inspect_tags.txt	2009-05-31 00:19:31 UTC (rev 1663)
@@ -0,0 +1,3 @@
+fails:Method#inspect returns a String
+fails:Method#inspect returns a String for methods defined with attr_accessor
+fails:Method#inspect returns a String containing the Module the method is defined in

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/owner_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/owner_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/owner_tags.txt	2009-05-31 00:19:31 UTC (rev 1663)
@@ -0,0 +1,3 @@
+fails:Method#owner returns the owner of the method
+fails:Method#owner returns the class/module it was defined in
+fails:Method#owner returns the name even when aliased
\ No newline at end of file

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/to_proc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/to_proc_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/to_proc_tags.txt	2009-05-31 00:19:31 UTC (rev 1663)
@@ -0,0 +1,2 @@
+fails:Method#to_proc Proc object should have the correct arity
+fails:Method#to_proc returns a proc that can be used by define_method

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/to_s_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/to_s_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/to_s_tags.txt	2009-05-31 00:19:31 UTC (rev 1663)
@@ -0,0 +1,3 @@
+fails:Method#to_s returns a String
+fails:Method#to_s returns a String for methods defined with attr_accessor
+fails:Method#to_s returns a String containing the Module the method is defined in

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/unbind_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/unbind_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/unbind_tags.txt	2009-05-31 00:19:31 UTC (rev 1663)
@@ -0,0 +1 @@
+fails:Method#unbind returns a String containing the Module the method is defined in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090530/7d00d3ff/attachment-0001.html>


More information about the macruby-changes mailing list