Skip to content

Commit

Permalink
Tag failing specs.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4985 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
alloy committed Dec 6, 2010
1 parent 2bb5ffb commit 72c55a8
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 0 deletions.
@@ -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
20 changes: 20 additions & 0 deletions spec/frozen/tags/macruby/core/kernel/require_relative_tags.txt
@@ -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
1 change: 1 addition & 0 deletions spec/frozen/tags/macruby/core/module/class_exec_tags.txt
@@ -0,0 +1 @@
fails:Module#class_exec defines method in the receiver's scope
1 change: 1 addition & 0 deletions spec/frozen/tags/macruby/core/module/module_exec_tags.txt
@@ -0,0 +1 @@
fails:Module#class_exec defines method in the receiver's scope
6 changes: 6 additions & 0 deletions spec/frozen/tags/macruby/core/numeric/step_tags.txt
@@ -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
1 change: 1 addition & 0 deletions spec/frozen/tags/macruby/core/proc/new_tags.txt
@@ -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
1 change: 1 addition & 0 deletions spec/frozen/tags/macruby/core/threadgroup/add_tags.txt
@@ -0,0 +1 @@
fails:ThreadGroup#add adds the given thread to a group and returns self
1 change: 1 addition & 0 deletions spec/frozen/tags/macruby/core/time/_dump_tags.txt
@@ -0,0 +1 @@
fails:Time#_dump dumps like MRI's marshaled time format

0 comments on commit 72c55a8

Please sign in to comment.