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

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 4 21:49:48 PDT 2009


Revision: 2483
          http://trac.macosforge.org/projects/ruby/changeset/2483
Author:   lsansonetti at apple.com
Date:     2009-09-04 21:49:48 -0700 (Fri, 04 Sep 2009)
Log Message:
-----------
untagging IO specs that now pass

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/chars_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_write_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_char_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_line_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/for_fd_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/gets_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/new_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/popen_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/print_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/read_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/readpartial_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/reopen_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/syswrite_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/ungetc_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/write_tags.txt

Removed Paths:
-------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/bytes_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_read_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_byte_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/eof_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/stat_tags.txt

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/io/bytes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/bytes_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/bytes_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,2 +0,0 @@
-fails:IO#bytes returns an enumerator of the next bytes from the stream
-fails:IO#bytes raises IOError on closed stream

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/chars_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/chars_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/chars_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,2 +1 @@
 fails:IO#chars returns an enumerator of the next chars from the stream
-fails:IO#chars raises IOError on closed stream

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_read_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_read_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_read_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,3 +0,0 @@
-fails:IO#close_read raises an IOError on subsequent invocations
-fails:IO#close_read raises an IOError if the stream is writable and not duplexed
-fails:IO#close_read raises IOError on closed stream

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,4 +1,3 @@
-fails:IO#close raises an IOError on subsequent invocations
 fails:IO#close raises when a file descriptor is closed twice
 fails:IO#close on an IO.popen stream sets $?
 fails:IO#close on an IO.popen stream waits for the child to exit

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_write_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_write_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/close_write_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,4 +1 @@
-fails:IO#close_write raises an IOError on subsequent invocations
 fails:IO#close_write raises an IOError if the stream is readable and not duplexed
-fails:IO#close_write raises IOError on closed stream
-fails:IO#close_write flushes and closes the write stream

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_byte_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_byte_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_byte_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,2 +0,0 @@
-fails:IO#each_byte yields each byte
-fails:IO#each_byte returns an Enumerator when passed no block

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_char_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_char_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_char_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,2 +1 @@
 fails:IO#each_char yields each character
-fails:IO#each_char returns an Enumerator when passed no block

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_line_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_line_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_line_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,6 +1,5 @@
 critical:IO#each_line when passed a separator tries to convert the passed separator to a String using #to_str
 fails:IO#each_line does not change $_
-fails:IO#each_line returns an Enumerator when passed no block
 fails:IO#each_line when passed a separator does not change $_
 fails:IO#each_line when passed a separator yields self's content starting from the current position when the passed separator is nil
 fails:IO#each_line when passed a separator yields each paragraph when passed an empty String as separator

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/each_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,6 +1,5 @@
 critical:IO#each when passed a separator tries to convert the passed separator to a String using #to_str
 fails:IO#each does not change $_
-fails:IO#each returns an Enumerator when passed no block
 fails:IO#each when passed a separator does not change $_
 fails:IO#each when passed a separator yields self's content starting from the current position when the passed separator is nil
 fails:IO#each when passed a separator yields each paragraph when passed an empty String as separator

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/io/eof_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/eof_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/eof_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,6 +0,0 @@
-fails:IO#eof? returns true after reading with read
-fails:IO#eof? returns true after reading with sysread
-fails:IO#eof? returns true on just opened empty stream
-fails:IO#eof? should not consume the data from the stream
-fails:IO#eof? returns true on one-byte stream after single-byte read
-fails:IO#eof? returns true on receiving side of Pipe when writing side is closed

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/for_fd_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/for_fd_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/for_fd_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,4 +1,2 @@
-fails:IO.for_fd associates new IO with the old descriptor so each IO directly affects the other
 fails:IO.for_fd raises EINVAL if mode is not compatible with the descriptor's current mode
 fails:IO.for_fd cannot open an IO with incompatible flags
-fails:IO.for_fd takes an Integer or #to_int argument as the descriptor to open

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -6,4 +6,3 @@
 fails:IO::foreach converts second parameter to string and uses as separator
 fails:IO::foreach converts second parameter to string and uses as separator, with each to_str calling for each lines of the IOs
 fails:IO::foreach converts first parameter to string and uses as file name
-fails:IO::foreach returns an Enumerator when called without a block

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/gets_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/gets_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/gets_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,4 +1,3 @@
-fails:IO#gets updates lineno with each invocation
 fails:IO#gets assigns the returned line to $_
 fails:IO#gets returns the entire content if the separator is nil
 fails:IO#gets returns the next paragraph if the separator's length is 0

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/new_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/new_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/new_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,4 +1,2 @@
-fails:IO.new associates new IO with the old descriptor so each IO directly affects the other
 fails:IO.new raises EINVAL if mode is not compatible with the descriptor's current mode
 fails:IO.new cannot open an IO with incompatible flags
-fails:IO.new takes an Integer or #to_int argument as the descriptor to open

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/popen_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/popen_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/popen_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,2 +1 @@
 critical:IO::popen writes to a write-only pipe
-fails:IO::popen reads and writes to a read/write pipe

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/print_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/print_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/print_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,2 +1 @@
 critical:IO#print writes $_.to_s followed by $\ (if any) to the stream if no arguments given
-fails:IO#print does not call obj.to_str

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/read_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/read_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/read_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,5 +1,3 @@
-fails:IO.read raises an ArgumentError when not passed a valid length
-fails:IO.read raises an Errno::EINVAL when not passed a valid offset
 critical:IO#read strips the BOM when given 'rb:utf-7-bom' as the mode
 fails:IO#read can read lots of data
 fails:IO#read can read lots of data with length
@@ -9,4 +7,3 @@
 fails:IO#read truncates the buffer when too big
 fails:IO#read returns the given buffer
 fails:IO#read coerces the second argument to string and uses it as a buffer
-fails:IO#read ignores unicode encoding

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/readpartial_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/readpartial_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/readpartial_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,3 +1,2 @@
-fails:IO#readpartial reads after ungetc without data in the buffer
 fails:IO#readpartial discards the existing buffer content upon successful read
 fails:IO#readpartial discards the existing buffer content upon error

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/reopen_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/reopen_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/reopen_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,3 +1,2 @@
 fails:IO#reopen reassociates self with a new stream opened on path, after some writes
-fails:IO#reopen reassociates self with new a new stream after some reads
 fails:IO#reopen reassociates self with a new stream after some reads

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/io/stat_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/stat_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/stat_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1 +0,0 @@
-critical:IO#stat raises IOError on closed stream

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/syswrite_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/syswrite_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/syswrite_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,3 +1 @@
-fails:IO#syswrite coerces the argument to a string using to_s
-fails:IO#syswrite invokes to_s on non-String argument
 fails:IO#syswrite on a file warns if called immediately after a buffered IO#write

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/ungetc_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/ungetc_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/ungetc_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,4 +1,2 @@
-critical:IO#ungetc pushes back one character onto stream
-fails:IO#ungetc affects EOF state
 fails:IO#ungetc adjusts the stream position
 fails:IO#ungetc makes subsequent unbuffered operations to raise IOError

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/io/write_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/write_tags.txt	2009-09-05 04:49:21 UTC (rev 2482)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/write_tags.txt	2009-09-05 04:49:48 UTC (rev 2483)
@@ -1,3 +1 @@
 fails:IO#write on a file does not check if the file is writable if writing zero bytes
-fails:IO#write coerces the argument to a string using to_s
-fails:IO#write invokes to_s on non-String argument
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090904/da1744c3/attachment-0001.html>


More information about the macruby-changes mailing list