Пример #1
0
 /// <summary>
 /// Publishes a response to a compiled and tested response.
 /// </summary>
 /// <param name="response">The response that has been compiled.</param>
 public async Task PublishSingleTestCompileSourceResponse(CompileTestSourceResponse response)
 {
     await this._producer.PublishAsync("compiled", JsonConvert.SerializeObject(response));
 }
Пример #2
0
 /// <summary>
 /// Raised when the multiple test case wrapper has completed all its tests or a test failed.
 /// </summary>
 private void RaiseCompletedChangeEvent(CompileTestSourceResponse response) => this.CompletedEvent?.Invoke(this,
                                                                                                           new CompileSingleTestSandboxCompletionEventArgs()
 {
     Id       = this._singleRequest.Id, ContainerId = this.ContainerId,
     Response = response,
 });