public void ExecutionComplete(ExecutionFinishedMessage completeMessage) { ExitCode = completeMessage.ExitCode; if (completeMessage.IsError) { Console.WriteLine(completeMessage.Output); } IsComplete = true; }
private void GetExecutionFinishedMessage(object executionFinishedMessage) { _isComplete = true; _finishMsg = (ExecutionFinishedMessage)executionFinishedMessage; Console.WriteLine(_finishMsg.Output); }
public void ExecutionComplete(ExecutionFinishedMessage completeMessage) { IsComplete = true; Assert.IsFalse(completeMessage.IsError); Assert.That(completeMessage.ExitCode, Is.GreaterThanOrEqualTo(0)); }