2012-08-15 22:10:54 -04:00
|
|
|
module Mutant
|
|
|
|
# Abstract reporter
|
|
|
|
class Reporter
|
2012-11-26 05:30:00 -05:00
|
|
|
include Adamantium::Flat, AbstractType
|
2012-08-15 22:10:54 -04:00
|
|
|
|
|
|
|
# Report subject
|
|
|
|
#
|
|
|
|
# @param [Subject] subject
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
abstract_method :subject
|
|
|
|
|
|
|
|
# Report mutation
|
|
|
|
#
|
|
|
|
# @param [Mutation] mutation
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
abstract_method :mutation
|
|
|
|
|
2012-12-07 09:59:37 -05:00
|
|
|
# Report notice
|
|
|
|
#
|
|
|
|
# @param [String] notice
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
abstract_method :notice
|
|
|
|
|
2012-08-15 22:10:54 -04:00
|
|
|
# Report killer
|
|
|
|
#
|
|
|
|
# @param [Killer] killer
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
abstract_method :killer
|
2012-11-21 16:28:08 -05:00
|
|
|
|
|
|
|
# Report config
|
|
|
|
#
|
|
|
|
# @param [Mutant::Config] config
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
abstract_method :config
|
2012-08-15 22:10:54 -04:00
|
|
|
end
|
|
|
|
end
|