free_mutant/lib/mutant/reporter.rb

44 lines
705 B
Ruby
Raw Normal View History

module Mutant
# Abstract base class for reporters
class Reporter
2014-07-17 09:59:25 -04:00
include AbstractType
# Write warning message
#
# @param [String] message
#
# @return [self]
#
# @api private
abstract_method :warn
# Report start
#
# @param [Env] env
#
# @return [self]
#
# @api private
abstract_method :start
2014-07-17 09:59:25 -04:00
# Report collector state
#
2014-07-17 09:59:25 -04:00
# @param [Runner::Collector] collector
#
# @return [self]
#
# @api private
abstract_method :report
# Report progress on object
#
# @param [Object] object
#
# @return [self]
#
# @api private
abstract_method :progress
2013-06-14 14:54:02 -04:00
end # Reporter
end # Mutant