[macruby-changes] [4106] MacRuby/trunk/spec

source_changes at macosforge.org source_changes at macosforge.org
Fri May 14 10:37:34 PDT 2010


Revision: 4106
          http://trac.macosforge.org/projects/ruby/changeset/4106
Author:   eloy.de.enige at gmail.com
Date:     2010-05-14 10:37:32 -0700 (Fri, 14 May 2010)
Log Message:
-----------
Tag failing examples

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/float/to_s_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/load_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/require_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/spawn_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/marshal/dump_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/marshal/load_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/module/autoload_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/module/define_method_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/random/bytes_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/modulo_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/defined_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/sqrt_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/det_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/determinant_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/multiply_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/regular_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/singular_tags.txt
    MacRuby/trunk/spec/macruby/tags/macruby/core/gcd/source_tags.txt
    MacRuby/trunk/spec/macruby/tags/macruby/library/dispatch/source_tags.txt

Added Paths:
-----------
    MacRuby/trunk/spec/frozen/tags/macruby/core/array/product_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/hash/keep_if_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/hash/select_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/singleton_class_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/module/remove_class_variable_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/objectspace/each_object_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/sub_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/sum_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/md5/
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/md5/file_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha1/
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha1/file_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha256/
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha256/file_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha384/
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha384/file_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha512/
    MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha512/file_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/build_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/conj_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/conjugate_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/divide_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/each_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/each_with_index_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/empty_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/imag_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/imaginary_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/minus_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/plus_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/real_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/rect_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/rectangular_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/stringscanner/matched_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/stringscanner/post_match_tags.txt

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/array/product_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/array/product_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/array/product_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,2 @@
+fails:Array#product when given a block yields all combinations in turn
+fails:Array#product when given a block returns self

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/float/to_s_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/float/to_s_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/float/to_s_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1 +1,2 @@
 fails:Float#to_s returns a string representation of self
+fails:Float#to_s outputs the necessary number of digits to represent the float

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/hash/keep_if_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/hash/keep_if_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/hash/keep_if_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,6 @@
+fails:Hash#keep_if yields two arguments: key and value
+fails:Hash#keep_if keeps every entry for which block is true and returns self
+fails:Hash#keep_if returns self even if unmodified
+fails:Hash#keep_if raises an RuntimeError if called on a frozen instance
+fails:Hash#keep_if returns an Enumerator if called on a non-empty hash without a block
+fails:Hash#keep_if returns an Enumerator if called on an empty hash without a block

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/hash/select_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/hash/select_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/hash/select_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,4 @@
+fails:Hash#select! is equivalent to keep_if if changes are made
+fails:Hash#select! returns nil if no changes were made
+fails:Hash#select! raises a RuntimeError if called on a frozen instance that is modified
+fails:Hash#select! raises a RuntimeError if called on a frozen instance that would not be modified

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/load_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/load_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/load_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -9,3 +9,5 @@
 fails:Kernel.load (path resolution) raises a TypeError if passed an object that has #to_path but not #to_str
 fails:Kernel.load (path resolution) loads a ./ relative path from the current working directory with empty $LOAD_PATH
 fails:Kernel.load (path resolution) loads a ../ relative path from the current working directory with empty $LOAD_PATH
+fails:Kernel.load sets the enclosing scope to an anonymous module if passed true for 'wrap'
+fails:Kernel.load (shell expansion) expands a tilde to the HOME environment variable as the path to load

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/require_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/require_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/require_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -25,3 +25,7 @@
 fails:Kernel.require ($LOAD_FEATURES) does not load a non-canonical path for a file already loaded
 fails:Kernel.require (shell expansion) does not perform tilde expansion before storing paths in $LOADED_FEATURES
 fails:Kernel.require (shell expansion) performs tilde expansion before storing paths in $LOADED_FEATURES
