public void ScenarioFailed(ScenarioFailureInfo scenarioFailureInfo)
        {
            AddLineToCurrentScenario(scenarioFailureInfo.SuccessPart, StatusNames.Success);
            AddLineToCurrentScenario(scenarioFailureInfo.FailedPart, StatusNames.Failure);

            SetStatus(_currentScenarioElement, StatusNames.Failure);
            SetStatus(_currentStoryElement, StatusNames.Failure);
        }
 public void ScenarioFailed(ScenarioFailureInfo scenarioFailureInfo)
 {
     DoWrite(ConsoleColor.Yellow, scenarioFailureInfo.SuccessPart);
     DoWrite(ConsoleColor.Red, " " + scenarioFailureInfo.FailedPart + "\r\nFAILED\r\n",
             scenarioFailureInfo.Message + "\r\n");
 }
 public void ScenarioFailed(ScenarioFailureInfo scenarioFailureInfo)
 {
     CurrentScenario().FailureMessage = scenarioFailureInfo.Message;
     CurrentScenario().Status = ScenarioStatus.Failed;
     if (!string.IsNullOrEmpty(scenarioFailureInfo.SuccessPart))
         CurrentScenario().AddLine(ScenarioStatus.Passed, scenarioFailureInfo.SuccessPart);
     CurrentScenario().AddLine(ScenarioStatus.Failed, scenarioFailureInfo.FailedPart);
 }
 public void ScenarioFailed(ScenarioFailureInfo scenarioFailureInfo)
 {
     _inner.ScenarioFailed(scenarioFailureInfo);
 }
 public void ScenarioFailed(ScenarioFailureInfo scenarioFailureInfo)
 {
     AllListeners(x => x.ScenarioFailed(scenarioFailureInfo));
 }
 public void ScenarioFailed(ScenarioFailureInfo scenarioFailureInfo)
 {
 }