in BoostTestAdapter/Boost/Results/BoostXmlLog.cs [173:198]
private static void ParseTestCaseLogEntries(XmlNodeList nodes, TestResult result)
{
foreach (XmlNode child in nodes)
{
if (child.NodeType == XmlNodeType.Element)
{
LogEntry entry = null;
switch (child.Name)
{
case Xml.Info: entry = ParseLogEntry<LogEntryInfo>(child); break;
case Xml.Message: entry = ParseLogEntry<LogEntryMessage>(child); break;
case Xml.Warning: entry = ParseLogEntry<LogEntryWarning>(child); break;
case Xml.Error: entry = ParseLogEntry<LogEntryError>(child); break;
case Xml.FatalError: entry = ParseLogEntry<LogEntryFatalError>(child); break;
case Xml.Exception: entry = ParseLogException(child); break;
default: entry = null; break;
}
if (entry != null)
{
result.LogEntries.Add(entry);
}
}
}
}