+fails:Kernel#require (shell expansion) performs tilde expansion on a .rb file before storing paths in $LOADED_FEATURES
+fails:Kernel#require (shell expansion) performs tilde expansion on a non-extensioned file before storing paths in $LOADED_FEATURES
+fails:Kernel.require (shell expansion) performs tilde expansion on a .rb file before storing paths in $LOADED_FEATURES
+fails:Kernel.require (shell expansion) performs tilde expansion on a non-extensioned file before storing paths in $LOADED_FEATURES

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/singleton_class_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/singleton_class_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/singleton_class_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,6 @@
+fails:Kernel#singleton_class returns class extended from an object
+fails:Kernel#singleton_class returns NilClass for nil
+fails:Kernel#singleton_class returns TrueClass for true
+fails:Kernel#singleton_class returns FalseClass for false
+fails:Kernel#singleton_class raises TypeError for Fixnum
+fails:Kernel#singleton_class raises TypeError for Symbol

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/spawn_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/spawn_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/spawn_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1,3 +1,10 @@
 critical:Kernel.spawn redirects STDERR to the given file descriptior if if :err => Fixnum
 critical:Kernel.spawn redirects STDERR to the given file if :err => String
 fails:Kernel.spawn sets the child's environment variables according to a supplied hash
+fails:Kernel.spawn redirects STDOUT to the given file descriptior if :out => Fixnum
+fails:Kernel.spawn redirects STDOUT to the given file if :out => String
+fails:Kernel.spawn redirects STDOUT to the given file if :out => IO
+fails:Kernel.spawn redirects STDERR to the given file descriptior if :err => Fixnum
+fails:Kernel.spawn redirects STDOUT to the given file if :err => IO
+fails:Kernel.spawn redirects both STDERR and STDOUT to the given file descriptior, name or IO
+fails:Kernel.spawn generates a process of a command based on the given set of strings, regarding the first as the command and the others as the arguments

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/marshal/dump_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/marshal/dump_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/marshal/dump_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -20,3 +20,4 @@
 fails:Marshal.dump dumps a String small
 fails:Marshal.dump returns an untrusted string if object is untrusted
 fails:Marshal.dump returns an untrusted string if object is untrusted deep in nested structure
+fails:Marshal.dump dumps a Random

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/marshal/load_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/marshal/load_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/marshal/load_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -9,3 +9,4 @@
 fails:Marshal::load loads a 'a'..'b'
 fails:Marshal::load returns an untrusted object if source is untrusted
 fails:Marshal::load preserves hash ivars when hash contains a string having ivar
+fails:Marshal::load loads a Random

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/module/autoload_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/module/autoload_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/module/autoload_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -7,3 +7,4 @@
 fails:Module#autoload does not load the file when refering to the constant in defined?
 fails:Module#autoload calls #to_path on non-String filename arguments
 fails:Module#autoload calls #to_path on non-string filenames
+fails:Module#autoload does NOT raise a NameError when the autoload file did not define the constant and a module is opened with the same name

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/module/define_method_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/module/define_method_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/module/define_method_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -3,3 +3,4 @@
 fails:Module#define_method when given an UnboundMethod adds the new method to the methods list
 fails:Module#define_method defines the given method as an instance method with the given name in self
 fails:Module#define_method when given an UnboundMethod works for singleton classes too
+fails:Module#define_method calls #method_added after the method is added to the Module

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/module/remove_class_variable_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/module/remove_class_variable_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/module/remove_class_variable_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:Module#remove_class_variable returns the value of removing class variable

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/objectspace/each_object_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/objectspace/each_object_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/objectspace/each_object_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:ObjectSpace.each_object returns an enumerator if not given a block

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/random/bytes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/random/bytes_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/bytes_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1 +1,3 @@
 fails:Random#bytes returns a String
+fails:Random#bytes returns the same numeric output for a given seed accross all implementations and platforms
+fails:Random#bytes returns the same numeric output for a given huge seed accross all implementations and platforms

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1 +1,2 @@
 fails:Random#rand with Bignum returns a Bignum
