Exemplo n.º 1
0
 public TestAgentRunProvider(
     IServiceClient <TestRunDto> testRunRepository,
     ITestRunOutputServiceClient testRunOutputServiceClient,
     IServiceClient <TestAgentDto> testAgentRepository,
     IServiceClient <TestAgentRunDto> testAgentRunRepository,
     IServiceClient <TestRunCustomArgumentDto> testRunCustomArgumentRepository,
     ITestsRunnerService nativeTestsRunner,
     ITestAgentsLoggerService testAgentsLoggerService,
     IDistributeLogger logger,
     ITestAgentStateSwitcher testAgentStateSwitcher,
     IPathProvider pathProvider,
     IFileProvider fileProvider,
     IConsoleProvider consoleProvider,
     IEnvironmentService environmentService,
     IGuidService guidService,
     IPluginService pluginService,
     IDateTimeProvider dateTimeProvider,
     ITaskProvider taskProvider,
     ITestRunLogService testRunLogService,
     ITestAgentRunAvailabilityServiceClient testAgentRunAvailabilityServiceClient,
     ITestRunAvailabilityServiceClient testRunAvailabilityServiceClient,
     IDirectoryProvider directoryProvider)
 {
     _testRunRepository               = testRunRepository;
     _testRunOutputServiceClient      = testRunOutputServiceClient;
     _testAgentRepository             = testAgentRepository;
     _testAgentRunRepository          = testAgentRunRepository;
     _testRunCustomArgumentRepository = testRunCustomArgumentRepository;
     _nativeTestsRunner               = nativeTestsRunner;
     _testAgentsLoggerService         = testAgentsLoggerService;
     _logger = logger;
     _testAgentStateSwitcher = testAgentStateSwitcher;
     _consoleProvider        = consoleProvider;
     _pathProvider           = pathProvider;
     _fileProvider           = fileProvider;
     _environmentService     = environmentService;
     _guidService            = guidService;
     _pluginService          = pluginService;
     _dateTimeProvider       = dateTimeProvider;
     _taskProvider           = taskProvider;
     _testRunLogService      = testRunLogService;
     _testAgentRunAvailabilityServiceClient = testAgentRunAvailabilityServiceClient;
     _testRunAvailabilityServiceClient      = testRunAvailabilityServiceClient;
     _directoryProvider        = directoryProvider;
     _wasTestAgentRunCompleted = false;
 }