2012-08-15 22:10:54 -04:00
|
|
|
module Mutant
|
|
|
|
# Abstract reporter
|
|
|
|
class Reporter
|
2012-11-02 21:12:33 -04:00
|
|
|
include Adamantium::Flat, AbstractClass
|
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
|
|
|
|
|
|
|
|
# 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
|