[macruby-changes] [1669] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Sat May 30 18:48:30 PDT 2009
Revision: 1669
http://trac.macosforge.org/projects/ruby/changeset/1669
Author: eloy.de.enige at gmail.com
Date: 2009-05-30 18:48:30 -0700 (Sat, 30 May 2009)
Log Message:
-----------
Tagged critical and failing examples of File spec and added File to spec:ci. Had to completely disable the chown and lchown specs as they need Process#euid to work, which currently doesn't on MacRuby.
Modified Paths:
--------------
MacRuby/branches/experimental/rakelib/spec.rake
Added Paths:
-----------
MacRuby/branches/experimental/spec/frozen/core/file/chown_spec_disabled.rb
MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec_disabled.rb
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/atime_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chmod_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chown_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/constants_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/ctime_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/directory_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/executable_real_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/executable_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/exist_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/exists_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/expand_path_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/extname_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/file_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/flock_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/ftype_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/grpowned_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lchmod_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lchown_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/link_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lstat_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/mtime_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/new_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/open_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/path_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/rename_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/setgid_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/setuid_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/split_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/blockdev_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/chardev_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/directory_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/executable_real_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/executable_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/file_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/ftype_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/gid_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/grpowned_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/readable_real_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/readable_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/size_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/symlink_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/uid_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/writable_real_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/writable_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/zero_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/symlink_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/truncate_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/writable_real_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/zero_tags.txt
Removed Paths:
-------------
MacRuby/branches/experimental/spec/frozen/core/file/chown_spec.rb
MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec.rb
Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake 2009-05-31 01:40:35 UTC (rev 1668)
+++ MacRuby/branches/experimental/rakelib/spec.rake 2009-05-31 01:48:30 UTC (rev 1669)
@@ -63,6 +63,7 @@
spec/frozen/core/enumerable
spec/frozen/core/exception
spec/frozen/core/false
+ spec/frozen/core/file
spec/frozen/core/hash
spec/frozen/core/math
spec/frozen/core/method
Deleted: MacRuby/branches/experimental/spec/frozen/core/file/chown_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/file/chown_spec.rb 2009-05-31 01:40:35 UTC (rev 1668)
+++ MacRuby/branches/experimental/spec/frozen/core/file/chown_spec.rb 2009-05-31 01:48:30 UTC (rev 1669)
@@ -1,130 +0,0 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
-
-as_superuser do
- describe "File.chown" do
- before :each do
- @fname = tmp('file_chown_test')
- File.open(@fname, 'w') { }
- end
-
- after :each do
- File.delete @fname if File.exist? @fname
- end
-
- platform_is :windows do
- it "does not modify the owner id of the file" do
- File.chown 0, nil, @fname
- File.stat(@fname).uid.should == 0
- File.chown 501, nil, @fname
- File.stat(@fname).uid.should == 0
- end
-
- it "does not modify the group id of the file" do
- File.chown nil, 0, @fname
- File.stat(@fname).gid.should == 0
- File.chown nil, 501, @fname
- File.stat(@fname).gid.should == 0
- end
- end
-
- platform_is_not :windows do
- it "changes the owner id of the file" do
- File.chown 501, nil, @fname
- File.stat(@fname).uid.should == 501
- File.chown 0, nil, @fname
- File.stat(@fname).uid.should == 0
- end
-
- it "changes the group id of the file" do
- File.chown nil, 501, @fname
- File.stat(@fname).gid.should == 501
- File.chown nil, 0, @fname
- File.stat(@fname).uid.should == 0
- end
-
- it "does not modify the owner id of the file if passed nil or -1" do
- File.chown 501, nil, @fname
- File.chown nil, nil, @fname
- File.stat(@fname).uid.should == 501
- File.chown nil, -1, @fname
- File.stat(@fname).uid.should == 501
- end
-
- it "does not modify the group id of the file if passed nil or -1" do
- File.chown nil, 501, @fname
- File.chown nil, nil, @fname
- File.stat(@fname).gid.should == 501
- File.chown nil, -1, @fname
- File.stat(@fname).gid.should == 501
- end
-
- it "returns the number of files processed" do
- File.chown(nil, nil, @fname, @fname).should == 2
- end
- end
- end
-
- describe "File#chown" do
- before :each do
- @fname = tmp('file_chown_test')
- @file = File.open(@fname, 'w')
- end
-
- after :each do
- @file.close unless @file.closed?
- File.delete @fname if File.exist? @fname
- end
-
- platform_is :windows do
- it "does not modify the owner id of the file" do
- File.chown 0, nil, @fname
- File.stat(@fname).uid.should == 0
- File.chown 501, nil, @fname
- File.stat(@fname).uid.should == 0
- end
-
- it "does not modify the group id of the file" do
- File.chown nil, 0, @fname
- File.stat(@fname).gid.should == 0
- File.chown nil, 501, @fname
- File.stat(@fname).gid.should == 0
- end
- end
-
- platform_is_not :windows do
- it "changes the owner id of the file" do
- @file.chown 501, nil
- @file.stat.uid.should == 501
- @file.chown 0, nil
- @file.stat.uid.should == 0
- end
-
- it "changes the group id of the file" do
- @file.chown nil, 501
- @file.stat.gid.should == 501
- @file.chown nil, 0
- @file.stat.uid.should == 0
- end
-
- it "does not modify the owner id of the file if passed nil or -1" do
- @file.chown 501, nil
- @file.chown nil, nil
- @file.stat.uid.should == 501
- @file.chown nil, -1
- @file.stat.uid.should == 501
- end
-
- it "does not modify the group id of the file if passed nil or -1" do
- @file.chown nil, 501
- @file.chown nil, nil
- @file.stat.gid.should == 501
- @file.chown nil, -1
- @file.stat.gid.should == 501
- end
- end
-
- it "returns 0" do
- @file.chown(nil, nil).should == 0
- end
- end
-end
Copied: MacRuby/branches/experimental/spec/frozen/core/file/chown_spec_disabled.rb (from rev 1668, MacRuby/branches/experimental/spec/frozen/core/file/chown_spec.rb)
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/file/chown_spec_disabled.rb (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/core/file/chown_spec_disabled.rb 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,130 @@
+require File.dirname(__FILE__) + '/../../spec_helper'
+
+as_superuser do
+ describe "File.chown" do
+ before :each do
+ @fname = tmp('file_chown_test')
+ File.open(@fname, 'w') { }
+ end
+
+ after :each do
+ File.delete @fname if File.exist? @fname
+ end
+
+ platform_is :windows do
+ it "does not modify the owner id of the file" do
+ File.chown 0, nil, @fname
+ File.stat(@fname).uid.should == 0
+ File.chown 501, nil, @fname
+ File.stat(@fname).uid.should == 0
+ end
+
+ it "does not modify the group id of the file" do
+ File.chown nil, 0, @fname
+ File.stat(@fname).gid.should == 0
+ File.chown nil, 501, @fname
+ File.stat(@fname).gid.should == 0
+ end
+ end
+
+ platform_is_not :windows do
+ it "changes the owner id of the file" do
+ File.chown 501, nil, @fname
+ File.stat(@fname).uid.should == 501
+ File.chown 0, nil, @fname
+ File.stat(@fname).uid.should == 0
+ end
+
+ it "changes the group id of the file" do
+ File.chown nil, 501, @fname
+ File.stat(@fname).gid.should == 501
+ File.chown nil, 0, @fname
+ File.stat(@fname).uid.should == 0
+ end
+
+ it "does not modify the owner id of the file if passed nil or -1" do
+ File.chown 501, nil, @fname
+ File.chown nil, nil, @fname
+ File.stat(@fname).uid.should == 501
+ File.chown nil, -1, @fname
+ File.stat(@fname).uid.should == 501
+ end
+
+ it "does not modify the group id of the file if passed nil or -1" do
+ File.chown nil, 501, @fname
+ File.chown nil, nil, @fname
+ File.stat(@fname).gid.should == 501
+ File.chown nil, -1, @fname
+ File.stat(@fname).gid.should == 501
+ end
+
+ it "returns the number of files processed" do
+ File.chown(nil, nil, @fname, @fname).should == 2
+ end
+ end
+ end
+
+ describe "File#chown" do
+ before :each do
+ @fname = tmp('file_chown_test')
+ @file = File.open(@fname, 'w')
+ end
+
+ after :each do
+ @file.close unless @file.closed?
+ File.delete @fname if File.exist? @fname
+ end
+
+ platform_is :windows do
+ it "does not modify the owner id of the file" do
+ File.chown 0, nil, @fname
+ File.stat(@fname).uid.should == 0
+ File.chown 501, nil, @fname
+ File.stat(@fname).uid.should == 0
+ end
+
+ it "does not modify the group id of the file" do
+ File.chown nil, 0, @fname
+ File.stat(@fname).gid.should == 0
+ File.chown nil, 501, @fname
+ File.stat(@fname).gid.should == 0
+ end
+ end
+
+ platform_is_not :windows do
+ it "changes the owner id of the file" do
+ @file.chown 501, nil
+ @file.stat.uid.should == 501
+ @file.chown 0, nil
+ @file.stat.uid.should == 0
+ end
+
+ it "changes the group id of the file" do
+ @file.chown nil, 501
+ @file.stat.gid.should == 501
+ @file.chown nil, 0
+ @file.stat.uid.should == 0
+ end
+
+ it "does not modify the owner id of the file if passed nil or -1" do
+ @file.chown 501, nil
+ @file.chown nil, nil
+ @file.stat.uid.should == 501
+ @file.chown nil, -1
+ @file.stat.uid.should == 501
+ end
+
+ it "does not modify the group id of the file if passed nil or -1" do
+ @file.chown nil, 501
+ @file.chown nil, nil
+ @file.stat.gid.should == 501
+ @file.chown nil, -1
+ @file.stat.gid.should == 501
+ end
+ end
+
+ it "returns 0" do
+ @file.chown(nil, nil).should == 0
+ end
+ end
+end
Deleted: MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec.rb 2009-05-31 01:40:35 UTC (rev 1668)
+++ MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec.rb 2009-05-31 01:48:30 UTC (rev 1669)
@@ -1,59 +0,0 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
-
-as_superuser do
- describe "File.lchown" do
- platform_is_not :windows do
- before :each do
- @fname = tmp('file_chown_test')
- @lname = @fname + '.lnk'
- File.delete @fname rescue nil
- File.delete @lname rescue nil
- File.open(@fname, 'w') { |f| f.chown 501, 501 }
- File.symlink @fname, @lname
- end
-
- after :each do
- File.delete @fname if File.exist? @fname
- File.delete @lname if File.exist? @lname
- end
-
- it "changes the owner id of the file" do
- File.lchown 502, nil, @lname
- File.stat(@fname).uid.should == 501
- File.lstat(@lname).uid.should == 502
- File.lchown 0, nil, @lname
- File.stat(@fname).uid.should == 501
- File.lstat(@lname).uid.should == 0
- end
-
- it "changes the group id of the file" do
- File.lchown nil, 502, @lname
- File.stat(@fname).gid.should == 501
- File.lstat(@lname).gid.should == 502
- File.lchown nil, 0, @lname
- File.stat(@fname).uid.should == 501
- File.lstat(@lname).uid.should == 0
- end
-
- it "does not modify the owner id of the file if passed nil or -1" do
- File.lchown 502, nil, @lname
- File.lchown nil, nil, @lname
- File.lstat(@lname).uid.should == 502
- File.lchown nil, -1, @lname
- File.lstat(@lname).uid.should == 502
- end
-
- it "does not modify the group id of the file if passed nil or -1" do
- File.lchown nil, 502, @lname
- File.lchown nil, nil, @lname
- File.lstat(@lname).gid.should == 502
- File.lchown nil, -1, @lname
- File.lstat(@lname).gid.should == 502
- end
-
- it "returns the number of files processed" do
- File.lchown(nil, nil, @lname, @lname).should == 2
- end
- end
- end
-end
Copied: MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec_disabled.rb (from rev 1668, MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec.rb)
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec_disabled.rb (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/core/file/lchown_spec_disabled.rb 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,59 @@
+require File.dirname(__FILE__) + '/../../spec_helper'
+
+as_superuser do
+ describe "File.lchown" do
+ platform_is_not :windows do
+ before :each do
+ @fname = tmp('file_chown_test')
+ @lname = @fname + '.lnk'
+ File.delete @fname rescue nil
+ File.delete @lname rescue nil
+ File.open(@fname, 'w') { |f| f.chown 501, 501 }
+ File.symlink @fname, @lname
+ end
+
+ after :each do
+ File.delete @fname if File.exist? @fname
+ File.delete @lname if File.exist? @lname
+ end
+
+ it "changes the owner id of the file" do
+ File.lchown 502, nil, @lname
+ File.stat(@fname).uid.should == 501
+ File.lstat(@lname).uid.should == 502
+ File.lchown 0, nil, @lname
+ File.stat(@fname).uid.should == 501
+ File.lstat(@lname).uid.should == 0
+ end
+
+ it "changes the group id of the file" do
+ File.lchown nil, 502, @lname
+ File.stat(@fname).gid.should == 501
+ File.lstat(@lname).gid.should == 502
+ File.lchown nil, 0, @lname
+ File.stat(@fname).uid.should == 501
+ File.lstat(@lname).uid.should == 0
+ end
+
+ it "does not modify the owner id of the file if passed nil or -1" do
+ File.lchown 502, nil, @lname
+ File.lchown nil, nil, @lname
+ File.lstat(@lname).uid.should == 502
+ File.lchown nil, -1, @lname
+ File.lstat(@lname).uid.should == 502
+ end
+
+ it "does not modify the group id of the file if passed nil or -1" do
+ File.lchown nil, 502, @lname
+ File.lchown nil, nil, @lname
+ File.lstat(@lname).gid.should == 502
+ File.lchown nil, -1, @lname
+ File.lstat(@lname).gid.should == 502
+ end
+
+ it "returns the number of files processed" do
+ File.lchown(nil, nil, @lname, @lname).should == 2
+ end
+ end
+ end
+end
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/atime_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/atime_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/atime_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File#atime returns the last access time to self
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chmod_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chmod_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chmod_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,9 @@
+fails:File#chmod returns 0 if successful
+fails:File#chmod always succeeds with any numeric values
+fails:File#chmod invokes to_int on non-integer argument
+fails:File#chmod with '0222' makes file writable but not readable or executable
+fails:File#chmod with '0444' makes file readable but not writable or executable
+fails:File#chmod with '0666' makes file readable and writable but not executable
+fails:File#chmod with '0111' makes file executable but not readable or writable
+fails:File#chmod modifies the permission bits of the files specified
+fails:File.chmod throws a TypeError if the given path is not coercable into a string
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chown_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chown_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chown_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:An exception occurred during: loading /Users/eloy/Documents/DEVELOPMENT/MacRuby/git-svn-roxor/./spec/frozen/core/file/chown_spec.rb
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/constants_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/constants_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/constants_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,12 @@
+fails:File::Constants File::RDONLY
+fails:File::Constants File::WRONLY
+fails:File::Constants File::CREAT
+fails:File::Constants File::RDWR
+fails:File::Constants File::APPEND
+fails:File::Constants File::TRUNC
+fails:File::Constants File::NOCTTY
+fails:File::Constants File::NONBLOCK
+fails:File::Constants File::LOCK_EX
+fails:File::Constants File::LOCK_NB
+fails:File::Constants File::LOCK_SH
+fails:File::Constants File::LOCK_UN
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/ctime_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/ctime_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/ctime_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File#ctime Returns the change time for the named file (the time at which directory information about the file was changed, not the file itself).
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/directory_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/directory_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/directory_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.directory? raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/executable_real_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/executable_real_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/executable_real_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.executable_real? raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/executable_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/executable_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/executable_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.executable? raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/exist_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/exist_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/exist_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.exist? raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/exists_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/exists_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/exists_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.exists? raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/expand_path_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/expand_path_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/expand_path_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,7 @@
+critical:File.expand_path raises an ArgumentError is not passed one or two arguments
+critical:File.expand_path raises a TypeError if not passed a String type
+fails:File.expand_path converts a pathname to an absolute pathname, using a complete path
+fails:File.expand_path expand path with
+fails:File.expand_path expand_path for commoms unix path give a full path
+fails:File.expand_path raises an ArgumentError if the path is not valid
+fails:File.expand_path expands /./dir to /dir
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/extname_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/extname_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/extname_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.extname raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/file_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/file_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/file_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.file? raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/flock_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/flock_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/flock_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+critical:File#flock should lock a file
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/ftype_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/ftype_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/ftype_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,9 @@
+fails:File.ftype raises ArgumentError if not given exactly one filename
+fails:File.ftype returns a String
+fails:File.ftype returns 'file' when the file is a file
+fails:File.ftype returns 'directory' when the file is a dir
+fails:File.ftype returns 'blockSpecial' when the file is a block
+fails:File.ftype returns 'characterSpecial' when the file is a char
+fails:File.ftype returns 'link' when the file is a link
+fails:File.ftype returns fifo when the file is a fifo
+fails:File.ftype returns 'socket' when the file is a socket
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/grpowned_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/grpowned_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/grpowned_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.grpowned? return true if the file exist
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,4 @@
+critical:File.join raises an ArgumentError if passed a recursive array
+fails:File.join handles leading parts edge cases
+fails:File.join handles trailing parts edge cases
+fails:File.join handles middle parts edge cases
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lchmod_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lchmod_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lchmod_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:An exception occurred during: File.lchmod
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lchown_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lchown_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lchown_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:An exception occurred during: loading /Users/eloy/Documents/DEVELOPMENT/MacRuby/git-svn-roxor/./spec/frozen/core/file/lchown_spec.rb
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/link_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/link_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/link_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.link raises an ArgumentError if not passed two arguments
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lstat_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lstat_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/lstat_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.lstat should be able to use the instance methods
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/mtime_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/mtime_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/mtime_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File#mtime returns the modification Time of the file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/new_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/new_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/new_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,12 @@
+critical:File.new return a new File with mode num
+critical:File.new return a new File with modus num and permissions
+critical:File.new create a new file when use File::EXCL mode
+critical:File.new raises an Errorno::EEXIST if the file exists when create a new file with File::CREAT|File::EXCL
+critical:File.new create a new file when use File::WRONLY|File::APPEND mode
+critical:File.new raises an Errno::EINVAL error with File::APPEND
+critical:File.new raises an Errno::EINVAL error with File::RDONLY|File::APPEND
+critical:File.new raises an Errno::EINVAL error with File::RDONLY|File::WRONLY
+critical:File.new create a new file when use File::WRONLY|File::TRUNC mode
+fails:File.new return a new File with modus fd
+fails:File.new expected errors
+fails:File.new can't alter mode or permissions when opening a file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/open_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/open_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/open_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,47 @@
+critical:File.open opens a file with mode num
+critical:File.open opens the file when passed mode, num and permissions
+critical:File.open opens a file that no exists when use File::WRONLY mode
+critical:File.open opens a file that no exists when use File::RDONLY mode
+critical:File.open opens a file that no exists when use File::EXCL mode
+critical:File.open opens a file that no exists when use File::NONBLOCK mode
+critical:File.open opens a file that no exists when use File::TRUNC mode
+critical:File.open opens a file that no exists when use File::NOCTTY mode
+critical:File.open opens a file that no exists when use File::CREAT mode
+critical:File.open can read in a block when call open with RDONLY mode
+critical:File.open raises an IO exception when write in a block opened with RDONLY mode
+critical:File.open can't write in a block when call open with File::WRONLY||File::RDONLY mode
+critical:File.open can't read in a block when call open with File::WRONLY||File::RDONLY mode
+critical:File.open can write in a block when call open with WRONLY mode
+critical:File.open raises an IOError when read in a block opened with WRONLY mode
+critical:File.open raises an IOError when read in a block opened with 'a' mode
+critical:File.open raises an IOError when read in a block opened with File::WRONLY|File::APPEND mode
+critical:File.open raises an IOError when read in a block opened with File::RDONLY|File::APPEND mode
+critical:File.open can read and write in a block when call open with RDWR mode
+critical:File.open can't read in a block when call open with File::EXCL mode
+critical:File.open can read in a block when call open with File::EXCL mode
+critical:File.open can read and write in a block when call open with File::RDWR|File::EXCL mode
+critical:File.open raises an Errorno::EEXIST if the file exists when open with File::CREAT|File::EXCL
+critical:File.open create a new file when use File::WRONLY|File::APPEND mode
+critical:File.open opens a file when use File::WRONLY|File::APPEND mode
+critical:File.open raises an IOError if the file exists when open with File::RDONLY|File::APPEND
+critical:File.open truncates the file when passed File::TRUNC mode
+critical:File.open can't read in a block when call open with File::TRUNC mode
+critical:File.open opens a file when use File::WRONLY|File::TRUNC mode
+critical:File.open can't write in a block when call open with File::TRUNC mode
+critical:File.open raises an Errorno::EEXIST if the file exists when open with File::RDONLY|File::TRUNC
+fails:File.open with a block invokes close on opened file when exiting the block
+fails:File.open with a block propagates non-StandardErrors produced by close
+fails:File.open opens file when call with a block (basic case)
+fails:File.open opens a file with mode string and block
+fails:File.open opens a file with mode num and block
+fails:File.open opens the file when passed mode, num, permissions and block
+fails:File.open creates a new write-only file when invoked with 'w' and '0222'
+fails:File.open opens the file when call with fd
+fails:File.open opens a file with a file descriptor d and a block
+fails:File.open opens a file that no exists when use 'r' mode
+fails:File.open raises an IOError when read in a block opened with 'w' mode
+fails:File.open raises an Errno::EACCES when opening non-permitted file
+fails:File.open raises an Errno::EACCES when opening read-only file
+fails:File.open opens a file for read-write and truncate the file
+fails:File.open opens a file for binary read-write and truncate the file
+fails:File.open raises a SystemCallError if passed an invalid Integer type
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/path_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/path_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/path_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File#path returns the pathname used to create file as a string
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/rename_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/rename_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/rename_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.rename raises an ArgumentError if not passed two arguments
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/setgid_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/setgid_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/setgid_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+critical:File.setgid? should return true when the gid bit is set
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/setuid_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/setuid_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/setuid_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+critical:File.setuid? should return true when the gid bit is set
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/split_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/split_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/split_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.split raises an ArgumentError when not passed a single argument
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/blockdev_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/blockdev_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/blockdev_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#blockdev? returns true/false depending if the named file is a block device
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/chardev_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/chardev_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/chardev_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#chardev? returns true/false depending if the named file is a char device
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/directory_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/directory_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/directory_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#directory? return true if dir is a directory, otherwise return false
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/executable_real_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/executable_real_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/executable_real_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,2 @@
+fails:File::Stat#executable_real? returns true if the file its an executable
+fails:File::Stat#executable_real? returns true if named file is readable by the real user id of the process, otherwise false
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/executable_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/executable_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/executable_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,2 @@
+fails:File::Stat#executable? returns true if named file is executable by the effective user id of the process, otherwise false
+fails:File::Stat#executable? return true if the argument is an executable file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/file_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/file_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/file_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,2 @@
+fails:File::Stat#file? returns true if the named file exists and is a regular file.
+fails:File::Stat#file? return true if the null device exists and is a regular file.
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/ftype_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/ftype_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/ftype_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,8 @@
+fails:File::Stat#ftype returns a String
+fails:File::Stat#ftype returns 'file' when the file is a file
+fails:File::Stat#ftype returns 'directory' when the file is a dir
+fails:File::Stat#ftype returns 'characterSpecial' when the file is a char
+fails:File::Stat#ftype returns 'blockSpecial' when the file is a block
+fails:File::Stat#ftype returns 'link' when the file is a link
+fails:File::Stat#ftype returns fifo when the file is a fifo
+fails:File::Stat#ftype returns 'socket' when the file is a socket
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/gid_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/gid_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/gid_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,2 @@
+fails:An exception occurred during: before :each
+fails:File::Stat#gid should be able to determine the group owner through a File::Stat object
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/grpowned_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/grpowned_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/grpowned_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#grpowned? return true if the file exist
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/readable_real_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/readable_real_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/readable_real_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#readable_real? returns true if named file is readable by the real user id of the process, otherwise false
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/readable_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/readable_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/readable_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#readable? returns true if named file is readable by the effective user id of the process, otherwise false
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/size_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/size_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/size_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,2 @@
+fails:File::Stat#size? returns nil if the file has zero size
+fails:File::Stat#size? returns the size of the file if it exists and is not empty
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/symlink_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/symlink_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/symlink_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#symlink? returns true if the file is a link
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/uid_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/uid_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/uid_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#uid should be able to determine the owner through a File::Stat object
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/writable_real_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/writable_real_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/writable_real_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,2 @@
+fails:File::Stat#writable_real? returns true if named file is writable by the real user id of the process, otherwise false
+fails:File::Stat#writable_real? raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/writable_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/writable_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/writable_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File::Stat#writable? returns true if named file is writable by the effective user id of the process, otherwise false
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/zero_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/zero_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/stat/zero_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,6 @@
+fails:File::Stat#zero? returns true if the file is empty
+fails:File::Stat#zero? returns false if the file is not empty
+fails:File::Stat#zero? returns true for /dev/null
+fails:File::Stat#zero? raises an ArgumentError if not passed one argument
+fails:File::Stat#zero? returns true inside a block opening a file if it is empty
+fails:File::Stat#zero? returns false for a directory
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/symlink_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/symlink_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/symlink_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.symlink raises an ArgumentError if not called with two arguments
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/truncate_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/truncate_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/truncate_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1,11 @@
+fails:File.truncate raises an ArgumentError if not passed two arguments
+fails:File#truncate truncates a file
+fails:File#truncate truncates a file size to 0
+fails:File#truncate truncates a file size to 5
+fails:File#truncate truncates a file to a larger size than the original file
+fails:File#truncate truncates a file to the same size as the original file
+fails:File#truncate raises an ArgumentError if not passed one argument
+fails:File#truncate raises an Errno::EINVAL if the length argument is not valid
+fails:File#truncate raises an IOError if file is closed
+fails:File#truncate raises an IOError if file is not opened for writing
+fails:File#truncate raises a TypeError if not passed an Integer type for the for the argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/writable_real_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/writable_real_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/writable_real_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.writable_real? raises an ArgumentError if not passed one argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/zero_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/zero_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/zero_tags.txt 2009-05-31 01:48:30 UTC (rev 1669)
@@ -0,0 +1 @@
+fails:File.zero? raises an ArgumentError if not passed one argument
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090530/eaed5469/attachment-0001.html>
More information about the macruby-changes
mailing list