private void WriteLogToFailLine(LineSpec lineSpec, int exceptionIndex) { if (lineSpec.GetStatus() == LineSpecStatus.Fail) { Logger.WriteLine(string.Format(" {0}> #Fail [{1}]", "-".Repeat(_maxLineSpecLength + 2 - lineSpec.Text.Length), exceptionIndex)); } }
private void WriteLogToPendingLine(LineSpec lineSpec) { if (lineSpec.GetStatus() == LineSpecStatus.Pending) { Logger.WriteLine(string.Format("{0} {1}> #Pending", lineSpec.Text, "-".Repeat(_maxLineSpecLength + 2 - lineSpec.Text.Length))); } }
private void WriteLogToExecutedLine(LineSpec lineSpec) { if (lineSpec.GetStatus() == LineSpecStatus.Passed) { Logger.WriteLine(string.Format(" {0}> #Passed", "-".Repeat(_maxLineSpecLength + 2 - lineSpec.Text.Length))); } }