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

source_changes at macosforge.org source_changes at macosforge.org
Wed May 19 16:19:05 PDT 2010


Revision: 4126
          http://trac.macosforge.org/projects/ruby/changeset/4126
Author:   martinlagardette at apple.com
Date:     2010-05-19 16:19:02 -0700 (Wed, 19 May 2010)
Log Message:
-----------
Updating macruby.mspec + tagging more specs

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/aliases_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/compatible_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/default_external_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/default_internal_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/dummy_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/locale_charmap_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/erb/defmethod/def_erb_method_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/erb/new_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/close_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/conv_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/iconv_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/set/classify_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/set/delete_if_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/set/flatten_merge_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/set/hash_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/set/sortedset/hash_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/append_tags.txt
    MacRuby/trunk/spec/macruby.mspec

Added Paths:
-----------
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/asciicompat_encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/constants_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/convert_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/convpath_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/destination_encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/finish_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/last_error_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/primitive_convert_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/primitive_errinfo_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/putback_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/replacement_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/search_convpath_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/source_encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/find_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/inspect_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/destination_encoding_name_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/destination_encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/error_bytes_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/incomplete_input_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/readagain_bytes_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/source_encoding_name_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/source_encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/list_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/replicate_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/destination_encoding_name_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/destination_encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/error_char_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/source_encoding_name_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/source_encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/
    MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/u_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/url_encode_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/charset_map_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/failed_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/inspect_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/success_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/new_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/open_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/
    MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/
    MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/digest_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/hexdigest_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/
    MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/pseudo_bytes_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/random_bytes_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/prime/
    MacRuby/trunk/spec/frozen/tags/macruby/library/prime/each_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/prime/integer/
    MacRuby/trunk/spec/frozen/tags/macruby/library/prime/integer/prime_division_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/prime/prime_division_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/set/sortedset/flatten_merge_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/deflate/deflate_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/inflate_tags.txt

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/aliases_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/aliases_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/aliases_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Encoding.aliases has an 'external' key with the external default encoding as its value
+fails:Encoding.aliases has a 'locale' key and its value equals to the name of the encoding finded by the locale charmap

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/compatible_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/compatible_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/compatible_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Encoding.compatible? returns the encoding of the string that would result from concatenating the arguments
+fails:Encoding.compatible? returns nil unless both arguments are Strings

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/asciicompat_encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/asciicompat_encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/asciicompat_encoding_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,7 @@
+fails:Encoding::Converter.asciicompat_encoding accepts an encoding name as a String argument
+fails:Encoding::Converter.asciicompat_encoding coerces non-String/Encoding objects with #to_str
+fails:Encoding::Converter.asciicompat_encoding accepts an Encoding object as an argument
+fails:Encoding::Converter.asciicompat_encoding returns a corresponding ASCII compatible encoding for ASCII-incompatible encodings
+fails:Encoding::Converter.asciicompat_encoding returns nil when the given encoding is ASCII compatible
+fails:Encoding::Converter.asciicompat_encoding handles encoding names who resolve to nil encodings
+fails:Encoding::Converter.asciicompat_encoding returns nil if called with an encoding it returned previously

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/constants_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/constants_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/constants_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,26 @@
+fails:Encoding::Converter::INVALID_MASK exists
+fails:Encoding::Converter::INVALID_MASK has a Fixnum value
+fails:Encoding::Converter::INVALID_REPLACE exists
+fails:Encoding::Converter::INVALID_REPLACE has a Fixnum value
+fails:Encoding::Converter::UNDEF_MASK exists
+fails:Encoding::Converter::UNDEF_MASK has a Fixnum value
+fails:Encoding::Converter::UNDEF_REPLACE exists
+fails:Encoding::Converter::UNDEF_REPLACE has a Fixnum value
+fails:Encoding::Converter::UNDEF_HEX_CHARREF exists
+fails:Encoding::Converter::UNDEF_HEX_CHARREF has a Fixnum value
+fails:Encoding::Converter::PARTIAL_INPUT exists
+fails:Encoding::Converter::PARTIAL_INPUT has a Fixnum value
+fails:Encoding::Converter::AFTER_OUTPUT exists
+fails:Encoding::Converter::AFTER_OUTPUT has a Fixnum value
+fails:Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR exists
+fails:Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR has a Fixnum value
+fails:Encoding::Converter::CRLF_NEWLINE_DECORATOR exists
+fails:Encoding::Converter::CRLF_NEWLINE_DECORATOR has a Fixnum value
+fails:Encoding::Converter::CR_NEWLINE_DECORATOR exists
+fails:Encoding::Converter::CR_NEWLINE_DECORATOR has a Fixnum value
+fails:Encoding::Converter::XML_TEXT_DECORATOR exists
+fails:Encoding::Converter::XML_TEXT_DECORATOR has a Fixnum value
+fails:Encoding::Converter::XML_ATTR_CONTENT_DECORATOR exists
+fails:Encoding::Converter::XML_ATTR_CONTENT_DECORATOR has a Fixnum value
+fails:Encoding::Converter::XML_ATTR_QUOTE_DECORATOR exists
+fails:Encoding::Converter::XML_ATTR_QUOTE_DECORATOR has a Fixnum value

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/convert_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/convert_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/convert_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,7 @@
+fails:Encoding::Converter#convert returns a String
+fails:Encoding::Converter#convert sets the encoding of the result to the target encoding
+fails:Encoding::Converter#convert transcodes the given String to the target encoding
+fails:Encoding::Converter#convert allows Strings of different encodings to the source encoding
+fails:Encoding::Converter#convert reuses the given encoding pair if called multiple times
+fails:Encoding::Converter#convert raises UndefinedConversionError if the String contains characters invalid for the target encoding
+fails:Encoding::Converter#convert raises an ArgumentError if called on a finished stream

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/convpath_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/convpath_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/convpath_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,7 @@
+fails:Encoding::Converter#convpath returns an Array
+fails:Encoding::Converter#convpath returns each encoding pair as a sub-Array
+fails:Encoding::Converter#convpath returns each encoding as an Encoding object
+fails:Encoding::Converter#convpath returns multiple encoding pairs when direct conversion is impossible
+fails:Encoding::Converter#convpath sets the last element of each pair to the first element of the next
+fails:Encoding::Converter#convpath only lists a source encoding once
+fails:Encoding::Converter#convpath indicates if crlf_newline conversion would occur

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/destination_encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/destination_encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/destination_encoding_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Encoding::Converter#destination_encoding returns the destination encoding as an Encoding object

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/finish_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/finish_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/finish_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,6 @@
+fails:Encoding::Converter#finish returns a String
+fails:Encoding::Converter#finish returns an empty String if there is nothing more to convert
+fails:Encoding::Converter#finish returns the last part of the converted String if it hasn't already
+fails:Encoding::Converter#finish returns a String in the destination encoding
+fails:Encoding::Converter#finish returns an empty String if self was not given anything to convert
+fails:Encoding::Converter#finish returns an empty String on subsequent invocations

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/last_error_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/last_error_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/last_error_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,10 @@
+fails:Encoding::Converter#last_error returns nil when the no conversion has been attempted
+fails:Encoding::Converter#last_error returns nil when the last conversion did not produce an error
+fails:Encoding::Converter#last_error returns nil when #primitive_convert last returned :destination_buffer_full
+fails:Encoding::Converter#last_error returns nil when #primitive_convert last returned :finished
+fails:Encoding::Converter#last_error returns nil if the last conversion succeeded but the penultimate failed
+fails:Encoding::Converter#last_error returns an Encoding::InvalidByteSequenceError when #primitive_convert last returned :invalid_byte_sequence
+fails:Encoding::Converter#last_error returns an Encoding::UndefinedConversionError when #primitive_convert last returned :undefined_conversion
+fails:Encoding::Converter#last_error returns an Encoding::InvalidByteSequenceError when #primitive_convert last returned :incomplete_input
+fails:Encoding::Converter#last_error returns an Encoding::InvalidByteSequenceError when the last call to #convert produced one
+fails:Encoding::Converter#last_error returns an Encoding::UndefinedConversionError when the last call to #convert produced one

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/primitive_convert_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/primitive_convert_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/primitive_convert_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,21 @@
+fails:Encoding::Converter#primitive_convert accepts a nil source buffer
+fails:Encoding::Converter#primitive_convert accepts a String as the source buffer
+fails:Encoding::Converter#primitive_convert accepts nil for the destination byte offset
+fails:Encoding::Converter#primitive_convert accepts an integer for the destination byte offset
+fails:Encoding::Converter#primitive_convert raises an ArgumentError if the destination byte offset is greater than the bytesize of the destination buffer
+fails:Encoding::Converter#primitive_convert uses the destination byte offset to determine where to write the result in the destination buffer
+fails:Encoding::Converter#primitive_convert accepts nil for the destination bytesize
+fails:Encoding::Converter#primitive_convert accepts an integer for the destination bytesize
+fails:Encoding::Converter#primitive_convert allows a destination bytesize value greater than the bytesize of the source buffer
+fails:Encoding::Converter#primitive_convert allows a destination bytesize value less than the bytesize of the source buffer
+fails:Encoding::Converter#primitive_convert uses destination bytesize as the maximumn bytesize of the destination buffer
+fails:Encoding::Converter#primitive_convert allows a destination buffer of unlimited size if destination bytesize is nil
+fails:Encoding::Converter#primitive_convert accepts an options hash
+fails:Encoding::Converter#primitive_convert sets the destination buffer's encoding to the destination encoding if the conversion suceeded
+fails:Encoding::Converter#primitive_convert sets the destination buffer's encoding to the destination encoding if the conversion failed
+fails:Encoding::Converter#primitive_convert returns :incomplete_input when source buffer ends unexpectedly and :partial_input isn't specified
+fails:Encoding::Converter#primitive_convert returns :source_buffer_empty when source buffer ends unexpectedly and :partial_input is true
+fails:Encoding::Converter#primitive_convert returns :undefined_conversion when a character in the source buffer is not representable in the output encoding
+fails:Encoding::Converter#primitive_convert returns :invalid_byte_sequence when an invalid byte sequence was found in the source buffer
+fails:Encoding::Converter#primitive_convert returns :finished when the conversion succeeded
+fails:Encoding::Converter#primitive_convert returns :destination_buffer_full when the destination buffer is too small

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/primitive_errinfo_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/primitive_errinfo_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/primitive_errinfo_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,10 @@
+fails:Encoding::Converter#primitive_errinfo returns [:source_buffer_empty,nil,nil,nil,nil] when no conversion has been attempted
+fails:Encoding::Converter#primitive_errinfo returns [:finished,nil,nil,nil,nil] when #primitive_convert last returned :finished
+fails:Encoding::Converter#primitive_errinfo returns [:source_buffer_empty,nil,nil,nil, nil] when #convert last succeeded
+fails:Encoding::Converter#primitive_errinfo returns [:destination_buffer_full,nil,nil,nil,nil] when #primitive_convert last returned :destination_buffer_full
+fails:Encoding::Converter#primitive_errinfo returns the status of the last primitive conversion, even if it was successful and the previous one wasn't
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, and the erroneous bytes when #primitive_convert last returned :undefined_conversion
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, and erroneous bytes when #primitive_convert last returned :incomplete_input
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, erroneous bytes, and the read-again bytes when #primitive_convert last returned :invalid_byte_sequence
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, erroneous bytes, and the read-again bytes when #convert last raised InvalidByteSequenceError
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, erroneous bytes, and the read-again bytes when #finish last raised InvalidByteSequenceError

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/putback_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/putback_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/putback_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,6 @@
+fails:Encoding::Converter#putback returns a String
+fails:Encoding::Converter#putback returns a String in the source encoding
+fails:Encoding::Converter#putback returns the bytes buffered due to an :invalid_byte_sequence error
+fails:Encoding::Converter#putback allows conversion to be resumed after an :invalid_byte_sequence
+fails:Encoding::Converter#putback returns an empty String when there are no more bytes to put back
+fails:Encoding::Converter#putback accepts an integer argument corresponding to the number of bytes to be put back

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/replacement_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/replacement_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/replacement_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,8 @@
+fails:Encoding::Converter#replacement returns '?' in US-ASCII when the destination encoding is not UTF-8
+fails:Encoding::Converter#replacement returns � when the destination encoding is UTF-8
+fails:Encoding::Converter#replacement= accepts a String argument
+fails:Encoding::Converter#replacement= accepts a String argument of arbitrary length
+fails:Encoding::Converter#replacement= raises an TypeError if assigned a non-String argument
+fails:Encoding::Converter#replacement= sets #replacement
+fails:Encoding::Converter#replacement= raises an UndefinedConversionError is the argument cannot be converted into the destination encoding
+fails:Encoding::Converter#replacement= does not change the replacement character if the argument cannot be converted into the destination encoding

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/search_convpath_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/search_convpath_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/search_convpath_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,8 @@
+fails:Encoding::Converter.search_convpath returns an Array
+fails:Encoding::Converter.search_convpath returns each encoding pair as a sub-Array
+fails:Encoding::Converter.search_convpath returns each encoding as an Encoding object
+fails:Encoding::Converter.search_convpath returns multiple encoding pairs when direct conversion is impossible
+fails:Encoding::Converter.search_convpath sets the last element of each pair to the first element of the next
+fails:Encoding::Converter.search_convpath only lists a source encoding once
+fails:Encoding::Converter.search_convpath indicates if crlf_newline conversion would occur
+fails:Encoding::Converter.search_convpath raises an Encoding::ConverterNotFoundError if no conversion path exists

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/source_encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/source_encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/converter/source_encoding_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Encoding::Converter#source_encoding returns the source encoding as an Encoding object

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/default_external_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/default_external_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/default_external_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding.default_external= can accept a name of an encoding as a String
+fails:Encoding.default_external= calls #to_s on arguments that are neither Strings nor Encodings
+fails:Encoding.default_external= raises an ArgumentError if the argument is nil

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/default_internal_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/default_internal_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/default_internal_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,9 @@
+fails:Encoding.default_internal is nil by default
+fails:Encoding.default_internal returns nil if no default internal encoding is set
+fails:Encoding.default_internal returns Encoding::UTF_8 if ruby was invoked with -U
+fails:Encoding.default_internal uses the encoding specified when ruby is invoked with an '-E :internal' argument
+fails:Encoding.default_internal uses the encoding specified when ruby is invoked with an '-E external:internal' argument
+fails:Encoding.default_internal= sets the default internal encoding
+fails:Encoding.default_internal= can accept a name of an encoding as a String
+fails:Encoding.default_internal= calls #to_s on arguments that are neither Strings nor Encodings
+fails:Encoding.default_internal= accepts an argument of nil to unset the default internal encoding

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/dummy_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/dummy_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/dummy_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Encoding#dummy? returns true for dummy encodings

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/find_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/find_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/find_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Encoding.find accepts any object as encoding name, if it responds to #to_str

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/inspect_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/inspect_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/inspect_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Encoding#inspect returns #<Encoding:name (dummy)> for a dummy encoding named 'name'

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/destination_encoding_name_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/destination_encoding_name_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/destination_encoding_name_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Encoding::InvalidByteSequenceError#destination_encoding_name returns a String
+fails:Encoding::InvalidByteSequenceError#destination_encoding_name is equal to the destination encoding name of the object that raised it

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/destination_encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/destination_encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/destination_encoding_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Encoding::InvalidByteSequenceError#destination_encoding returns an Encoding object
+fails:Encoding::InvalidByteSequenceError#destination_encoding is equal to the destination encoding of the object that raised it

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/error_bytes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/error_bytes_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/error_bytes_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding::InvalidByteSequenceError#error_bytes returns a String
+fails:Encoding::InvalidByteSequenceError#error_bytes returns the bytes that caused the exception
+fails:Encoding::InvalidByteSequenceError#error_bytes uses ASCII-8BIT as the encoding

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/incomplete_input_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/incomplete_input_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/incomplete_input_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding::InvalidByteSequenceError#incomplete_input? returns nil by default
+fails:Encoding::InvalidByteSequenceError#incomplete_input? returns true if #primitive_convert returned :incomplete_input for the same data
+fails:Encoding::InvalidByteSequenceError#incomplete_input? returns false if #primitive_convert returned :invalid_byte_sequence for the same data

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/readagain_bytes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/readagain_bytes_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/readagain_bytes_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding::InvalidByteSequenceError#readagain_bytes returns a String
+fails:Encoding::InvalidByteSequenceError#readagain_bytes returns the bytes to be read again
+fails:Encoding::InvalidByteSequenceError#readagain_bytes uses ASCII-8BIT as the encoding

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/source_encoding_name_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/source_encoding_name_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/source_encoding_name_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding::UndefinedConversionError#source_encoding_name returns a String
+fails:Encoding::UndefinedConversionError#source_encoding_name is equal to the source encoding name of the object that raised it
+fails:Encoding::UndefinedConversionError#source_encoding_name is equal to the source encoding at the stage of the conversion path where the error occured

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/source_encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/source_encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/invalid_byte_sequence_error/source_encoding_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding::InvalidByteSequenceError#source_encoding returns an Encoding object
+fails:Encoding::InvalidByteSequenceError#source_encoding is equal to the source encoding of the object that raised it
+fails:Encoding::InvalidByteSequenceError#source_encoding is equal to the source encoding at the stage of the conversion path where the error occured

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/list_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/list_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/list_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Encoding.list includes dummy encodings

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/locale_charmap_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/locale_charmap_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/locale_charmap_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding.locale_charmap returns a String
+fails:Encoding.locale_charmap returns a value based on the LC_ALL environment variable
+fails:Encoding.locale_charmap is unaffected by assigning to ENV['LC_ALL'] in the same process

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/replicate_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/replicate_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/replicate_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,4 @@
+fails:Encoding#replicate returns a replica of ASCII
+fails:Encoding#replicate returns a replica of UTF-8
+fails:Encoding#replicate returns a replica of UTF-16BE
+fails:Encoding#replicate returns a replica of ISO-2022-JP

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/destination_encoding_name_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/destination_encoding_name_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/destination_encoding_name_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Encoding::UndefinedConversionError#destination_encoding_name returns a String
+fails:Encoding::UndefinedConversionError#destination_encoding_name is equal to the destination encoding name of the object that raised it

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/destination_encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/destination_encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/destination_encoding_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Encoding::UndefinedConversionError#destination_encoding returns an Encoding object
+fails:Encoding::UndefinedConversionError#destination_encoding is equal to the destination encoding of the object that raised it

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/error_char_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/error_char_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/error_char_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding::UndefinedConversionError#error_char returns a String
+fails:Encoding::UndefinedConversionError#error_char returns the one-character String that caused the exception
+fails:Encoding::UndefinedConversionError#error_char uses the source encoding

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/source_encoding_name_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/source_encoding_name_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/source_encoding_name_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding::UndefinedConversionError#source_encoding_name returns a String
+fails:Encoding::UndefinedConversionError#source_encoding_name is equal to the source encoding name of the object that raised it
+fails:Encoding::UndefinedConversionError#source_encoding_name is equal to the source encoding at the stage of the conversion path where the error occured

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/source_encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/source_encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/encoding/undefined_conversion_error/source_encoding_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Encoding::UndefinedConversionError#source_encoding returns an Encoding object
+fails:Encoding::UndefinedConversionError#source_encoding is equal to the source encoding of the object that raised it
+fails:Encoding::UndefinedConversionError#source_encoding is equal to the source encoding at the stage of the conversion path where the error occured

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/erb/defmethod/def_erb_method_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/erb/defmethod/def_erb_method_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/erb/defmethod/def_erb_method_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:ERB::DefMethod.def_erb_method define method to render eRuby object as an instance method of current module

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/erb/new_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/erb/new_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/erb/new_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,10 @@
+critical:ERB.new ignores '<%# ... %>'
+critical:ERB.new removes spaces around '<%- -%>' when trim_mode is '-'
+fails:ERB.new remove "\n" when trim_mode is 1 or '>'
+fails:ERB.new remove spaces at beginning of line and "\n" when trim_mode is 2 or '<>'
+fails:ERB.new regards lines starting with '%' as '<% ... %>' when trim_mode is '%'
+fails:ERB.new regards lines starting with '%' as '<% ... %>' and remove "\n" when trim_mode is '%>'
+fails:ERB.new regard lines starting with '%' as '<% ... %>' and remove "\n" when trim_mode is '%<>'
+fails:ERB.new regard lines starting with '%' as '<% ... %>' and spaces around '<%- -%>' when trim_mode is '%-'
+fails:ERB.new changes '_erbout' variable name in the produced source
+fails:ERB.new accepts a safe level as second argument

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/u_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/u_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/u_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,5 @@
+fails:ERB::Util.u encode unicode string
+fails:ERB::Util.u encode characters
+fails:ERB::Util.u returns empty string when argument is nil
+fails:ERB::Util.u returns string when argument is number
+fails:ERB::Util.u returns string when argument is boolean

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/url_encode_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/url_encode_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/erb/util/url_encode_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:ERB::Util.url_encode encode unicode string

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/charset_map_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/charset_map_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/charset_map_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Iconv.charset_map acts as a map
+fails:Iconv.charset_map returns nil when given an unknown encoding name

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/close_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/close_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/close_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Iconv#close ignores multiple calls
+fails:Iconv#close does not raise an exception if called inside an .open block
+fails:Iconv#close returns a string containing the byte sequence to change the output buffer to its initial shift state

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/conv_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/conv_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/conv_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+fails:Iconv.conv raises a TypeError when encoding names are not Strings or string-compatible
+fails:Iconv.conv raises an Iconv::InvalidEncoding exception when an encoding cannot be found
+fails:Iconv.conv acts exactly as if opening a converter and invoking #iconv once

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/failed_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/failed_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/failed_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Iconv::Failure#failed returns a substring of the original string passed to Iconv that starts at the character which caused the exception
+fails:Iconv::Failure#failed for Iconv.iconv and Iconv.conv returns an array containing a single element when instantiated

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/inspect_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/inspect_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/inspect_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Iconv::Failure#inspect includes information on the exception class name, #succes and #failed

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/success_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/success_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure/success_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Iconv::Failure#success for Iconv#iconv and Iconv.conv returns the substring of the original string passed which was translated successfully until the exception ocurred
+fails:Iconv::Failure#success for Iconv.iconv returns an array containing all the strings that were translated successfully until the exception ocurred, in order

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/failure_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,6 @@
+fails:Iconv::Failure is a module
+fails:Iconv::Failure is included by Iconv::InvalidEncoding
+fails:Iconv::Failure is included by Iconv::IllegalSequence
+fails:Iconv::Failure is included by Iconv::InvalidCharacter
+fails:Iconv::Failure is included by Iconv::OutOfRange
+fails:Iconv::Failure is included by Iconv::BrokenLibrary

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/iconv_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/iconv_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/iconv_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,23 @@
+fails:Iconv#iconv raises an ArgumentError when called on a closed converter
+fails:Iconv#iconv when given a string or string-like parameter returns a converted version of it
+fails:Iconv#iconv keeps context between calls
+fails:Iconv#iconv when given a negative start position counts from the end of string
+fails:Iconv#iconv when the end parameter is omitted or nil goes until the end of the string
+fails:Iconv#iconv when given a positive length
+fails:Iconv#iconv when given a negative length
+fails:Iconv#iconv raises Iconv::IllegalSequence when faced with an invalid byte for the source encoding
+fails:Iconv#iconv raises Iconv::IllegalSequence when a character cannot be represented on the target encoding
+fails:Iconv#iconv raises Iconv::InvalidCharacter when an incomplete character or shift sequence happens at the end of the input buffer
+fails:Iconv#iconv sanitizes invalid upper bounds
+fails:Iconv#iconv returns a blank string on invalid lower bounds
+fails:Iconv.iconv converts a series of strings with a single converter
+fails:Iconv.iconv returns an empty array when given no strings to convert
+fails:Iconv.iconv raises a TypeError when encoding names are not Strings or string-compatible
+fails:Iconv.iconv raises an Iconv::InvalidEncoding exception when an encoding cannot be found
+fails:The 'utf-8' encoder emits proper representations for characters outside the Basic Multilingual Plane
+fails:The 'utf-16' encoder emits an empty string when the source input is empty
+fails:The 'utf-16' encoder emits a byte-order mark on first non-empty output
+fails:The 'utf-16be' decoder does not emit a byte-order mark
+fails:The 'utf-16be' decoder treats possible byte-order marks as regular characters
+fails:The 'utf-16le' decoder does not emit a byte-order mark
+fails:The 'utf-16le' decoder treats possible byte-order marks as regular characters

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/new_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/new_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/new_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,4 @@
+fails:Iconv.new creates a new encoding converter
+fails:Iconv.new when called from a subclass of Iconv instantiates an object of that class
+fails:Iconv.new raises a TypeError when encoding names are not Strings or string-compatible
+fails:Iconv.new raises an Iconv::InvalidEncoding exception when an encoding cannot be found

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/open_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/open_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/iconv/open_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,6 @@
+fails:Iconv.open creates a new encoding converter
+fails:Iconv.open when called from a subclass of Iconv instantiates an object of that class
+fails:Iconv.open raises an Iconv::InvalidEncoding exception when an encoding cannot be found
+fails:Iconv.open with a block invokes the block exactly once
+fails:Iconv.open with a block yields the converter
+fails:Iconv.open with a block returns the result of the block

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/digest_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/digest_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/digest_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:OpenSSL::HMAC.digest returns an SHA1 digest

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/hexdigest_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/hexdigest_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/hmac/hexdigest_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:OpenSSL::HMAC.hexdigest returns an SHA1 hex digest

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/pseudo_bytes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/pseudo_bytes_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/pseudo_bytes_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+critical:OpenSSL::Random#pseudo_bytes generates a random binary string of specified length
+critical:OpenSSL::Random#pseudo_bytes generates different binary strings with subsequent invocations
+critical:OpenSSL::Random#pseudo_bytes raises ArgumentError on negative arguments

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/random_bytes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/random_bytes_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/openssl/random/random_bytes_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,3 @@
+critical:OpenSSL::Random#random_bytes generates a random binary string of specified length
+critical:OpenSSL::Random#random_bytes generates different binary strings with subsequent invocations
+critical:OpenSSL::Random#random_bytes raises ArgumentError on negative arguments

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/prime/each_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/prime/each_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/prime/each_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,5 @@
+fails:Prime.each infinitely iterates the given block passing a prime
+fails:Prime#each infinitely iterates the given block passing a prime
+fails:Prime#each when an instance created via Prime.new infinitely iterates the given block passing a prime
+fails:Prime#each when an instance created via Prime.new raises a ArgumentError when is called with some argumetns
+fails:Prime#each when an instance created via Prime.new raises an ArgumentError if no block given and is called with some arguments

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/prime/integer/prime_division_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/prime/integer/prime_division_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/prime/integer/prime_division_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Integer#prime_division returns an empty array for -1

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/prime/prime_division_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/prime/prime_division_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/prime/prime_division_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Prime.prime_division returns [[-1, 1]] for -1
+fails:Prime.prime_division includes [[-1, 1]] in the divisors of a negative number

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/set/classify_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/set/classify_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/set/classify_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Set#classify returns an Enumerator when passed no block

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/set/delete_if_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/set/delete_if_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/set/delete_if_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Set#delete_if returns an Enumerator when passed no block

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/set/flatten_merge_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/set/flatten_merge_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/set/flatten_merge_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Set#flatten_merge is protected

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/set/hash_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/set/hash_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/set/hash_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:Set#hash is static

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/set/sortedset/flatten_merge_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/set/sortedset/flatten_merge_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/set/sortedset/flatten_merge_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:SortedSet#flatten_merge is protected

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/set/sortedset/hash_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/set/sortedset/hash_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/set/sortedset/hash_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1 @@
+fails:SortedSet#hash is static

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/deflate/deflate_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/deflate/deflate_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/deflate/deflate_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,4 @@
+fails:Zlib::Deflate#deflate deflates some data
+fails:Zlib::Deflate#deflate deflates lots of data
+fails:Zlib::Deflate::deflate deflates some data
+fails:Zlib::Deflate::deflate deflates lots of data

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/append_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/append_tags.txt	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/append_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -1 +1,4 @@
 critical:Zlib::Inflate#<< appends data to the input stream
