private void ProcessFileError(string message) { Match match = testErrorFilePattern.Match(message); TestInformation info = new TestInformation(); info.name = match.Groups[1].Value; info.functionName = match.Groups[2].Value; info.path = match.Groups[3].Value; info.line = int.Parse(match.Groups[4].Value); if (ui.IsTesting(info.functionName)) { ui.SetTestPathAndLine(info); } }