OlderDiff < 20110411T055247Z < ThisDiff > 20110412T060109Z > NewerDiff
COMMIT Add a few more Dir[] specs
COMMIT Add missing specs for String#chomp!
COMMIT Start cleanup and organization of the Marshal specs
COMMIT Silence warn_unused_result in C-API spec.
COMMIT Add spec for Module#include return value
COMMIT Adding spec to confirm that Hash#reject taints.
COMMIT Add specs for nested braces in Dir.glob (@meadow)
COMMIT Added spec for Enumerable.include? to check that equality == method is called on enumeration items
COMMIT Added spec for Array.slice!(0)
COMMIT Add spec for Hash#to_a and Enumerable#entries relationship
COMMIT Added spec for YAML parsing second fraction to microseconds from iso8601 date
COMMIT specs for rb_io_check_readable/writeable - should accept io in RDWR mode
COMMIT fix spec for rb_io_check_writeable
COMMIT rb_ary_reverse reverses in-place (closes #792)
COMMIT split up rb_ary_reverse specs
COMMIT Marshal.load wraps NameError in ArgumentError
COMMIT FreeBSD gives a different exception type
COMMIT Add more DATA specs
COMMIT Move all DATA specs to one place
COMMIT specs for BigDecimal::ROUND_HALF_DOWN/ROUND_HALF_EVEN
COMMIT specs for Marshal.dump/load Integer
COMMIT Rewrite IO#putc specs and share with Kernel[#.]putc.
COMMIT Add specs for rb_ary_to_ary
COMMIT Add specs for rb_alias
COMMIT Add specs for rb_struct_getmember
COMMIT Add spec for the regular case with a start and end given
COMMIT Added SpecTCPServer.
COMMIT Rewrote TCPSocket.new/open specs.
COMMIT Spec for TCPSocket#recv_nonblock.
COMMIT Temporary hack to avoid address in use exception.
COMMIT More specs for File#truncate
COMMIT Some tweaks for File#truncate spec.
COMMIT Simplified SpecTCPServer.
COMMIT Cleaned up YAML.load specs usec from a ISO8601 timestamp.
COMMIT Added ruby_bug guard for BigDecimal::ROUND_HALF_DOWN|EVEN.
===================================================================
+++ 20110412T060109Z
@@ 13055 @@
- calls to_int on start and length arguments
- removes and return elements in range
- calls to_int on range arguments
+- returns last element for consecutive calls at zero index
- expands self when indices are out of bounds
- raises a TypeError on a frozen array
@@ 13777 @@
- accepts string sets with empty strings with {<string>,,<other>}
- matches dot or non-dotfiles with '{,.}*'
- respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
- matches special characters by escaping with a backslash with '\<character>'
- recursively matches directories with '**/<characters>'
- preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
Dir.[]
- matches multiple recursives
@@ 13845 @@
- accepts string sets with empty strings with {<string>,,<other>}
- matches dot or non-dotfiles with '{,.}*'
- respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
- matches special characters by escaping with a backslash with '\<character>'
- recursively matches directories with '**/<characters>'
- preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
Dir.glob
- matches multiple recursives
@@ 13860 @@
- matches both dot and non-dotfiles with '*' and option File::FNM_DOTMATCH
- matches files with any beginning with '*<non-special characters>' and option File::FNM_DOTMATCH
- matches any files in the current directory with '**' and option File::FNM_DOTMATCH
+- recursively matches any subdirectories except './' or '../' with '**/' from the current directory and option File::FNM_DOTMATCH
- recursively matches any subdirectories except './' or '../' with '**/' and option File::FNM_DOTMATCH
- accepts a block and yields it with each elements
- matches the literal character '\' with option File::FNM_NOESCAPE
@@ 14107 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/group_by_spec.rb
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/include_spec.rb
Enumerable#include?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/inject_spec.rb
@@ 14140 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/member_spec.rb
Enumerable#member?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/min_by_spec.rb
@@ 15456 @@
- raises a TypeError if not passed an Integer type for the second argument
File#truncate
+- does not move the file write pointer to the specified byte offset
+- does not move the file read pointer to the specified byte offset
- truncates a file
- truncates a file size to 0
- truncates a file size to 5
@@ 16444 @@
Hash#reject
- is equivalent to hsh.dup.delete_if
- returns subclass instance for subclasses
+- taints the resulting hash
- processes entries with the same order as reject!
- raises a LocalJumpError when called on a non-empty hash without a block
- does not raise a LocalJumpError when called on an empty hash without a block
@@ 16503 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/hash/to_a_spec.rb
Hash#to_a
- returns a list of [key, value] pairs with same order as each()
+- is called for Enumerable#entries
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/hash/to_hash_spec.rb
Hash#to_hash
@@ 17015 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/putc_spec.rb
IO#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+IO#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+IO#putc with a String argument
+- writes one character
+- writes the first character
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/puts_spec.rb
IO#puts
@@ 18535 @@
- is a private instance method
Kernel.putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+Kernel.putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+Kernel.putc with a String argument
+- writes one character
+- writes the first character
Kernel#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+Kernel#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+Kernel#putc with a String argument
+- writes one character
+- writes the first character
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/kernel/puts_spec.rb
Kernel#puts
@@ 19173 @@
- dumps a marshal_dump object
- dumps a 1...2
+Marshal.dump for an Integer
+- dumps an Integer 8
+- dumps and Integer -8
+- dumps an Integer 1234
+- dumps an Integer -1234
+- dumps an Integer 4611686018427387903
+- dumps an Integer -4611686018427387903
+- dumps an Integer 2361183241434822606847
+- dumps an Integer -2361183241434822606847
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/marshal/load_spec.rb
Marshal::load
- raises an ArgumentError when the dumped data is truncated
+- raises an ArgumentError when the dumped class is missing
- ignores the value of the proc when called with a proc
- doesn't call the proc for recursively visited data
- loads a array containing objects having _dump method, and with proc
@@ 19250 @@
- loads a marshal_dump object
- loads a 1...2
+Marshal::load for an Array
- loads a array containing the same objects
- loads an array having ivar
+Marshal::load for a Hash
- loads an extended_user_hash with a parameter to initialize
- preserves hash ivars when hash contains a string having ivar
+Marshal::load for a String
- loads a string having ivar with ref to self
+Marshal::load for a Struct
- loads a extended_struct having fields with same objects
- loads a struct having ivar
- loads a struct having fields
+Marshal::load for a user Class
- loads a user-marshaled extended object
- loads a user_object
- loads a object
- loads an extended Object
- loads a object having ivar
+Marshal::load for a Regexp
- loads an extended Regexp
- loads a extended_user_regexp having ivar
+Marshal::load for a Float
- loads a Float NaN
- loads a Float 1.3
- loads a Float -5.1867345e-22
- loads a Float 1.1867345e+22
+Marshal::load for a Integer
+- loads an Integer 8
+- loads and Integer -8
+- loads an Integer 1234
+- loads an Integer -1234
+- loads an Integer 4611686018427387903
+- loads an Integer -4611686018427387903
+- loads an Integer 2361183241434822606847
+- loads an Integer -2361183241434822606847
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/marshal/restore_spec.rb
Marshal.restore
@@ 20086 @@
- preserves ancestor order
- detects cyclic includes
- accepts no-arguments
+- returns the class it's included into
- ignores modules it has already included via module mutual inclusion
- clears any caches
@@ 21701 @@
- modifies self in place and returns self
- returns nil if no modifications were made
- raises a TypeError when self is frozen
+- does raise an exception when no change would be done and no argument is passed in
+- does not raise an exception when no change would be done and no argument is passed in on an empty string
- does not raise an exception when the string would not be modified
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/string/chop_spec.rb
@@ 28180 @@
- calls to_int on start and length arguments
- removes and return elements in range
- calls to_int on range arguments
+- returns last element for consecutive calls at zero index
- expands self when indices are out of bounds
- raises a TypeError on a frozen array
@@ 30016 @@
- accepts string sets with empty strings with {<string>,,<other>}
- matches dot or non-dotfiles with '{,.}*'
- respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
- matches special characters by escaping with a backslash with '\<character>'
- recursively matches directories with '**/<characters>'
- preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
Dir.[]
- matches multiple recursives
@@ 30132 @@
- accepts string sets with empty strings with {<string>,,<other>}
- matches dot or non-dotfiles with '{,.}*'
- respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
- matches special characters by escaping with a backslash with '\<character>'
- recursively matches directories with '**/<characters>'
- preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
Dir.glob
- matches multiple recursives
@@ 30147 @@
- matches both dot and non-dotfiles with '*' and option File::FNM_DOTMATCH
- matches files with any beginning with '*<non-special characters>' and option File::FNM_DOTMATCH
- matches any files in the current directory with '**' and option File::FNM_DOTMATCH
+- recursively matches any subdirectories except './' or '../' with '**/' from the current directory and option File::FNM_DOTMATCH
- recursively matches any subdirectories except './' or '../' with '**/' and option File::FNM_DOTMATCH
- accepts a block and yields it with each elements
- matches the literal character '\' with option File::FNM_NOESCAPE
@@ 30156 @@
Finished in <t> seconds
+1 file, 54 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/dir/home_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/core/dir/home_spec.rb
ruby <version>
@@ 31058 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/include_spec.rb
Enumerable#include?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
@@ 31131 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/member_spec.rb
Enumerable#member?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
@@ 34175 @@
- raises a TypeError if not passed an Integer type for the second argument
File#truncate
+- does not move the file write pointer to the specified byte offset
+- does not move the file read pointer to the specified byte offset
- truncates a file
- truncates a file size to 0
- truncates a file size to 5
@@ 36534 @@
Hash#reject
- is equivalent to hsh.dup.delete_if
- returns subclass instance for subclasses
+- taints the resulting hash
- processes entries with the same order as reject!
- raises a LocalJumpError when called on a non-empty hash without a block
- does not raise a LocalJumpError when called on an empty hash without a block
@@ 36649 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/hash/to_a_spec.rb
Hash#to_a
- returns a list of [key, value] pairs with same order as each()
+- is called for Enumerable#entries
Finished in <t> seconds
@@ 37809 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/putc_spec.rb
IO#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+IO#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+IO#putc with a String argument
+- writes one character
+- writes the first character
Finished in <t> seconds
@@ 40316 @@
- is a private instance method
Kernel.putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+Kernel.putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+Kernel.putc with a String argument
+- writes one character
+- writes the first character
Kernel#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+Kernel#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+Kernel#putc with a String argument
+- writes one character
+- writes the first character
Finished in <t> seconds
@@ 41314 @@
- dumps a marshal_dump object
- dumps a 1...2
+Marshal.dump for an Integer
+- dumps an Integer 8
+- dumps and Integer -8
+- dumps an Integer 1234
+- dumps an Integer -1234
+- dumps an Integer 4611686018427387903
+- dumps an Integer -4611686018427387903
+- dumps an Integer 2361183241434822606847
+- dumps an Integer -2361183241434822606847
Finished in <t> seconds
+1 file, 91 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/marshal/load_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/core/marshal/load_spec.rb
ruby <version>
@@ 41335 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/marshal/load_spec.rb
Marshal::load
- raises an ArgumentError when the dumped data is truncated
+- raises an ArgumentError when the dumped class is missing
- ignores the value of the proc when called with a proc
- doesn't call the proc for recursively visited data
- loads a array containing objects having _dump method, and with proc
@@ 41399 @@
- loads a marshal_dump object
- loads a 1...2
+Marshal::load for an Array
- loads a array containing the same objects
- loads an array having ivar
+Marshal::load for a Hash
- loads an extended_user_hash with a parameter to initialize
- preserves hash ivars when hash contains a string having ivar
+Marshal::load for a String
- loads a string having ivar with ref to self
+Marshal::load for a Struct
- loads a extended_struct having fields with same objects
- loads a struct having ivar
- loads a struct having fields
+Marshal::load for a user Class
- loads a user-marshaled extended object
- loads a user_object
- loads a object
- loads an extended Object
- loads a object having ivar
+Marshal::load for a Regexp
- loads an extended Regexp
- loads a extended_user_regexp having ivar
+Marshal::load for a Float
- loads a Float NaN
- loads a Float 1.3
- loads a Float -5.1867345e-22
- loads a Float 1.1867345e+22
+Marshal::load for a Integer
+- loads an Integer 8
+- loads and Integer -8
+- loads an Integer 1234
+- loads an Integer -1234
+- loads an Integer 4611686018427387903
+- loads an Integer -4611686018427387903
+- loads an Integer 2361183241434822606847
+- loads an Integer -2361183241434822606847
Finished in <t> seconds
+1 file, 91 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/marshal/restore_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/core/marshal/restore_spec.rb
ruby <version>
@@ 43134 @@
- preserves ancestor order
- detects cyclic includes
- accepts no-arguments
+- returns the class it's included into
- ignores modules it has already included via module mutual inclusion
- clears any caches
@@ 47416 @@
- modifies self in place and returns self
- returns nil if no modifications were made
- raises a TypeError when self is frozen
+- does raise an exception when no change would be done and no argument is passed in
+- does not raise an exception when no change would be done and no argument is passed in on an empty string
- does not raise an exception when the string would not be modified
@@ 54508 @@
Finished in <t> seconds
1 file, 32 examples, <num> expectations, 0 failures, 0 errors
+== rubyspec/language/predefined/data_spec.rb # <time>
++ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/language/predefined/data_spec.rb
ruby <version>
+/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/language/predefined/data_spec.rb
+The DATA constant
+- exists when the main script contains __END__
+- does not exist when the main script contains no __END__
+- does not exist when an included file has a __END__
+- does not change when an included files also has a __END__
+- is included in an otherwise empty file
- succeeds in locking the file DATA came from
@@ 54673 @@
Finished in <t> seconds
+1 file, 91 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/language/private_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/language/private_spec.rb
ruby <version>
@@ 56435 @@
Finished in <t> seconds
1 file, 8 examples, <num> expectations, 0 failures, 0 errors
+== rubyspec/library/bigdecimal/round_spec.rb # <time>
++ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/library/bigdecimal/round_spec.rb
ruby <version>
+/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/library/bigdecimal/round_spec.rb
Finished in <t> seconds
@@ 63374 @@
- raises an ArgumentError when called on a closed converter
- when given a string or string-like parameter returns a converted version of it
- keeps context between calls
+- when given a start and end position returns the substring
- when given a negative start position counts from the end of string
- when the end parameter is omitted or nil goes until the end of the string
- when given a positive length
@@ 74278 @@
- requires a hostname and a port as arguments
- refuses the connection when there is no server to connect to
+TCPSocket.new with a running server
+- connects to a listening server with host and port
+- connects to a server when passed local_host argument
+- connects to a server when passed local_host and local_port arguments
- has an address once it has connected to a listening server
@@ 74297 @@
- requires a hostname and a port as arguments
- refuses the connection when there is no server to connect to
+TCPSocket.open with a running server
+- connects to a listening server with host and port
+- connects to a server when passed local_host argument
+- connects to a server when passed local_host and local_port arguments
- has an address once it has connected to a listening server
@@ 74320 @@
Finished in <t> seconds
1 file, 2 examples, <num> expectations, 0 failures, 0 errors
+== rubyspec/library/socket/tcpsocket/recv_nonblock_spec.rb # <time>
++ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/library/socket/tcpsocket/recv_nonblock_spec.rb
ruby <version>
+/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/library/socket/tcpsocket/recv_nonblock_spec.rb
+TCPSocket#recv_nonblock
+- returns a String read from the socket
Finished in <t> seconds
@@ 78033 @@
- works on complex keys
- loads a symbol key that contains spaces
+YAML.load with iso8601 timestamp
+- computes the microseconds
Finished in <t> seconds
@@ 79038 @@
C-API Array function rb_ary_reverse
- reverses the order of elements in the array
+- returns the original array
C-API Array function rb_ary_entry
- returns nil when passed an empty array
@@ 79127 @@
- returns nil if the index is out of bounds
- returns nil if the negative index is out of bounds
+C-API Array function rb_ary_to_ary with an array
+- returns the given array
+C-API Array function rb_ary_to_ary with an object that responds to to_ary
+- calls to_ary on the object
+C-API Array function rb_ary_to_ary with an object that responds to to_a
+- returns the original object in an array
+C-API Array function rb_ary_to_ary with an object that doesn't respond to to_ary
+- returns the original object in an array
Finished in <t> seconds
+1 file, 64 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/optional/capi/bignum_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/optional/capi/bignum_spec.rb
ruby <version>
@@ 79454 @@
C-API IO function rb_io_check_readable
- does not raise an exception if the IO is opened for reading
+- does not raise an exception if the IO is opened for read and write
- raises an IOError if the IO is not opened for reading
C-API IO function rb_io_check_writable
- does not raise an exeption if the IO is opened for writing
+- does not raise an exception if the IO is opened for read and write
- raises an IOError if the IO is not opened for reading
C-API IO function rb_io_wait_writeable
@@ 79623 @@
CApiModule rb_define_alias
- defines an alias for an existing method
+CApiModule rb_alias
- defines an alias for an existing method
CApiModule rb_define_global_function
@@ 80042 @@
C-API Struct function rb_struct_aref
- returns the value of a struct member with a symbol key
+- returns the value of a struct member with a string key
- returns the value of a struct member by index
- raises a NameError if the struct member does not exist
+C-API Struct function rb_struct_getmember
+- returns the value of a struct member
- raises a NameError if the struct member does not exist
C-API Struct function rb_struct_aset
===================================================================
--- 20110411T055247Z
@@ 14163 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/group_by_spec.rb
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/include_spec.rb
Enumerable#include?
-- returns true if any element == argument
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/inject_spec.rb
@@ 14195 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/member_spec.rb
Enumerable#member?
-- returns true if any element == argument
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/min_by_spec.rb
@@ 16738 @@
- is defined
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/copy_stream_spec.rb
-/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/data/data_spec.rb
-DATA
-- presents $0 file data after __END__ as a File object
-DATA
-- may be included in an empty script
-/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/data/flock_spec.rb
-DATA.flock
- succeeds in locking the file DATA came from
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/dup_spec.rb
@@ 17077 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/putc_spec.rb
IO#putc
- raises IOError on closed stream
-- writes the first byte of a String
-- calls #to_int on a non-Integer and writes the first byte of the value
-- writes a Numeric that fits in a byte
-- write the first byte of a Numeric that does not fit in a byte
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/puts_spec.rb
IO#puts
@@ 19122 @@
- raises an Error when the IO-Object does not respond to #write
- raises an ArgumentError when given more than three arguments
- raises an Error when trying to dump an anonymous class/module
-- invokes respond_to? for marshal_dump and _dump on user classes
-- attempts to invoke marshal_dump if respond_to? :marshal_dump is true
-- attempts to invoke _dump if respond_to? :_dump is true
- raises a TypeError if _dump returns a non-string
- dumps an Object
- dumps an extended_object
@@ 19207 @@
- loads a extended_struct having fields with same objects
- loads a string having ivar with ref to self
- loads an extended_user_hash with a parameter to initialize
-- invokes respond_to? for marshal_load when the stream needs marshal_load
-- invokes respond_to? for _load when the stream needs _load
- loads a user-marshaled extended object
- loads a user_object
- loads a object
@@ 19289 @@
- returns a tainted object if source is tainted
- preserves taintedness of nested structure
-Marshal.load
- needs to be reviewed for spec completeness
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/marshal/restore_spec.rb
@@ 31046 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/include_spec.rb
Enumerable#include?
-- returns true if any element == argument
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
@@ 31118 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/enumerable/member_spec.rb
Enumerable#member?
-- returns true if any element == argument
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
@@ 37172 @@
Finished in <t> seconds
1 file, 0 examples, <num> expectations, 0 failures, 0 errors
-== rubyspec/core/io/data/data_spec.rb # <time>
-+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/core/io/data/data_spec.rb
ruby <version>
-/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/data/data_spec.rb
-DATA
-- presents $0 file data after __END__ as a File object
-DATA
-- may be included in an empty script
Finished in <t> seconds
1 file, 2 examples, <num> expectations, 0 failures, 0 errors
-== rubyspec/core/io/data/flock_spec.rb # <time>
-+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/core/io/data/flock_spec.rb
ruby <version>
-/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/data/flock_spec.rb
-DATA.flock
- succeeds in locking the file DATA came from
@@ 37819 @@
/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/core/io/putc_spec.rb
IO#putc
- raises IOError on closed stream
-- writes the first byte of a String
-- calls #to_int on a non-Integer and writes the first byte of the value
-- writes a Numeric that fits in a byte
-- write the first byte of a Numeric that does not fit in a byte
Finished in <t> seconds
@@ 41211 @@
- raises an Error when the IO-Object does not respond to #write
- raises an ArgumentError when given more than three arguments
- raises an Error when trying to dump an anonymous class/module
-- invokes respond_to? for marshal_dump and _dump on user classes
-- attempts to invoke marshal_dump if respond_to? :marshal_dump is true
-- attempts to invoke _dump if respond_to? :_dump is true
- raises a TypeError if _dump returns a non-string
- dumps an Object
- dumps an extended_object
@@ 41294 @@
Finished in <t> seconds
-1 file, 86 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/marshal/load_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/core/marshal/load_spec.rb
ruby <version>
@@ 41304 @@
- loads a extended_struct having fields with same objects
- loads a string having ivar with ref to self
- loads an extended_user_hash with a parameter to initialize
-- invokes respond_to? for marshal_load when the stream needs marshal_load
-- invokes respond_to? for _load when the stream needs _load
- loads a user-marshaled extended object
- loads a user_object
- loads a object
@@ 41386 @@
- returns a tainted object if source is tainted
- preserves taintedness of nested structure
-Marshal.load
- needs to be reviewed for spec completeness
Finished in <t> seconds
-1 file, 84 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/marshal/restore_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/core/marshal/restore_spec.rb
ruby <version>
@@ 54544 @@
- raises a SyntaxError if assigned to
The predefined global constants
-- includes DATA when main script contains __END__
-- does not include DATA when main script contains no __END__
- includes TRUE
- includes FALSE
- includes NIL
@@ 74196 @@
TCPSocket.new
- requires a hostname and a port as arguments
- refuses the connection when there is no server to connect to
-- connects to a listening server
- has an address once it has connected to a listening server
@@ 74211 @@
TCPSocket.open
- requires a hostname and a port as arguments
- refuses the connection when there is no server to connect to
-- connects to a listening server
- has an address once it has connected to a listening server
@@ 79025 @@
Finished in <t> seconds
-1 file, 59 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/optional/capi/bignum_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/optional/capi/bignum_spec.rb
ruby <version>
@@ 79538 @@
Finished in <t> seconds
-1 file, 39 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/optional/capi/numeric_spec.rb # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth/<buildtime>/bin/ruby rubyspec/optional/capi/numeric_spec.rb
ruby <version>
OlderDiff < 20110411T055247Z < ThisDiff > 20110412T060109Z > NewerDiff