COMMIT Follow mspec's change 52edd74d311ccb499d47. http://github.com/rubyspec/rubyspec/commit/afdcf7a67d4959ae459971f1c453d3d086419296 =================================================================== +++ 20110217T022547Z @@ 11047 @@ Class.new - creates a new anonymous class +- raises a TypeError if passed a metaclass - creates a class without a name - creates a class that can be given a name by assigning it to a constant - sets the new class' superclass to the given class @@ 14728 @@ - raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode IO.open +- calls #close after yielding to the block +- propagates an exception raised by #close that is not a StandardError +- does not propagate a StandardError raised by #close +- does not set last error when a StandardError raised by #close /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/io/output_spec.rb IO#<< @@ 17497 @@ Module#class_variable_defined? - returns true if a class variable with the given name is defined in self - returns true if a class variable with the given name is defined in the metaclass +- returns true if the class variable is defined in a metaclass +- returns false if the class variable is not defined in a metaclass - returns true if a class variables with the given name is defined in an included module - returns false if a class variables with the given name is defined in an extended module - accepts Fixnums for class variables @@ 17515 @@ - returns class variables defined in the class body and accessed in the metaclass - returns class variables defined in the metaclass and accessed by class methods - returns class variables defined in the metaclass and accessed by instance methods +- returns a class variable defined in a metaclass - accepts Fixnums for class variables - raises a NameError when a Fixnum for an uninitialized class variable is given - raises a NameError when an uninitialized class variable is accessed @@ 17526 @@ /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/module/class_variable_set_spec.rb Module#class_variable_set - sets the class variable with the given name to the given value +- sets a class variable on a metaclass - sets the value of a class variable with the given name defined in an included module - accepts Fixnums for class variables - raises a TypeError when self is frozen @@ 17538 @@ Module#class_variables - returns an Array with the names of class variables of self and self's ancestors - returns an Array with names of class variables defined in metaclasses +- returns an Array of Strings of class variable names defined in a metaclass - returns an Array with names of class variables defined in included modules - does not return class variables defined in extended modules @@ 17652 @@ /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/module/extend_object_spec.rb Module#extend_object - is called when #extend is called on an object +- extends the given object with its constants and methods by default - is called even when private /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/module/extended_spec.rb @@ 17933 @@ Module#remove_class_variable - removes class variable - returns the value of removing class variable +- removes a class variable defined in a metaclass - raises a NameError when removing class variable declared in included module - raises a NameError when passed a symbol with one leading @ - raises a NameError when passed a symbol with no leading @ @@ 22631 @@ - raises TypeError if the constant qualifying the class is nil - raises TypeError if any constant qualifying the class is not a Module - allows using self as the superclass if self is a class +- raises a TypeError if inheriting from a metaclass - allows the declaration of class variables in the body - stores instance variables defined in the class body in the class object - allows the declaration of class variables in a class method @@ 37969 @@ Class.new - creates a new anonymous class +- raises a TypeError if passed a metaclass - creates a class without a name - creates a class that can be given a name by assigning it to a constant - sets the new class' superclass to the given class @@ 46941 @@ - raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode IO.open +- calls #close after yielding to the block +- propagates an exception raised by #close that is not a StandardError +- does not propagate a StandardError raised by #close +- does not set last error when a StandardError raised by #close Finished in seconds @@ 51984 @@ Module#class_variable_defined? - returns true if a class variable with the given name is defined in self - returns true if a class variable with the given name is defined in the metaclass +- returns true if the class variable is defined in a metaclass +- returns false if the class variable is not defined in a metaclass - returns true if a class variables with the given name is defined in an included module - returns false if a class variables with the given name is defined in an extended module - accepts Fixnums for class variables @@ 52010 @@ - returns class variables defined in the class body and accessed in the metaclass - returns class variables defined in the metaclass and accessed by class methods - returns class variables defined in the metaclass and accessed by instance methods +- returns a class variable defined in a metaclass - accepts Fixnums for class variables - raises a NameError when a Fixnum for an uninitialized class variable is given - raises a NameError when an uninitialized class variable is accessed @@ 52029 @@ /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/module/class_variable_set_spec.rb Module#class_variable_set - sets the class variable with the given name to the given value +- sets a class variable on a metaclass - sets the value of a class variable with the given name defined in an included module - accepts Fixnums for class variables - raises a TypeError when self is frozen @@ 52049 @@ Module#class_variables - returns an Array with the names of class variables of self and self's ancestors - returns an Array with names of class variables defined in metaclasses +- returns an Array of Strings of class variable names defined in a metaclass - returns an Array with names of class variables defined in included modules - does not return class variables defined in extended modules @@ 52251 @@ /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/module/extend_object_spec.rb Module#extend_object - is called when #extend is called on an object +- extends the given object with its constants and methods by default - is called even when private @@ 52820 @@ Module#remove_class_variable - removes class variable - returns the value of removing class variable +- removes a class variable defined in a metaclass - raises a NameError when removing class variable declared in included module - raises a NameError when passed a symbol with one leading @ - raises a NameError when passed a symbol with no leading @ @@ 62952 @@ - raises TypeError if the constant qualifying the class is nil - raises TypeError if any constant qualifying the class is not a Module - allows using self as the superclass if self is a class +- raises a TypeError if inheriting from a metaclass - allows the declaration of class variables in the body - stores instance variables defined in the class body in the class object - allows the declaration of class variables in a class method @@ 90885 @@ C-API Class function rb_class_new - returns an new subclass of the superclass - raises a TypeError if passed Class as the superclass +- raises a TypeError if passed a singleton class as the superclass Finished in seconds =================================================================== --- 20110216T022445Z @@ 11047 @@ Class.new - creates a new anonymous class -- raises a TypeError if passed a metaclass (ERROR - ) - creates a class without a name - creates a class that can be given a name by assigning it to a constant - sets the new class' superclass to the given class @@ 14728 @@ - raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode IO.open -- calls #close after yielding to the block (ERROR - ) -- propagates an exception raised by #close that is not a StandardError (FAILED - ) -- does not propagate a StandardError raised by #close (ERROR - ) -- does not set last error when a StandardError raised by #close (ERROR - ) /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/io/output_spec.rb IO#<< @@ 17497 @@ Module#class_variable_defined? - returns true if a class variable with the given name is defined in self - returns true if a class variable with the given name is defined in the metaclass -- returns true if the class variable is defined in a metaclass (ERROR - ) -- returns false if the class variable is not defined in a metaclass (ERROR - ) - returns true if a class variables with the given name is defined in an included module - returns false if a class variables with the given name is defined in an extended module - accepts Fixnums for class variables @@ 17515 @@ - returns class variables defined in the class body and accessed in the metaclass - returns class variables defined in the metaclass and accessed by class methods - returns class variables defined in the metaclass and accessed by instance methods -- returns a class variable defined in a metaclass (ERROR - ) - accepts Fixnums for class variables - raises a NameError when a Fixnum for an uninitialized class variable is given - raises a NameError when an uninitialized class variable is accessed @@ 17526 @@ /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/module/class_variable_set_spec.rb Module#class_variable_set - sets the class variable with the given name to the given value -- sets a class variable on a metaclass (ERROR - ) - sets the value of a class variable with the given name defined in an included module - accepts Fixnums for class variables - raises a TypeError when self is frozen @@ 17538 @@ Module#class_variables - returns an Array with the names of class variables of self and self's ancestors - returns an Array with names of class variables defined in metaclasses -- returns an Array of Strings of class variable names defined in a metaclass (ERROR - ) - returns an Array with names of class variables defined in included modules - does not return class variables defined in extended modules @@ 17652 @@ /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/module/extend_object_spec.rb Module#extend_object - is called when #extend is called on an object -- extends the given object with its constants and methods by default (ERROR - ) - is called even when private /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/module/extended_spec.rb @@ 17933 @@ Module#remove_class_variable - removes class variable - returns the value of removing class variable -- removes a class variable defined in a metaclass (ERROR - ) - raises a NameError when removing class variable declared in included module - raises a NameError when passed a symbol with one leading @ - raises a NameError when passed a symbol with no leading @ @@ 22631 @@ - raises TypeError if the constant qualifying the class is nil - raises TypeError if any constant qualifying the class is not a Module - allows using self as the superclass if self is a class -- raises a TypeError if inheriting from a metaclass (ERROR - ) - allows the declaration of class variables in the body - stores instance variables defined in the class body in the class object - allows the declaration of class variables in a class method @@ 37969 @@ Class.new - creates a new anonymous class -- raises a TypeError if passed a metaclass (ERROR - ) - creates a class without a name - creates a class that can be given a name by assigning it to a constant - sets the new class' superclass to the given class @@ 37981 @@ ) -Class.new raises a TypeError if passed a metaclass ERROR -NoMethodError: undefined method `metaclass' for # @name="Class.new metaclass", @null=nil> -/var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/mocks/proxy.rb:8:in `method_missing' -/var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/class/new_spec.rb:54 /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' -/var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/class/new_spec.rb:1:in `all?' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/context.rb:179:in `each' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/context.rb:179:in `all?' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 37997 @@ /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/context.rb:199:in `process' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' -/var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//rubyspec/core/class/new_spec.rb:43 /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/mspec.rb:56:in `load' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/mspec.rb:56:in `files' /var/lib/chkbuild/tmp/build/ruby-1.8-o3-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 38014 @@ 1 file, 9 examples, expectations, 0 failures, 1 error exit 1 -failed(rubyspec/core/class/new_spec.rb) == rubyspec/core/class/superclass_spec.rb #