[macruby-changes] [2149] MacRuby/branches/experimental/spec/frozen/tags/macruby

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 2 06:15:18 PDT 2009


Revision: 2149
          http://trac.macosforge.org/projects/ruby/changeset/2149
Author:   eloy.de.enige at gmail.com
Date:     2009-08-02 06:15:18 -0700 (Sun, 02 Aug 2009)
Log Message:
-----------
Tagged failing examples.

Modified Paths:
--------------
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/instance_exec_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/join_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/fetch_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/expand_path_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divmod_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/print_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/reopen_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/caller_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/lambda_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/methods_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/proc_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/puts_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/raise_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/source_location_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/instance_methods_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/name_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/div_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_tags.txt

Added Paths:
-----------
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/collect_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/map_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_key_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_pair_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_value_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/element_reference_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/keys_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/to_a_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/values_at_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/values_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/public_send_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/process/initgroups_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/bytes_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/equal_value_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/float_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/int_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/new_seed_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/new_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/rand_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/seed_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/srand_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/encode_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/instance_exec_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/instance_exec_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/instance_exec_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,4 @@
 critical:BasicObject#instance_exec raises a LocalJumpError unless given a block
+fails:BasicObject#instance_exec only binds the exec to the receiver
+fails:BasicObject#instance_exec raises a TypeError when defining methods on an immediate
+fails:BasicObject#instance_exec raises a TypeError when defining methods on numerics

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1,3 +1,4 @@
 fails:Bignum#divmod raises a FloatDomainError when the given argument is 0 and a Float
 fails:Bignum#divmod raises a TypeError when the given argument is not an Integer
 fails:Bignum#divmod raises a ZeroDivisionError when the given argument is 0 and a Float
+fails:Bignum#divmod raises a FloatDomainError if other is NaN

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/collect_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/collect_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/collect_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,2 @@
+fails:Enumerable#collect with implicit to_proc [each(&obj) form] does not call obj.to_proc if obj is a lambda
+fails:Enumerable#collect with implicit to_proc [each(&obj) form] does not call obj.to_proc if obj is a Proc

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/join_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/join_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/join_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,9 @@
 critical:Enumerable#join raises an ArgumentError when the Array is recursive
+fails:Enumerable#join returns an empty string if the Array is empty
+fails:Enumerable#join returns a string formed by concatenating each element.to_s separated by separator without trailing separator
+fails:Enumerable#join uses the same separator with nested arrays
+fails:Enumerable#join tries to convert the passed separator to a String using #to_str
+fails:Enumerable#join does not consider taint of either the array or the separator when the array is empty
+fails:Enumerable#join returns a string which would be infected with taint of the array, its elements or the separator when the array is not empty
+fails:Enumerable#join does not consider untrustworthiness of either the array or the separator when the array is empty
+fails:Enumerable#join returns a string which would be infected with untrustworthiness of the array, its elements or the separator when the array is not empty

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/map_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/map_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/map_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,2 @@
+fails:Enumerable#map with implicit to_proc [each(&obj) form] does not call obj.to_proc if obj is a lambda
+fails:Enumerable#map with implicit to_proc [each(&obj) form] does not call obj.to_proc if obj is a Proc

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_key_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_key_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_key_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.each_key returns keys in the locale encoding

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_pair_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_pair_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_pair_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.each_pair uses the locale encoding

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.each uses the locale encoding

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_value_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_value_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/each_value_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.each_value uses the locale encoding

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/element_reference_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/element_reference_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/element_reference_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.[] uses the locale encoding

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/fetch_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/fetch_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/fetch_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,2 @@
 critical:ENV.fetch warns on block and default parameter given
+fails:ENV.fetch uses the locale encoding

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/keys_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/keys_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/keys_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.keys returns the keys in the locale encoding

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/to_a_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/to_a_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/to_a_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.to_a returns the entries in the locale encoding

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/values_at_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/values_at_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/values_at_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.values_at uses the locale encoding

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/values_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/values_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/env/values_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:ENV.values uses the locale encoding

