public static void OutputFailedTestCase(XmlElement xe, Dictionary <string, FailedTest> output, List <string> ignored) { if (xe.GetAttribute("executed") == "False") { ignored.Add(xe.GetAttribute("name")); } if (xe.GetAttribute("success") == "True" || xe.GetAttribute("executed") == "False") { return; } FailedTest ft = new FailedTest(xe.GetAttribute("name"), xe["failure"]["message"].InnerText, xe["failure"]["stack-trace"].InnerText); output[ft.Name] = ft; }
public static void OutputFailedTestCase (XmlElement xe, Dictionary<string, FailedTest> output, List<string> ignored) { if (xe.GetAttribute ("executed") == "False") ignored.Add (xe.GetAttribute ("name")); if (xe.GetAttribute ("success") == "True" || xe.GetAttribute ("executed") == "False") return; FailedTest ft = new FailedTest (xe.GetAttribute ("name"), xe["failure"]["message"].InnerText, xe["failure"]["stack-trace"].InnerText); output[ft.Name] = ft; }