@@ -162,20 +162,6 @@ pub trait Evaluator<E, EM, I, S> {
162
162
executor : & mut E ,
163
163
manager : & mut EM ,
164
164
input : I ,
165
- ) -> Result < ( ExecuteInputResult , Option < CorpusId > ) , Error > {
166
- self . evaluate_input_events ( state, executor, manager, input, true )
167
- }
168
-
169
- /// Runs the input and triggers observers and feedback,
170
- /// returns if is interesting an (option) the index of the new testcase in the corpus
171
- /// This version has a boolean to decide if send events to the manager.
172
- fn evaluate_input_events (
173
- & mut self ,
174
- state : & mut S ,
175
- executor : & mut E ,
176
- manager : & mut EM ,
177
- input : I ,
178
- send_events : bool ,
179
165
) -> Result < ( ExecuteInputResult , Option < CorpusId > ) , Error > ;
180
166
181
167
/// Runs the input and triggers observers and feedback.
@@ -618,15 +604,14 @@ where
618
604
619
605
/// Process one input, adding to the respective corpora if needed and firing the right events
620
606
#[ inline]
621
- fn evaluate_input_events (
607
+ fn evaluate_input (
622
608
& mut self ,
623
609
state : & mut S ,
624
610
executor : & mut E ,
625
611
manager : & mut EM ,
626
612
input : I ,
627
- send_events : bool ,
628
613
) -> Result < ( ExecuteInputResult , Option < CorpusId > ) , Error > {
629
- self . evaluate_input_with_observers ( state, executor, manager, input, send_events )
614
+ self . evaluate_input_with_observers ( state, executor, manager, input, true )
630
615
}
631
616
632
617
/// Adds an input, even if it's not considered `interesting` by any of the executors
0 commit comments