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

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 5 09:28:26 PDT 2009


Revision: 2493
          http://trac.macosforge.org/projects/ruby/changeset/2493
Author:   eloy.de.enige at gmail.com
Date:     2009-09-05 09:28:26 -0700 (Sat, 05 Sep 2009)
Log Message:
-----------
Tagged failing examples.

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/argf/lineno_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/dir/chroot_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/next_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/read_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/reopen_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/autoload_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/module/autoload_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt

Added Paths:
-----------
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/chmod_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/delete_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/initialize_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/reopen_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/unlink_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/utime_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/initialize_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/sysopen_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/module/public_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/range/to_a_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/comparison_tags.txt

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/argf/lineno_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/argf/lineno_tags.txt	2009-09-05 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/argf/lineno_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -1 +1,2 @@
 fails:ARGF.lineno returns the current line number on each file
+fails:ARGF.lineno resets to 0 after the stream is rewound

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/dir/chroot_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/dir/chroot_tags.txt	2009-09-05 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/dir/chroot_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -1 +1,2 @@
 fails:Dir.chroot as regular user raises an Errno::ENOENT exception if the directory doesn't exist
+fails:Dir.chroot as regular user calls #to_path on non-String argument

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/next_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/next_tags.txt	2009-09-05 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/next_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -1,3 +1,4 @@
 fails:Enumerator#next returns the next element of the enumeration
 fails:Enumerator#next raises a StopIteration exception at the end of the stream
 fails:Enumerator#next rewinds the enumerator after raising StopIteration
+fails:Enumerator#next cannot be called again until the enumerator is rewound

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/chmod_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/chmod_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/chmod_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:File.chmod accepts an object that has a #to_path method

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/delete_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/delete_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/delete_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:File.delete accepts an object that has a #to_path method

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/initialize_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/initialize_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/initialize_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1,2 @@
+fails:File#initialize accepts encoding options in mode parameter
+fails:File#initialize accepts encoding options as a hash parameter

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/reopen_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/reopen_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/reopen_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:File#reopen accepts an object that has a #to_path method

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/unlink_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/unlink_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/unlink_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:File.unlink accepts an object that has a #to_path method

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/utime_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/utime_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/utime_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:File.utime accepts an object that has a #to_path method

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 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -6,3 +6,4 @@
 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 calls #to_path on non-String arguments

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/io/initialize_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/initialize_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/initialize_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1,9 @@
+fails:IO#initialize uses the external encoding specified in the mode argument
+fails:IO#initialize uses the external and the internal encoding specified in the mode argument
+fails:IO#initialize uses the external encoding specified via the :external_encoding option
+fails:IO#initialize uses the internal encoding specified via the :internal_encoding option
+fails:IO#initialize uses the colon-separated encodings specified via the :encoding option
+fails:IO#initialize ingores the :encoding option when the :external_encoding option is present
+fails:IO#initialize ingores the :encoding option when the :internal_encoding option is present
+fails:IO#initialize uses the encoding specified via the :mode option hash
+fails:IO#initialize ignores the :internal_encoding option when the same as the external encoding

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 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/read_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -7,3 +7,4 @@
 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 calls #to_path on non-String arguments

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 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/reopen_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -1,2 +1,3 @@
 fails:IO#reopen reassociates self with a new stream opened on path, after some writes
 fails:IO#reopen reassociates self with a new stream after some reads
+fails:IO#reopen calls #to_path on non-String arguments

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/io/sysopen_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/sysopen_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/sysopen_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:IO.sysopen calls #to_path on first argument

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/autoload_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/autoload_tags.txt	2009-09-05 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/autoload_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -7,3 +7,4 @@
 fails:Kernel#autoload does not call Kernel.require or Kernel.load to load the file
 fails:Kernel#autoload? returns the name of the file that will be autoloaded
 fails:Kernel.autoload sets the autoload constant in Object's metaclass's constant table
+fails:Kernel.autoload calls #to_path on non-String filenames

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/module/autoload_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/module/autoload_tags.txt	2009-09-05 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/module/autoload_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -20,3 +20,4 @@
 fails:Module#autoload raises a TypeError if opening a class with a different superclass than the class defined in the autoload file
 fails:Module#autoload does not call Kernel#require or Kernel#load dynamically
 fails:Module#autoload calls #to_path on non-String filename arguments
+fails:Module#autoload calls #to_path on non-string filenames

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/module/public_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/module/public_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/module/public_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:Module#public on a superclass method calls the redefined method

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt	2009-09-05 16:28:01 UTC (rev 2492)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -7,3 +7,27 @@
 fails:Random.rand returns an Integer < the max argument if an Integer argument is passed
 fails:Random.rand returns the same sequence for a given seed if an Integer argument is passed
 fails:Random.rand coerces arguments to Integers with #to_int
+fails:Random#rand with Fixnum returns an Integer
+fails:Random#rand with Fixnum returns a Fixnum greater than or equal to 0
+fails:Random#rand with Fixnum returns a Fixnum less than the argument
+fails:Random#rand with Fixnum returns the same sequence for a given seed
+fails:Random#rand with Fixnum raises an ArgumentError when the argument is 0
+fails:Random#rand with Fixnum raises an ArgumentError when the argument is negative
+fails:Random#rand with Bignum returns a Bignum
+fails:Random#rand with Bignum returns a Bignum greater than or equal to 0
+fails:Random#rand with Bignum returns a Bignum less than the argument
+fails:Random#rand with Bignum returns the same sequence for a given seed
+fails:Random#rand with Bignum raises an ArgumentError when the argument is negative
+fails:Random#rand with Float returns a Float
+fails:Random#rand with Float returns a Float greater than or equal to 0.0
+fails:Random#rand with Float returns a Float less than the argument
+fails:Random#rand with Float returns the same sequence for a given seed
+fails:Random#rand with Float raises an ArgumentError when the argument is negative
+fails:Random#rand with Range returns an element from the Range
+fails:Random#rand with Range returns an object that is a member of the Range
+fails:Random#rand with Range works with inclusive ranges
+fails:Random#rand with Range works with exclusive ranges
+fails:Random#rand with Range returns the same sequence for a given seed
+fails:Random#rand with Range allows the startpoint to be an object of a different class to the endpoint
+fails:Random#rand with Range raises an ArgumentError when the startpoint lacks #+ and #- methods
+fails:Random#rand with Range raises an ArgumentError when the endpoint lacks #+ and #- methods

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/range/to_a_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/range/to_a_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/range/to_a_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:Range#to_a works with Ranges of Symbols

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/comparison_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/comparison_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/comparison_tags.txt	2009-09-05 16:28:26 UTC (rev 2493)
@@ -0,0 +1 @@
+fails:Symbol#<=> with Symbol compares individual characters based on their ascii value
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090905/3347e8e9/attachment-0001.html>


More information about the macruby-changes mailing list