public void OnTestFailed(TestFailedMessage msg)
 {
     listener.OnTestFailed(msg.TestCaseId, (decimal)(msg.ExecutionTime.TotalMilliseconds / 1000.0), msg.Output, msg.ExceptionTypes, msg.Messages, msg.StackTraces);
 }
 protected override bool Visit(ITestFailed testFailed)
 {
     executionListener.OnTestFailed(testFailed.TestCase.UniqueID,
                                    testFailed.ExecutionTime, testFailed.Output, testFailed.ExceptionTypes, testFailed.Messages, testFailed.StackTraces);
     return(true);
 }