static bool OnTestStart(ITestCommand command, ExecutorCallback callback) { XmlNode node = command.ToStartXml(); if (node != null) callback.Notify(node.OuterXml); return callback.ShouldContinue(); }
static bool OnTestStart(ITestCommand command, ExecutorCallback callback) { XmlNode node = command.ToStartXml(); if (node != null) { callback.Notify(node.OuterXml); } return(callback.ShouldContinue()); }
static bool OnTestResult(ITestResult result, ExecutorCallback callback) { XmlDocument doc = new XmlDocument(); doc.LoadXml("<foo/>"); XmlNode node = result.ToXml(doc.ChildNodes[0]); if (node != null) callback.Notify(node.OuterXml); return callback.ShouldContinue(); }
static bool OnTestResult(ITestResult result, ExecutorCallback callback) { XmlDocument doc = new XmlDocument(); doc.LoadXml("<foo/>"); XmlNode node = result.ToXml(doc.ChildNodes[0]); if (node != null) { callback.Notify(node.OuterXml); } return(callback.ShouldContinue()); }