public GetTestRunnerProcessStartInfoMessageHandler(
     ITestRunnerFactory testRunnerFactory,
     IReportingChannel adapterChannel,
     IReportingChannelFactory reportingChannelFactory)
 {
     _testRunnerFactory = testRunnerFactory;
     _adapterChannel = adapterChannel;
     _reportingChannelFactory = reportingChannelFactory;
 }
Пример #2
0
 public GetTestRunnerProcessStartInfoMessageHandler(
     ITestRunnerFactory testRunnerFactory,
     IReportingChannel adapterChannel,
     IReportingChannelFactory reportingChannelFactory)
 {
     _testRunnerFactory       = testRunnerFactory;
     _adapterChannel          = adapterChannel;
     _reportingChannelFactory = reportingChannelFactory;
 }
 public TestDiscoveryStartMessageHandler(
     ITestRunnerFactory testRunnerFactory,
     IReportingChannel adapterChannel,
     IReportingChannelFactory reportingChannelFactory)
 {
     _testRunnerFactory = testRunnerFactory;
     _adapterChannel = adapterChannel;
     _reportingChannelFactory = reportingChannelFactory;
 }
Пример #4
0
 public TestDiscoveryStartMessageHandler(
     ITestRunnerFactory testRunnerFactory,
     IReportingChannel adapterChannel,
     IReportingChannelFactory reportingChannelFactory)
 {
     _testRunnerFactory       = testRunnerFactory;
     _adapterChannel          = adapterChannel;
     _reportingChannelFactory = reportingChannelFactory;
 }
Пример #5
0
        public static IDotnetTest AddTestDiscoveryMessageHandlers(
            this IDotnetTest dotnetTest,
            IReportingChannel adapterChannel,
            IReportingChannelFactory reportingChannelFactory,
            ITestRunnerFactory testRunnerFactory)
        {
            dotnetTest.AddMessageHandler(
                new TestDiscoveryStartMessageHandler(testRunnerFactory, adapterChannel, reportingChannelFactory));

            return(dotnetTest);
        }
Пример #6
0
        public static IDotnetTest AddTestDiscoveryMessageHandlers(
            this IDotnetTest dotnetTest,
            IReportingChannel adapterChannel,
            IReportingChannelFactory reportingChannelFactory,
            ITestRunnerFactory testRunnerFactory)
        {
            dotnetTest.AddMessageHandler(
                new TestDiscoveryStartMessageHandler(testRunnerFactory, adapterChannel, reportingChannelFactory));

            return dotnetTest;
        }
Пример #7
0
        public static IDotnetTest AddTestRunnnersMessageHandlers(
            this IDotnetTest dotnetTest,
            IReportingChannel adapterChannel,
            IReportingChannelFactory reportingChannelFactory)
        {
            dotnetTest.AddMessageHandler(new TestRunnerTestStartedMessageHandler(adapterChannel));
            dotnetTest.AddMessageHandler(new TestRunnerTestResultMessageHandler(adapterChannel));
            dotnetTest.AddMessageHandler(new TestRunnerTestFoundMessageHandler(adapterChannel));
            dotnetTest.AddMessageHandler(new TestRunnerTestCompletedMessageHandler(adapterChannel));
            dotnetTest.AddMessageHandler(new TestRunnerWaitingCommandMessageHandler(reportingChannelFactory));

            return(dotnetTest);
        }
Пример #8
0
        public static IDotnetTest AddTestRunMessageHandlers(
            this IDotnetTest dotnetTest,
            IReportingChannel adapterChannel,
            IReportingChannelFactory reportingChannelFactory,
            ITestRunnerFactory testRunnerFactory)
        {
            dotnetTest.AddMessageHandler(new GetTestRunnerProcessStartInfoMessageHandler(
                                             testRunnerFactory,
                                             adapterChannel,
                                             reportingChannelFactory));

            return(dotnetTest);
        }
Пример #9
0
        public static IDotnetTest AddTestRunMessageHandlers(
            this IDotnetTest dotnetTest,
            IReportingChannel adapterChannel,
            IReportingChannelFactory reportingChannelFactory,
            ITestRunnerFactory testRunnerFactory)
        {
            dotnetTest.AddMessageHandler(new GetTestRunnerProcessStartInfoMessageHandler(
                testRunnerFactory,
                adapterChannel,
                reportingChannelFactory));

            return dotnetTest;
        }
Пример #10
0
        public static IDotnetTest AddTestRunnnersMessageHandlers(
            this IDotnetTest dotnetTest,
            IReportingChannel adapterChannel,
            IReportingChannelFactory reportingChannelFactory)
        {
            dotnetTest.AddMessageHandler(new TestRunnerTestStartedMessageHandler(adapterChannel));
            dotnetTest.AddMessageHandler(new TestRunnerTestResultMessageHandler(adapterChannel));
            dotnetTest.AddMessageHandler(new TestRunnerTestFoundMessageHandler(adapterChannel));
            dotnetTest.AddMessageHandler(new TestRunnerTestCompletedMessageHandler(adapterChannel));
            dotnetTest.AddMessageHandler(new TestRunnerWaitingCommandMessageHandler(reportingChannelFactory));

            return dotnetTest;
        }
Пример #11
0
        public TestRunnerWaitingCommandMessageHandler(IReportingChannelFactory reportingChannelFactory)
        {
            _reportingChannelFactory = reportingChannelFactory;

            _reportingChannelFactory.TestRunnerChannelCreated += OnTestRunnerChannelCreated;
        }
        public TestRunnerWaitingCommandMessageHandler(IReportingChannelFactory reportingChannelFactory)
        {
            _reportingChannelFactory = reportingChannelFactory;

            _reportingChannelFactory.TestRunnerChannelCreated += OnTestRunnerChannelCreated;
        }