Class/Module Index [+]

Quicksearch

Test::Unit::TestResultErrorSupport

Attributes

errors[R]

Public Instance Methods

add_error(error) click to toggle source

Records a Test::Unit::Error.

# File lib/test/unit/error.rb, line 125
def add_error(error)
  @errors << error
  notify_fault(error)
  notify_changed
end
error_count() click to toggle source

Returns the number of errors this TestResult has recorded.

# File lib/test/unit/error.rb, line 133
def error_count
  @errors.size
end
error_occurred?() click to toggle source
# File lib/test/unit/error.rb, line 137
def error_occurred?
  not @errors.empty?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.