예제 #1
0
        public IReportingChannel CreateTestRunnerChannel()
        {
            var testRunnerChannel = ReportingChannel.ListenOn(0);

            TestRunnerChannelCreated?.Invoke(this, testRunnerChannel);

            return(testRunnerChannel);
        }
예제 #2
0
파일: Program.cs 프로젝트: rkakadia/cli
        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);
            }
        }
예제 #3
0
 public IReportingChannel CreateAdapterChannel(int port)
 {
     return(ReportingChannel.ListenOn(port));
 }