Parent

Methods

Class/Module Index [+]

Quicksearch

Mocha::Integration::TestUnit::AssertionCounter

Public Class Methods

new(test_result) click to toggle source
# File lib/mocha/integration/test_unit/assertion_counter.rb, line 9
def initialize(test_result)
  @test_result = test_result
end

Public Instance Methods

increment() click to toggle source
# File lib/mocha/integration/test_unit/assertion_counter.rb, line 13
def increment
  @test_result.add_assertion
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.