In Files

  • test-unit-3.3.4/lib/test/unit/omission.rb

Class/Module Index [+]

Quicksearch

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.3.4/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.3.4/lib/test/unit/omission.rb, line 182
def omission_count
  @omissions.size
end