[macruby-changes] [4985] MacRuby/trunk/spec/frozen/tags/macruby/core

source_changes at macosforge.org source_changes at macosforge.org
Mon Dec 6 14:06:20 PST 2010


Revision: 4985
          http://trac.macosforge.org/projects/ruby/changeset/4985
Author:   eloy.de.enige at gmail.com
Date:     2010-12-06 14:06:17 -0800 (Mon, 06 Dec 2010)
Log Message:
-----------
Tag failing specs.

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/proc/new_tags.txt

Added Paths:
-----------
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/stat/
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/stat/world_writable_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/require_relative_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/module/class_exec_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/module/module_exec_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/step_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/threadgroup/add_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/time/_dump_tags.txt

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/stat/world_writable_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/stat/world_writable_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/stat/world_writable_tags.txt	2010-12-06 22:06:17 UTC (rev 4985)
@@ -0,0 +1,6 @@
+fails:file_world_writable returns nil if the file is chmod 600
+fails:file_world_writable returns nil if the file is chmod 000
+fails:file_world_writable returns nil if the file is chmod 700
+fails:file_world_writable returns a Fixnum if the file is chmod 777
+fails:file_world_writable returns a Fixnum if the file is a directory and chmod 777
+fails:file_world_writable coerces the argument with #to_path

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/require_relative_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/require_relative_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/require_relative_tags.txt	2010-12-06 22:06:17 UTC (rev 4985)
@@ -0,0 +1,20 @@
+fails:Kernel#require_relative loads a path relative to the current file
+fails:Kernel#require_relative loads a file defining many methods
+fails:Kernel#require_relative raises a LoadError if the file does not exist
+fails:Kernel#require_relative calls #to_str on non-String objects
+fails:Kernel#require_relative raises a TypeError if argument does not respond to #to_str
+fails:Kernel#require_relative raises a TypeError if passed an object that has #to_s but not #to_str
+fails:Kernel#require_relative raises a TypeError if #to_str does not return a String
+fails:Kernel#require_relative calls #to_path on non-String objects
+fails:Kernel#require_relative calls #to_str on non-String objects returned by #to_path
+fails:Kernel#require_relative (file extensions) loads a .rb extensioned file when passed a non-extensioned path
+fails:Kernel#require_relative (file extensions) loads a .rb extensioned file when a C-extension file of the same name is loaded
+fails:Kernel#require_relative (file extensions) does not load a C-extension file if a .rb extensioned file is already loaded
+fails:Kernel#require_relative (file extensions) loads a .rb extensioned file when passed a non-.rb extensioned path
+fails:Kernel#require_relative (file extensions) loads a .rb extensioned file when a complex-extensioned C-extension file of the same name is loaded
+fails:Kernel#require_relative (file extensions) does not load a C-extension file if a complex-extensioned .rb file is already loaded
+fails:Kernel#require_relative ($LOAD_FEATURES) stores an absolute path
+fails:Kernel#require_relative ($LOAD_FEATURES) does not store the path if the load fails
+fails:Kernel#require_relative ($LOAD_FEATURES) does not load an absolute path that is already stored
+fails:Kernel#require_relative ($LOAD_FEATURES) adds the suffix of the resolved filename
+fails:Kernel#require_relative ($LOAD_FEATURES) loads a path for a file already loaded with a relative path

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/module/class_exec_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/module/class_exec_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/module/class_exec_tags.txt	2010-12-06 22:06:17 UTC (rev 4985)
@@ -0,0 +1 @@
+fails:Module#class_exec defines method in the receiver's scope

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/module/module_exec_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/module/module_exec_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/module/module_exec_tags.txt	2010-12-06 22:06:17 UTC (rev 4985)
@@ -0,0 +1 @@
+fails:Module#class_exec defines method in the receiver's scope

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/step_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/step_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/step_tags.txt	2010-12-06 22:06:17 UTC (rev 4985)
@@ -0,0 +1,6 @@
+fails:Numeric#step with [stop, +infinity] yields once if self < stop
+fails:Numeric#step with [stop, +infinity] yields once when self equals stop
+fails:Numeric#step with [stop, +infinity] does not yield when self > stop
+fails:Numeric#step with [stop, -infinity] yields once if self > stop
+fails:Numeric#step with [stop, -infinity] yields once when self equals stop
+fails:Numeric#step with [stop, -infinity] does not yield when self > stop

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/proc/new_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/proc/new_tags.txt	2010-12-06 22:05:47 UTC (rev 4984)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/proc/new_tags.txt	2010-12-06 22:06:17 UTC (rev 4985)
@@ -1 +1,2 @@
 fails:Proc.new with an associated block raises a LocalJumpError when context of the block no longer exists
+fails:Proc.new with an associated block called on a subclass of Proc using a reified block parameter returns an instance of the subclass

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/threadgroup/add_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/threadgroup/add_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/threadgroup/add_tags.txt	2010-12-06 22:06:17 UTC (rev 4985)
@@ -0,0 +1 @@
+fails:ThreadGroup#add adds the given thread to a group and returns self

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/time/_dump_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/time/_dump_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/time/_dump_tags.txt	2010-12-06 22:06:17 UTC (rev 4985)
@@ -0,0 +1 @@
+fails:Time#_dump dumps like MRI's marshaled time format
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101206/8f43c118/attachment.html>


More information about the macruby-changes mailing list