+fails:Random#rand with Bignum typically returns a Bignum

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/modulo_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/modulo_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/modulo_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -14,3 +14,4 @@
 fails:String#% behaves as if calling Kernel#Float for %f arguments, when the passed argument does not respond to #to_ary
 fails:String#% behaves as if calling Kernel#Float for %g arguments, when the passed argument does not respond to #to_ary
 fails:String#% behaves as if calling Kernel#Float for %G arguments, when the passed argument does not respond to #to_ary
+fails:String#% respects positional arguments and precision tokens given for one format specifier

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/string/sub_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/sub_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/sub_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:String#sub! with pattern and block raises a RuntimeError when self is frozen

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/string/sum_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/sum_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/sum_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:String#sum returns sum of the bytes in self if n less or equal to zero

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/defined_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/defined_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/defined_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -45,3 +45,4 @@
 fails:The defined? keyword for yield returns 'yield' if a block is passed to a method not taking a block parameter
 fails:The defined? keyword for yield returns 'yield' if a block is passed to a method taking a block parameter
 fails:The defined? keyword for super returns nil when a superclass undef's the method
+fails:The defined? keyword when called with a method name having a module as receiver returns nil if the method is protected

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/sqrt_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/sqrt_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/sqrt_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1 +1,5 @@
 critical:BigDecimal#sqrt returns sqrt of self with at least the given precision
+fails:BigDecimal#sqrt returns square root of 2 with desired precision
+fails:BigDecimal#sqrt returns square root of 3 with desired precision
+fails:BigDecimal#sqrt returns square root of 0.9E-99999 with desired precision
+fails:BigDecimal#sqrt returns square root of 121 with desired precision

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/digest/md5/file_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/digest/md5/file_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/digest/md5/file_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,6 @@
+fails:Digest::MD5.file raises a Errno::EISDIR when passed a path that is a directory
+fails:Digest::MD5.file raises a Errno::ENOENT when passed a path that does not exist
+fails:Digest::MD5.file raises a TypeError when passed nil
+fails:Digest::MD5.file when passed a path to a file that exists returns a Digest::MD5 object
+fails:Digest::MD5.file when passed a path to a file that exists returns a Digest::MD5 object with the correct digest
+fails:Digest::MD5.file when passed a path to a file that exists calls #to_str on an object and returns the Digest::MD5 with the result

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha1/file_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha1/file_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha1/file_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,6 @@
+fails:Digest::SHA1.file raises a Errno::EISDIR when passed a path that is a directory
+fails:Digest::SHA1.file raises a Errno::ENOENT when passed a path that does not exist
+fails:Digest::SHA1.file raises a TypeError when passed nil
+fails:Digest::SHA1.file when passed a path to a file that exists returns a Digest::SHA1 object
+fails:Digest::SHA1.file when passed a path to a file that exists returns a Digest::SHA1 object with the correct digest
+fails:Digest::SHA1.file when passed a path to a file that exists calls #to_str on an object and returns the Digest::SHA1 with the result

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha256/file_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha256/file_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha256/file_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,6 @@
+fails:Digest::SHA256.file raises a Errno::EISDIR when passed a path that is a directory
+fails:Digest::SHA256.file raises a Errno::ENOENT when passed a path that does not exist
+fails:Digest::SHA256.file raises a TypeError when passed nil
+fails:Digest::SHA256.file when passed a path to a file that exists returns a Digest::SHA256 object
+fails:Digest::SHA256.file when passed a path to a file that exists returns a Digest::SHA256 object with the correct digest
+fails:Digest::SHA256.file when passed a path to a file that exists calls #to_str on an object and returns the Digest::SHA256 with the result

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha384/file_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha384/file_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha384/file_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,6 @@
+fails:Digest::SHA384.file raises a Errno::EISDIR when passed a path that is a directory
+fails:Digest::SHA384.file raises a Errno::ENOENT when passed a path that does not exist
+fails:Digest::SHA384.file raises a TypeError when passed nil
+fails:Digest::SHA384.file when passed a path to a file that exists returns a Digest::SHA384 object
+fails:Digest::SHA384.file when passed a path to a file that exists returns a Digest::SHA384 object with the correct digest
+fails:Digest::SHA384.file when passed a path to a file that exists calls #to_str on an object and returns the Digest::SHA384 with the result

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha512/file_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha512/file_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/digest/sha512/file_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,6 @@
+fails:Digest::SHA512.file raises a Errno::EISDIR when passed a path that is a directory
+fails:Digest::SHA512.file raises a Errno::ENOENT when passed a path that does not exist
+fails:Digest::SHA512.file raises a TypeError when passed nil
+fails:Digest::SHA512.file when passed a path to a file that exists returns a Digest::SHA512 object
+fails:Digest::SHA512.file when passed a path to a file that exists returns a Digest::SHA512 object with the correct digest
+fails:Digest::SHA512.file when passed a path to a file that exists calls #to_str on an object and returns the Digest::SHA512 with the result

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/build_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/build_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/build_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,9 @@
+fails:Matrix.build returns a Matrix object of the given size
+fails:Matrix.build builds the Matrix using the given block
+fails:Matrix.build iterates through the first row, then the second, ...
+fails:Matrix.build returns an Enumerator is no block is given
+fails:Matrix.build requires integers as parameters
+fails:Matrix.build requires non-negative integers
+fails:Matrix.build returns empty Matrix if one argument is zero
+fails:Matrix.build tries to calls :to_int on arguments
+fails:Matrix.build builds an nxn Matrix when given only one argument

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/conj_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/conj_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/conj_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,2 @@
+fails:Matrix#conj returns a matrix with all entries 'conjugated'
+fails:Matrix#conj returns empty matrices on the same size if empty

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/conjugate_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/conjugate_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/conjugate_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,2 @@
+fails:Matrix#conjugate returns a matrix with all entries 'conjugated'
+fails:Matrix#conjugate returns empty matrices on the same size if empty

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/det_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/det_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/det_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1,2 +1,4 @@
 fails:Matrix#det returns the determinant of a Matrices containing 0 as first entry
 fails:Matrix#det returns 1 for an empty Matrix
