public MatchResult MatchWindow(RunningSession runningSession, MatchWindowData data) { if (data.Options.ReplaceLast) { ReplaceMatchedStepCalls.Add(data); } else { MatchWindowCalls.Add(data); } return(new MatchResult() { AsExpected = this.AsExcepted }); }
protected override void MatchWindowImpl_(TaskListener <MatchResult> listener, MatchWindowData data, string[] testIds) { if (data.Options.ReplaceLast) { Logger.Verbose("replace last step"); ReplaceMatchedStepCalls.Add(data); } else { Logger.Verbose("add new step"); MatchWindowCalls.Add(data); } base.MatchWindowImpl_(listener, data, testIds); }