public TestEngineService( ICacheProvider cacheProvider, ISpecificationRepository specificationRepository, ILogger logger, ITestEngine testEngine, IScenariosRepository scenariosRepository, IProviderSourceDatasetsRepository providerSourceDatasetsRepository, ITestResultsService testResultsService, ITestResultsRepository testResultsRepository, IBuildProjectRepository buildProjectRepository, ITelemetry telemetry, ITestRunnerResiliencePolicies resiliencePolicies, ICalculationsRepository calculationsRepository) { _cacheProvider = cacheProvider; _specificationRepository = specificationRepository; _logger = logger; _testEngine = testEngine; _scenariosRepository = scenariosRepository; _providerSourceDatasetsRepository = providerSourceDatasetsRepository; _testResultsService = testResultsService; _testResultsRepository = testResultsRepository; _telemetry = telemetry; _cacheProviderPolicy = resiliencePolicies.CacheProviderRepository; _specificationRepositoryPolicy = resiliencePolicies.SpecificationRepository; _scenariosRepositoryPolicy = resiliencePolicies.ScenariosRepository; _providerSourceDatasetsRepositoryPolicy = resiliencePolicies.ProviderSourceDatasetsRepository; _testResultsRepositoryPolicy = resiliencePolicies.TestResultsRepository; _builProjectsRepositoryPolicy = resiliencePolicies.BuildProjectRepository; _buildProjectRepository = buildProjectRepository; _calculationsRepository = calculationsRepository; }
public GherkinParserService( IGherkinParser gherkinParser, ILogger logger, IBuildProjectRepository buildProjectRepository, ITestRunnerResiliencePolicies resiliencePolicies) { Guard.ArgumentNotNull(resiliencePolicies, nameof(resiliencePolicies)); _gherkinParser = gherkinParser; _logger = logger; _buildProjectRepository = buildProjectRepository; _buildProjectRepositoryPolicy = resiliencePolicies.BuildProjectRepository; }
public ScenariosService( ILogger logger, IScenariosRepository scenariosRepository, ISpecificationsRepository specificationsRepository, IValidator <CreateNewTestScenarioVersion> createNewTestScenarioVersionValidator, ISearchRepository <ScenarioIndex> searchRepository, ICacheProvider cacheProvider, IBuildProjectRepository buildProjectRepository, IVersionRepository <TestScenarioVersion> versionRepository, IJobsApiClient jobsApiClient, ICalcsRepository calcsRepository, IScenariosResiliencePolicies scenariosResiliencePolicies) { Guard.ArgumentNotNull(logger, nameof(logger)); Guard.ArgumentNotNull(scenariosRepository, nameof(scenariosRepository)); Guard.ArgumentNotNull(specificationsRepository, nameof(specificationsRepository)); Guard.ArgumentNotNull(createNewTestScenarioVersionValidator, nameof(createNewTestScenarioVersionValidator)); Guard.ArgumentNotNull(searchRepository, nameof(searchRepository)); Guard.ArgumentNotNull(cacheProvider, nameof(cacheProvider)); Guard.ArgumentNotNull(buildProjectRepository, nameof(buildProjectRepository)); Guard.ArgumentNotNull(versionRepository, nameof(versionRepository)); Guard.ArgumentNotNull(jobsApiClient, nameof(jobsApiClient)); Guard.ArgumentNotNull(calcsRepository, nameof(calcsRepository)); Guard.ArgumentNotNull(scenariosResiliencePolicies, nameof(scenariosResiliencePolicies)); _scenariosRepository = scenariosRepository; _logger = logger; _specificationsRepository = specificationsRepository; _createNewTestScenarioVersionValidator = createNewTestScenarioVersionValidator; _searchRepository = searchRepository; _cacheProvider = cacheProvider; _buildProjectRepository = buildProjectRepository; _cacheProvider = cacheProvider; _versionRepository = versionRepository; _jobsApiClient = jobsApiClient; _calcsRepository = calcsRepository; _jobsApiClientPolicy = scenariosResiliencePolicies.JobsApiClient; _calcsRepositoryPolicy = scenariosResiliencePolicies.CalcsRepository; _scenariosRepositoryPolicy = scenariosResiliencePolicies.ScenariosRepository; }