private void ProcessSuiteError(TestSuiteResult suite, XmlNode errorNode) { TestSuiteErrorResult error = new TestSuiteErrorResult(suite, errorNode.Attributes); error.Message = errorNode.InnerText; foreach (XmlNode child in errorNode.ChildNodes) { if (child.Name == "stack-frame") { BacktraceFrame frame = ProcessStackFrame(child); error.AddBacktraceFrame(frame); } } }
private void ProcessSuiteError(TestSuiteResult suite, XmlNode errorNode) { TestSuiteErrorResult error = new TestSuiteErrorResult(suite, errorNode.Attributes); error.Message = errorNode.InnerText; foreach (XmlNode child in errorNode.ChildNodes) { if(child.Name == "stack-frame") { BacktraceFrame frame = ProcessStackFrame(child); error.AddBacktraceFrame(frame); } } }