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