BuildUtils.PrintCommonFailures.GetTestCasesWithErrors C# (CSharp) Метод

GetTestCasesWithErrors() приватный статический Метод

private static GetTestCasesWithErrors ( string fileName ) : XPathNodeIterator
fileName string
Результат System.Xml.XPath.XPathNodeIterator
        private static XPathNodeIterator GetTestCasesWithErrors(string fileName)
        {
            XPathDocument doc = new XPathDocument(fileName);
            XPathNavigator nav = doc.CreateNavigator();
            XPathExpression expr = nav.Compile("//case[errorStackTrace]");
            XPathNodeIterator iterator = nav.Select(expr);
            return iterator;
        }

Same methods

PrintCommonFailures::GetTestCasesWithErrors ( string className, string testName, string fileName ) : XPathNodeIterator