Ejemplo n.º 1
0
        public IReportingChannel CreateTestRunnerChannel()
        {
            var testRunnerChannel = ReportingChannel.ListenOn(0);

            TestRunnerChannelCreated?.Invoke(this, testRunnerChannel);

            return(testRunnerChannel);
        }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
 public IReportingChannel CreateAdapterChannel(int port)
 {
     return(ReportingChannel.ListenOn(port));
 }