コード例 #1
0
ファイル: TestRunnerService.cs プロジェクト: tokarthik/Meissa
 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;
 }
コード例 #2
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;
 }