public void PrintFuspecParserException(string fileName, FuspecParserError e) { Console.BackgroundColor = ConsoleColor.Gray; Console.ForegroundColor = ConsoleColor.White; Console.Write("\tName of broken file: "); Console.ResetColor(); Console.WriteLine("{0} \tLINE: {1} \tMESSAGE: {2}", fileName, e.LineNumber, e.ErrorType); }
private TestCaseParseState WriteError(FuspecParserError fuspecParserError) { _errors.Add(fuspecParserError); return(TestCaseParseState.FindingOpeningString); }
public FuspecTestCases(FuspecTestCase[] fuspecTestCases) { HasErrors = false; Errors = new FuspecParserError[0]; TestCases = fuspecTestCases; }