+fails:Matrix#det returns the determinant even for Matrices containing 0 as first entry
+fails:Matrix#det raises an error for rectangular matrices

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/determinant_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/determinant_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/determinant_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1,2 +1,4 @@
 fails:Matrix#determinant returns the determinant of a Matrices containing 0 as first entry
 fails:Matrix#determinant returns 1 for an empty Matrix
+fails:Matrix#determinant returns the determinant even for Matrices containing 0 as first entry
+fails:Matrix#determinant raises an error for rectangular matrices

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/divide_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/divide_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/divide_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:Matrix#/ raises a TypeError if other is of wrong type

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/each_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/each_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/each_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,3 @@
+fails:Matrix#each returns an Enumerator when called without a block
+fails:Matrix#each returns self
+fails:Matrix#each yields the elements starting with the those of the first row

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/each_with_index_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/each_with_index_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/each_with_index_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,3 @@
+fails:Matrix#each_with_index returns an Enumerator when called without a block
+fails:Matrix#each_with_index returns self
+fails:Matrix#each_with_index yields the elements starting with the those of the first row

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/empty_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/empty_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/empty_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,8 @@
+fails:Matrix#empty? returns true when the Matrix is empty
+fails:Matrix#empty? returns false when the Matrix has elements
+fails:Matrix#empty? doesn't accept any parameter
+fails:Matrix.empty returns an empty matrix of the requested size
+fails:Matrix.empty has arguments defaulting to 0
+fails:Matrix.empty does not accept more than two parameters
+fails:Matrix.empty raises an error if both dimensions are > 0
+fails:Matrix.empty raises an error if any dimension is < 0

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/imag_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/imag_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/imag_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,2 @@
+fails:Matrix#imag returns a matrix with the imaginary part of the elements of the receiver
+fails:Matrix#imag returns empty matrices on the same size if empty

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/imaginary_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/imaginary_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/imaginary_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,2 @@
+fails:Matrix#imaginary returns a matrix with the imaginary part of the elements of the receiver
+fails:Matrix#imaginary returns empty matrices on the same size if empty

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/minus_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/minus_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/minus_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:Matrix#- raises a TypeError if other is of wrong type

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/multiply_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/multiply_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/multiply_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1,3 +1,4 @@
 fails:Matrix#* returns a zero matrix if (nx0) * (0xn)
 fails:Matrix#* returns an empty matrix if (0xn) * (nx0)
 fails:Matrix#* returns a 0xm matrix if (0xm) * (mxn)