Modified: 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	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/expand_path_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1,2 +1,3 @@
 critical:File.expand_path raises an ArgumentError if not passed one or two arguments
-critical:File.expand_path raises a TypeError if not passed a String type
\ No newline at end of file
+critical:File.expand_path raises a TypeError if not passed a String type
+fails:File.expand_path produces a String in the default external encoding

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1,3 +1,4 @@
 critical:File.join raises an ArgumentError if passed a recursive array
 fails:File.join calls #to_str
 fails:File.join calls #to_path
+fails:File.join gives priority to existing separators in the rightmost argument

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divmod_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divmod_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divmod_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,4 @@
 fails:Float#divmod raises a ZeroDivisionError if other is zero
+fails:Float#divmod raises a FloatDomainError if self is NaN
+fails:Float#divmod raises a FloatDomainError if other is NaN
+fails:Float#divmod raises a FloatDomainError if self is Infinity

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/print_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/print_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/print_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,2 @@
 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/branches/experimental/spec/frozen/tags/macruby/core/io/reopen_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/reopen_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/reopen_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -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 new a new stream after some reads
+fails:IO#reopen reassociates self with a new stream after some reads

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/caller_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/caller_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/caller_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -8,3 +8,4 @@
 fails:Kernel#caller in a Proc or eval begins with (eval) for caller(0) in eval
 fails:Kernel#caller in a Proc or eval begins with the eval's sender's sender for caller(1) in eval
 fails:Kernel#caller in a Proc or eval shows the current line in the calling block twice when evaled
+fails:Kernel#caller in a Proc or eval begins with the eval's sender's sender for caller(4) in eval

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/lambda_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/lambda_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/lambda_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -4,3 +4,4 @@
 fails:Kernel.lambda raises an ArgumentError when given too few arguments
 fails:Kernel.lambda is a private method
 fails:Kernel.lambda returns from block into caller block
+fails:Kernel.lambda returns from the  itself; not the creation site of the 

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/methods_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/methods_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/methods_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1,3 +1,9 @@
 fails:Kernel#methods doesn't pick up methods added inside 'class << self; private'
 fails:Kernel#methods returns a list of the names of publicly accessible methods in the object
 fails:Kernel#methods does not include any .undef'd methods
+fails:Kernel#methods does not return private singleton methods defined in 'class << self'
+fails:Kernel#methods returns the publicly accessible methods of the object
+fails:Kernel#methods does not return undefined singleton methods defined by obj.meth
+fails:Kernel#methods does not return superclass methods undefined in the object's class
+fails:Kernel#methods does not return superclass methods undefined in a superclass
+fails:Kernel#methods does not return included module methods undefined in the object's class

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/proc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/proc_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/proc_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -3,3 +3,4 @@
 fails:Kernel.proc raises an ArgumentError when given too many arguments
 fails:Kernel.proc raises an ArgumentError when given too few arguments
 fails:Kernel.proc is a private method
+fails:Kernel.proc returns from the creation site of the proc, not just the proc itself

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/public_send_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/public_send_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/public_send_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,3 @@
+fails:Kernel#public_send raises a NoMethodError if the method is protected
+fails:Kernel#public_send raises an ArgumentError if called with more arguments than available parameters
+fails:Kernel#public_send raises an ArgumentError if called with fewer arguments than required parameters

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/puts_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/puts_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/puts_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -7,4 +7,5 @@
 fails:Kernel#puts flattens a nested array before writing it
 fails:Kernel#puts writes a newline after objects that do not end in newlines
 fails:Kernel#puts does not write a newline after objects that end in newlines
-fails:Kernel#puts ignores the $/ separator global
\ No newline at end of file
+fails:Kernel#puts ignores the $/ separator global
+fails:Kernel#puts writes a newline when given nil as an arg

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/raise_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/raise_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/raise_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,2 @@
 fails:Kernel#raise is a private method
