Ejemplo n.º 1
0
 public void RecordResult(TestResult testResult)
 {
     Trace.TraceInformation("[TestExecutionSink]: OnTransmit(TestExecution.TestResult)");
     _channel.Send(new Message
     {
         MessageType = "TestExecution.TestResult",
         Payload     = JToken.FromObject(testResult),
     });
 }
Ejemplo n.º 2
0
 public void SendTest(Test test)
 {
     Trace.TraceInformation("[TestDiscoverySink]: OnTransmit(TestDiscovery.TestFound)");
     _channel.Send(new Message
     {
         MessageType = "TestDiscovery.TestFound",
         Payload     = JToken.FromObject(test),
     });
 }