+fails:Matrix#* raises a TypeError if other is of wrong type

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/plus_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/plus_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/plus_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:Matrix#+ raises a TypeError if other is of wrong type

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/real_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/real_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/real_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1,5 @@
+fails:Matrix#real? returns true for matrices with all real entries
+fails:Matrix#real? returns true for empty matrices
+fails:Matrix#real? returns false if one element is a Complex
+fails:Matrix#real returns a matrix with the real part of the elements of the receiver
+fails:Matrix#real returns empty matrices on the same size if empty

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/rect_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/rect_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/rect_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:Matrix#rect returns [receiver.real, receiver.imag]

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/rectangular_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/rectangular_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/rectangular_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:Matrix#rectangular returns [receiver.real, receiver.imag]

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/regular_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/regular_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/regular_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
 critical:Matrix#regular? returns false unless rank(A) != n
 critical:Matrix#regular? returns false for singular matrices
 fails:Matrix#regular? returns false if the determinant is 0
+fails:Matrix#regular? returns true for an empty 0x0 matrix
+fails:Matrix#regular? raises an error for rectangular matrices

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/singular_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/singular_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/singular_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -1 +1,3 @@
 critical:Matrix#singular? returns true for singular matrices
+fails:Matrix#singular? returns false for an empty 0x0 matrix
+fails:Matrix#singular? raises an error for rectangular matrices

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/stringscanner/matched_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/stringscanner/matched_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/stringscanner/matched_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:StringScanner#matched taints the returned String if the input was tainted

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/stringscanner/post_match_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/stringscanner/post_match_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/stringscanner/post_match_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -0,0 +1 @@
+fails:StringScanner#post_match taints the returned String if the input was tainted

Modified: MacRuby/trunk/spec/macruby/tags/macruby/core/gcd/source_tags.txt
===================================================================
--- MacRuby/trunk/spec/macruby/tags/macruby/core/gcd/source_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/macruby/tags/macruby/core/gcd/source_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -5,3 +5,4 @@
 fails:Dispatch::Source Timer fires every interval thereafter
 fails:Dispatch::Source of type file: VNODE does close file when cancelled given IO
 fails:Dispatch::Source of type file: WRITE does close file when cancelled given IO
+fails:Dispatch::Source of type PROC fires on process event with event mask data

Modified: MacRuby/trunk/spec/macruby/tags/macruby/library/dispatch/source_tags.txt
===================================================================
--- MacRuby/trunk/spec/macruby/tags/macruby/library/dispatch/source_tags.txt	2010-05-14 17:36:27 UTC (rev 4105)
+++ MacRuby/trunk/spec/macruby/tags/macruby/library/dispatch/source_tags.txt	2010-05-14 17:37:32 UTC (rev 4106)
@@ -3,3 +3,4 @@
 fails:Dispatch::Source PROC process can use bitfields as well as arrays
 fails:Dispatch::Source add fires with data on summed inputs
 fails:Dispatch::Source VNODE file fires with data on file events
+fails:Dispatch::Source VNODE write fires with data on writable bytes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100514/1ba55b33/attachment-0001.html>


More information about the macruby-changes mailing list