module Test::Unit::TestResultOmissionSupport

Attributes

omissions[R]

Public Instance Methods

add_omission(omission) click to toggle source

Records a Test::Unit::Omission.

# File test-unit-3.5.3/lib/test/unit/omission.rb, line 174
def add_omission(omission)
  @omissions << omission
  notify_fault(omission)
  notify_changed
end
omission_count() click to toggle source

Returns the number of omissions this TestResult has recorded.

# File test-unit-3.5.3/lib/test/unit/omission.rb, line 182
def omission_count
  @omissions.size
end