public DataExchangeSteps(ScenarioContext scenarioContext, ITestDataImporter testDataImporter, IntelligenceDbContext intelligenceDbContext) { _scenarioContext = scenarioContext; _testDataImporter = testDataImporter; _intelligenceDbContext = intelligenceDbContext; InsertPriorities(); }
public BreakResultChecker( ITestDataImporter dataImporter, IBreakRepository breakRepository, IScheduleRepository scheduleRepository, ISpotRepository spotRepository) : base(dataImporter) { _breakRepository = breakRepository; _scheduleRepository = scheduleRepository; _spotRepository = spotRepository; }
public static void FromResourceScript(this ITestDataImporter dataImporter, string resourceName) { if (dataImporter == null) { throw new ArgumentNullException(nameof(dataImporter)); } var assembly = Assembly.GetExecutingAssembly(); using (var stream = assembly.GetManifestResourceStream(assembly.GetFullManifestResourceName(resourceName))) { dataImporter.Import(stream); } }
public UniverseResultChecker(ITestDataImporter dataImporter, IUniverseRepository universeRepository) : base(dataImporter) => _universeRepository = universeRepository;
public RestrictionResultChecker(ITestDataImporter dataImporter, IRestrictionRepository restrictionRepository) : base(dataImporter) =>
public LengthFactorResultChecker(ITestDataImporter dataImporter, ILengthFactorRepository repository) : base(dataImporter) { _repository = repository; }
public ProgrammeResultChecker(ITestDataImporter dataImporter, IProgrammeRepository programmeRepository) : base(dataImporter) { _programmeRepository = programmeRepository; }
public InventoryTypeResultChecker(ITestDataImporter testDataImporter, IInventoryTypeRepository inventoryTypeRepository) : base(testDataImporter) { _inventoryTypeRepository = inventoryTypeRepository; }
public DemographicResultChecker(ITestDataImporter dataImporter, IDemographicRepository demographicsRepository) : base(dataImporter) { _demographicsRepository = demographicsRepository; }
public TotalRatingResultChecker(ITestDataImporter testDataImporter, ITotalRatingRepository totalRatingRepository) : base(testDataImporter) { _totalRatingRepository = totalRatingRepository; }
public ScenarioResultChecker(ITestDataImporter dataImporter, IScenarioRepository scenarioRepository) : base(dataImporter) =>
public RepositoryDefinitionSteps(ScenarioContext scenarioContext, ITestDataImporter testDataImporter) { _scenarioContext = scenarioContext; _testDataImporter = testDataImporter; }
public StandardDayPartGroupResultChecker(ITestDataImporter testDataImporter, IStandardDayPartGroupRepository standardDayPartGroupRepository) : base(testDataImporter) { _standardDayPartGroupRepository = standardDayPartGroupRepository; }
public ClashExceptionResultChecker(ITestDataImporter dataImporter, IClashExceptionRepository clashExceptionRepository) : base(dataImporter) =>
public ProgrammeCategoryResultChecker(ITestDataImporter testDataImporter, IProgrammeCategoryHierarchyRepository programmeCategoryRepository) : base(testDataImporter) { _programmeCategoryRepository = programmeCategoryRepository; }
public SpotBookingRuleResultChecker(ITestDataImporter testDataImporter, ISpotBookingRuleRepository spotBookingRuleRepository) : base(testDataImporter) { _spotBookingRuleRepository = spotBookingRuleRepository; }
public ProgrammeScheduleResultChecker(ITestDataImporter dataImporter, IScheduleRepository scheduleRepository) : base(dataImporter) =>
public ClashResultChecker(ITestDataImporter dataImporter, IClashRepository clashRepository) : base(dataImporter) { _clashRepository = clashRepository; }
public ProgrammeClassificationResultChecker(ITestDataImporter testDataImporter, IProgrammeClassificationRepository programmeClassificationRepository) : base(testDataImporter) { _programmeClassificationRepository = programmeClassificationRepository; }
public BookingPositionGroupResultChecker(ITestDataImporter dataImporter, IBookingPositionGroupRepository bookingPositionGroupRepository) : base(dataImporter) =>
public RatingsPredictionScheduleResultChecker(ITestDataImporter dataImporter, IRatingsScheduleRepository ratingsScheduleRepository) : base(dataImporter) =>
public ProductResultChecker(ITestDataImporter dataImporter, IProductRepository productRepository) : base(dataImporter) =>
public LockTypeResultChecker(ITestDataImporter testDataImporter, ILockTypeRepository lockTypeRepository) : base(testDataImporter) { _lockTypeRepository = lockTypeRepository; }
public MetadataResultChecker(ITestDataImporter testDataImporter, IMetadataRepository metadataRepository) : base(testDataImporter) { _metadataRepository = metadataRepository; }
public HolidayResultChecker(ITestDataImporter dataImporter, ISalesAreaRepository clashRepository) : base(dataImporter) =>
public SpotResultChecker(ITestDataImporter dataImporter, ISpotRepository spotRepository) : base(dataImporter) => _spotRepository = spotRepository;
public SalesAreaResultChecker(ITestDataImporter dataImporter, ISalesAreaRepository salesAreaRepository) : base(dataImporter) =>
public CampaignResultChecker(ITestDataImporter dataImporter, ICampaignRepository campaignRepository) : base(dataImporter) =>
protected ResultCheckerService(ITestDataImporter testDataImporter) { TestDataImporter = testDataImporter; }