+fails:Kernel#raise raises RuntimeError if no exception class is given

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -23,3 +23,4 @@
 fails:Kernel#require uses $LOADED_FEATURES to see whether file is already loaded
 fails:Kernel#require will not load a file whose path appears in $LOADED_FEATURES; it will return false
 fails:Kernel#require raises a LoadError if the file exists but can't be read
+fails:Kernel#require does not resolve completely unqualified filenames against the current working directory unless it appears in $LOAD_PATH

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/source_location_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/source_location_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/method/source_location_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -3,3 +3,4 @@
 fails:Method#source_location sets the first value to the path of the file in which the method was defined
 fails:Method#source_location sets the last value to a Fixnum representing the line on which the method was defined
 fails:Method#source_location returns the last place the method was defined
+fails:Method#source_location returns the location of the original method even if it was aliased

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/instance_methods_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/instance_methods_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/instance_methods_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,5 @@
 fails:Module#instance_methods does not return undefined methods
+fails:Module#instance_methods does not return methods undefined in a superclass
+fails:Module#instance_methods does not return methods undefined in a subclass
+fails:Module#instance_methods does not return methods undefined in the current class
+fails:Module#instance_methods does not return methods from an included module that are undefined in the class

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/name_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/name_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/name_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,2 @@
 fails:Module#name returns the name of self
+fails:Module#name preserves the encoding in which the class was defined

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/div_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/div_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/div_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -1 +1,2 @@
 fails:Numeric#div calls self#/ with other, converts the result to a Float (using #to_f) and returns the #floor'ed result
