示例#1
0
 public void RecordStart(Test test)
 {
     Trace.TraceInformation("[TestExecutionSink]: OnTransmit(TestExecution.TestStarted)");
     _channel.Send(new Message
     {
         MessageType = "TestExecution.TestStarted",
         Payload = JToken.FromObject(test),
     });
 }
示例#2
0
 public void SendTest(Test test)
 {
     Trace.TraceInformation("[TestDiscoverySink]: OnTransmit(TestDiscovery.TestFound)");
     _channel.Send(new Message
     {
         MessageType = "TestDiscovery.TestFound",
         Payload = JToken.FromObject(test),
     });
 }