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