public IReportingChannel CreateTestRunnerChannel() { var testRunnerChannel = ReportingChannel.ListenOn(0); TestRunnerChannelCreated?.Invoke(this, testRunnerChannel); return(testRunnerChannel); }
private static int RunDesignTime(int port, ProjectContext projectContext, string testRunner, string configuration) { Console.WriteLine("Listening on port {0}", port); using (var channel = ReportingChannel.ListenOn(port)) { Console.WriteLine("Client accepted {0}", channel.Socket.LocalEndPoint); HandleDesignTimeMessages(projectContext, testRunner, channel, configuration); return(0); } }
public IReportingChannel CreateAdapterChannel(int port) { return(ReportingChannel.ListenOn(port)); }