+fails:Zlib::Inflate#<< just passes through the data after nil argument
+fails:Zlib::Inflate#<< properly handles excessive data, byte-by-byte
+fails:Zlib::Inflate#<< properly handles excessive data, in one go

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/inflate_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/inflate_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/inflate_tags.txt	2010-05-19 23:19:02 UTC (rev 4126)
@@ -0,0 +1,2 @@
+fails:Zlib::Inflate::inflate properly handles excessive data, byte-by-byte
+fails:Zlib::Inflate::inflate properly handles excessive data, in one go

Modified: MacRuby/trunk/spec/macruby.mspec
===================================================================
--- MacRuby/trunk/spec/macruby.mspec	2010-05-19 19:31:39 UTC (rev 4125)
+++ MacRuby/trunk/spec/macruby.mspec	2010-05-19 23:19:02 UTC (rev 4126)
@@ -17,7 +17,6 @@
     '^core/kernel/callcc_spec.rb',
     
     # Currently not working on MacRuby
-    '^core/encoding',
     '^core/io'
   ]
   
@@ -25,26 +24,20 @@
   set :library, [
     'library',
     
-     # Currently not working on MacRuby
-     '^library/cgi/htmlextension', # runs fine when run separately, it seems another spec brings IO in a wrong state
-     '^library/continuation',
-     '^library/erb',
-     '^library/fiber',
-     '^library/iconv',
-     '^library/generator',
-     '^library/openssl',
-     '^library/net/http', # due to '/fixtures/http_server' loaded in net/http/http/active_spec.rb  (webrick)
-     '^library/net/ftp', # exists the specs when running using rake spec:library and reaching net/ftp/chdir_spec.rb
-     '^library/prime',  # hangs probably because of timeout
-     '^library/set', # sortedset is segfaulting
-     '^library/syslog',    
-    # disabled the zlib specs for now because of a random GC crash
-    # that seems to occur in gzipfile/closed_spec.rb
-    '^library/zlib/adler32_spec.rb',
-    '^library/zlib/crc32_spec.rb',
-    '^library/zlib/crc_table_spec.rb',
-    '^library/zlib/deflate',
-    '^library/zlib/inflate'
+    # Obsolete in 1.9
+    '^library/fiber', # now part of core
+    '^library/syslog',
+
+    # Not supported in MacRuby
+    '^library/continuation',
+
+    # Tons of IO issues
+    '^library/net/http', # due to '/fixtures/http_server' loaded in net/http/http/active_spec.rb  (webrick)
+    '^library/net/ftp', # exists the specs when running using rake spec:library and reaching net/ftp/chdir_spec.rb
+    # Currently not working on MacRuby
+    '^library/cgi/htmlextension', # runs fine when run separately, it seems another spec brings IO in a wrong state
+    '^library/erb/new_spec.rb', # Loading issues
+    '^library/prime/each_spec.rb',  # hangs because of timeout, but if the spec is tagged, crashes at the end, even when tagging everything
   ]
   
   # Prepend the paths with the proper prefix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100519/fa083e98/attachment-0001.html>


More information about the macruby-changes mailing list