Example #1
0
 public TestExecutionService(
     IFileProvider fileProvider,
     ITestRunProvider testRunProvider,
     ITestRunsCleanerServiceClient testRunsCleanerServiceClient,
     ITestsCountsBasedDistributeService testCountsBasedDistributeService,
     ITestsTimesBasedDistributeService testsTimesBasedDistributeService,
     ITestAgentRunProvider testAgentRunProvider,
     ITestsRunnerTestResultsService testResultsService,
     IConsoleProvider consoleProvider,
     ITestAgentsService testAgentService,
     IPathProvider pathProvider,
     ITestCasesFilterService testCasesFilterService,
     ITestCasesHistoryService testCasesHistoryService,
     IPluginService pluginService)
 {
     _fileProvider    = fileProvider;
     _testRunProvider = testRunProvider;
     _testRunsCleanerServiceClient     = testRunsCleanerServiceClient;
     _testCountsBasedDistributeService = testCountsBasedDistributeService;
     _testsTimesBasedDistributeService = testsTimesBasedDistributeService;
     _testAgentRunProvider             = testAgentRunProvider;
     _testResultsService      = testResultsService;
     _consoleProvider         = consoleProvider;
     _testAgentService        = testAgentService;
     _pathProvider            = pathProvider;
     _testCasesFilterService  = testCasesFilterService;
     _testCasesHistoryService = testCasesHistoryService;
     _pluginService           = pluginService;
 }
Example #2
0
 public TestRunnerService(
     IServiceClient <TestRunDto> testRunRepository,
     IServiceClient <TestRunLogDto> testRunLogRepository,
     IProcessProvider processStarter,
     IFileProvider fileProvider,
     IDirectoryProvider directoryProvider,
     IPathProvider pathProvider,
     IConsoleProvider consoleProvider,
     ITestsRunnerTestResultsService testResultsService,
     IJsonSerializer jsonSerializer,
     ITestCasesHistoryService testCasesHistoryService,
     ITaskProvider taskProvider,
     IPluginService pluginService,
     ITestRunLogService testRunLogService,
     IDateTimeProvider dateTimeProvider,
     IEnvironmentService environmentService)
 {
     _testRunRepository       = testRunRepository;
     _testRunLogRepository    = testRunLogRepository;
     _processStarter          = processStarter;
     _fileProvider            = fileProvider;
     _directoryProvider       = directoryProvider;
     _pathProvider            = pathProvider;
     _consoleProvider         = consoleProvider;
     _testResultsService      = testResultsService;
     _jsonSerializer          = jsonSerializer;
     _testCasesHistoryService = testCasesHistoryService;
     _taskProvider            = taskProvider;
     _pluginService           = pluginService;
     _testRunLogService       = testRunLogService;
     _dateTimeProvider        = dateTimeProvider;
     _environmentService      = environmentService;
 }