public ClientEvent Translate(LogMessage message)
        {
            var testName = (string)message.Decorators[LogDecorator.NameProperty];
            var clientEventX = new TestExecutionMethodIgnoredClientEvent
                                   {
                                       ClassName = null,
                                       NamespaceName = null,
                                       MethodName = testName,
                                       Message = testName,
                                       Started = DateTime.Now,
                                   };

            return clientEventX;
        }
Example #2
0
        private static void SendTestIgnoredClientEvent(MethodInfo method, string message)
        {
            var ignoredEvent = new TestExecutionMethodIgnoredClientEvent
                                   {
                                       Message = message,
                                       Started = new DateTime(),
                                       Finished = new DateTime(),
                                   };

            PopulateCoreInfo(ignoredEvent, method);

            Server.PostMessage(ignoredEvent);
        }