public virtual void AddActionStepResult(StepResult actionStepResult) { _actionStepResults.Add(actionStepResult); MergeResult(actionStepResult); }
private static void MergeStepResult(StepResult stepResult, StepResult steptoMergeInto) { steptoMergeInto.MergeResult(stepResult.Result); }
public BackgroundStepResult(string backgroundTitle, StepResult result) : base(result.StringStep, result.Result) { BackgroundTitle = backgroundTitle; }
public void Pend(string reason) { StepResult = new StepResult(this, new Pending(reason)); }
public void Fail(Exception exception) { StepResult = new StepResult(this, new Failed(exception)); }
public void PendBecauseOfPreviousFailedStep() { StepResult = new StepResult(this, new Skipped("Previous step has failed")); }
public void PendNotImplemented(string pendReason) { StepResult = new StepResult(this, new PendingNotImplemented(pendReason)); }