コード例 #1
0
ファイル: ReportingChannelFactory.cs プロジェクト: nosoq/cli
        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
ファイル: ReportingChannelFactory.cs プロジェクト: nosoq/cli
 public IReportingChannel CreateAdapterChannel(int port)
 {
     return(ReportingChannel.ListenOn(port));
 }