Skip to content

Commit

Permalink
updated module and dir baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
jflam committed Jun 26, 2008
1 parent 12f0acd commit da52596
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions 1.8/core/file/open_tags.txt
@@ -1,3 +1,45 @@
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 the file (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 creates the file and returns writable descriptor when called with 'w' mode and r-o permissions
fails:File.open opens the existing file, does not change permissions even when they are specified
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 File::WRONLY mode
fails:File.open opens a file that no exists when use File::RDONLY mode
fails:File.open opens a file that no exists when use 'r' mode
fails:File.open opens a file that no exists when use File::EXCL mode
fails:File.open opens a file that no exists when use File::NONBLOCK mode
fails:File.open opens a file that no exists when use File::TRUNC mode
fails:File.open opens a file that no exists when use File::NOCTTY mode
fails:File.open opens a file that no exists when use File::CREAT mode
fails:File.open can't write in a block when call open with File::WRONLY||File::RDONLY mode
fails:File.open can write in a block when call open with WRONLY mode
fails:File.open can write in a block when call open with 'w' mode
fails:File.open raises an IO exception when read in a block opened with 'a' mode
fails:File.open raises an IO exception when read in a block opened with File::WRONLY|File::APPEND mode
fails:File.open raises an IO exception when read in a block opened with File::RDONLY|File::APPEND mode
fails:File.open can read and write in a block when call open with RDWR mode
fails:File.open can read and write in a block when call open with File::RDWR|File::EXCL mode
fails:File.open raises an Errorno::EEXIST if the file exists when open with File::CREAT|File::EXCL
fails:File.open opens a file when use File::WRONLY|File::APPEND mode
fails:File.open raises an Errorno::EEXIST if the file exists when open with File::RDONLY|File::APPEND
fails:File.open truncates the file when passed File::TRUNC mode
fails:File.open can't read in a block when call open with File::TRUNC mode
fails:File.open opens a file when use File::WRONLY|File::TRUNC mode
fails:File.open can't write in a block when call open with File::TRUNC mode
fails:File.open raises an Errorno::EEXIST if the file exists when open with File::RDONLY|File::TRUNC
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 binary read
fails:File.open opens a file for binary write
fails:File.open opens a file for read-write and truncate the file
fails:File.open opens a file for binary read-write starting at the beginning of the file
fails:File.open opens a file for binary read-write and truncate the file
fails:File.open raises a TypeError if passed a filename that is not a String or Integer type
fails:File.open raises a SystemCallError if passed an invalid Integer type
fails:File.open raises an ArgumentError if passed the wrong number of arguments
fails:File.open raises an ArgumentError if passed an invalid string for mode

0 comments on commit da52596

Please sign in to comment.