コード例 #1
0
        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);
                }
            }
        }
コード例 #2
0
        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);
                }
            }
        }