+fails:Numeric#div calls self#/ with other, then returns the #floor'ed result

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/process/initgroups_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/process/initgroups_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/process/initgroups_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:Process.initgroups initializes the supplemental group access list

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/bytes_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/bytes_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/bytes_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,5 @@
+fails:Random#bytes returns a String
+fails:Random#bytes returns a String of the length given as argument
+fails:Random#bytes returns an ASCII-8BIT String
+fails:Random#bytes returns the same output for a given seed
+fails:Random#bytes returns a random binary String

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/equal_value_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/equal_value_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/equal_value_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,5 @@
+fails:Random#== returns true if the two objects have the same state
+fails:Random#== returns false if the two objects have different state
+fails:Random#== returns true if the two objects have the same seed
+fails:Random#== returns false if the two objects have a different seed
+fails:Random#== returns false if the other object is not a Random

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/float_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/float_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/float_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,10 @@
+fails:Random#float returns a Float object
+fails:Random#float returns a number greater than or equal to 0.0
+fails:Random#float returns a number less than 1.0 by default
+fails:Random#float returns a different number on each call
+fails:Random#float returns the same sequence of values for a given seed
+fails:Random#float only returns numbers less than the given argument
+fails:Random#float raises Errno::EDOM for an argument of Infinity
+fails:Random#float raises Errno::EDOM for an argument of NaN
+fails:Random#float raises a RangeError for a Complex (with imaginary part) argument
+fails:Random#float raises a TypeError for a non-Floatish argument

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/int_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/int_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/int_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,12 @@
+fails:Random#int coerces the argument with #to_int
+fails:Random#int returns an Integer
+fails:Random#int returns an number >= 0
+fails:Random#int returns a number < the argument
+fails:Random#int returns a random number on each call that satisfies the given inequalities
+fails:Random#int returns the same sequence of numbers for a given seed
+fails:Random#int returns an integer from the inclusive Integer range if one is given
+fails:Random#int returns an integer from the exclusive Integer range if one is given
+fails:Random#int raises a TypeError if a String range is given
+fails:Random#int returns an ArgumentError when the argument is 1
+fails:Random#int returns an ArgumentError when the argument is 0
+fails:Random#int returns an ArgumentError when the argument is negative

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/new_seed_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/new_seed_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/new_seed_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,4 @@
+fails:Random.new_seed returns a Bignum
+fails:Random.new_seed returns an arbitrary seed value each time
+fails:Random.new_seed returns a number less than 40 digits long
+fails:Random.new_seed is not affected by Kernel#srand

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/new_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/new_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/new_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,7 @@
+fails:Random.new returns a new instance of Random
+fails:Random.new uses a random seed value if none is supplied
+fails:Random.new accepts an Integer seed value as an argument
+fails:Random.new accepts (and truncates) a Float seed value as an argument
+fails:Random.new accepts (and converts to Integer) a Rational seed value as an argument
+fails:Random.new accepts (and converts to Integer) a Complex (w/ imaginary part) seed value as an argument
+fails:Random.new raises a RangeError if passed a Complex (with imaginary part) seed value as an argument

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/rand_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/rand_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/rand_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,9 @@
+fails:Random.rand returns a Float if no max argument is passed
+fails:Random.rand returns a Float >= 0 if no max argument is passed
+fails:Random.rand returns a Float < 1 if no max argument is passed
+fails:Random.rand returns the same sequence for a given seed if no max argument is passed
+fails:Random.rand returns a Integer if an Integer argument is passed
+fails:Random.rand returns an Integer >= 0 if an Integer argument is passed
+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

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/seed_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/seed_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/seed_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,5 @@
+fails:Random#seed returns an Integer
+fails:Random#seed returns an arbitrary seed if the constructor was called without arguments
+fails:Random#seed returns the same generated seed when repeatedly called on the same object
+fails:Random#seed returns the seed given in the constructor
+fails:Random#seed returns the given seed coerced with #to_int

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/srand_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/srand_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/random/srand_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,6 @@
+fails:Random.srand returns an arbitrary seed if .srand wasn't called previously with an argument and no argument is supplied this time
+fails:Random.srand returns the previous argument to .srand if one was given and no argument is supplied
+fails:Random.srand returns an arbitrary seed if .srand wasn't called previously with an argument and 0 is supplied this time
+fails:Random.srand returns the previous argument to .srand if one was given and 0 is supplied
+fails:Random.srand seeds Random.rand such that its return value is deterministic
+fails:Random.srand seeds Kernel.rand such that its return value is deterministic

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/encode_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/encode_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/encode_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1,20 @@
+fails:String#encode! transcodes to the default internal encoding with no argument
+fails:String#encode! returns self when called with only a target encoding
+fails:String#encode! tags the String with the given encoding
+fails:String#encode! transcodes self to the given encoding
+fails:String#encode! can convert between encodings where a multi-stage conversion path is needed
+fails:String#encode! raises an Encoding::InvalidByteSequenceError for invalid byte sequences
+fails:String#encode! raises UndefinedConversionError if the String contains characters invalid for the target     encoding
+fails:String#encode! raises Encoding::ConverterNotFoundError for invalid target encodings
+fails:String#encode! raises a RuntimeError when called on a frozen String
+fails:String#encode! raises a RuntimeError when called on a frozen String when it's a no-op
+fails:String#encode transcodes to the default internal encoding with no argument
+fails:String#encode returns a copy of self when called with only a target encoding
+fails:String#encode returns self when called with only a target encoding
+fails:String#encode returns a copy of self even when no changes are made
+fails:String#encode returns a String with the given encoding
+fails:String#encode transcodes self to the given encoding
+fails:String#encode can convert between encodings where a multi-stage conversion path is needed
+fails:String#encode raises an Encoding::InvalidByteSequenceError for invalid byte sequences
+fails:String#encode raises UndefinedConversionError if the String contains characters invalid for the target     encoding
+fails:String#encode raises Encoding::ConverterNotFoundError for invalid target encodings

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_tags.txt	2009-08-02 13:14:20 UTC (rev 2148)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -5,3 +5,4 @@
 fails:String#tr! modifies self in place
 fails:String#tr! raises a TypeError if self is frozen
 fails:String#tr tries to convert from_str and to_str to strings using to_str
+fails:String#tr can replace a 7-bit ASCII character with a multibyte one

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt	2009-08-02 13:15:18 UTC (rev 2149)
@@ -0,0 +1 @@
+fails:Block-local variables override shadowed variables from the outer scope
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090802/b3234ccf/attachment-0001.html>


More information about the macruby-changes mailing list