Пример #1
0
 public DataExchangeSteps(ScenarioContext scenarioContext, ITestDataImporter testDataImporter, IntelligenceDbContext intelligenceDbContext)
 {
     _scenarioContext       = scenarioContext;
     _testDataImporter      = testDataImporter;
     _intelligenceDbContext = intelligenceDbContext;
     InsertPriorities();
 }
Пример #2
0
 public BreakResultChecker(
     ITestDataImporter dataImporter,
     IBreakRepository breakRepository,
     IScheduleRepository scheduleRepository,
     ISpotRepository spotRepository) : base(dataImporter)
 {
     _breakRepository    = breakRepository;
     _scheduleRepository = scheduleRepository;
     _spotRepository     = spotRepository;
 }
Пример #3
0
        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);
            }
        }
Пример #4
0
 public UniverseResultChecker(ITestDataImporter dataImporter, IUniverseRepository universeRepository) : base(dataImporter) => _universeRepository = universeRepository;
Пример #5
0
 public RestrictionResultChecker(ITestDataImporter dataImporter, IRestrictionRepository restrictionRepository) : base(dataImporter) =>
Пример #6
0
 public LengthFactorResultChecker(ITestDataImporter dataImporter, ILengthFactorRepository repository) : base(dataImporter)
 {
     _repository = repository;
 }
Пример #7
0
 public ProgrammeResultChecker(ITestDataImporter dataImporter, IProgrammeRepository programmeRepository) : base(dataImporter)
 {
     _programmeRepository = programmeRepository;
 }
Пример #8
0
 public InventoryTypeResultChecker(ITestDataImporter testDataImporter, IInventoryTypeRepository inventoryTypeRepository) : base(testDataImporter)
 {
     _inventoryTypeRepository = inventoryTypeRepository;
 }
Пример #9
0
 public DemographicResultChecker(ITestDataImporter dataImporter, IDemographicRepository demographicsRepository) : base(dataImporter)
 {
     _demographicsRepository = demographicsRepository;
 }
Пример #10
0
 public TotalRatingResultChecker(ITestDataImporter testDataImporter, ITotalRatingRepository totalRatingRepository) : base(testDataImporter)
 {
     _totalRatingRepository = totalRatingRepository;
 }
Пример #11
0
 public ScenarioResultChecker(ITestDataImporter dataImporter, IScenarioRepository scenarioRepository) : base(dataImporter) =>
Пример #12
0
 public RepositoryDefinitionSteps(ScenarioContext scenarioContext, ITestDataImporter testDataImporter)
 {
     _scenarioContext  = scenarioContext;
     _testDataImporter = testDataImporter;
 }
 public StandardDayPartGroupResultChecker(ITestDataImporter testDataImporter, IStandardDayPartGroupRepository standardDayPartGroupRepository) : base(testDataImporter)
 {
     _standardDayPartGroupRepository = standardDayPartGroupRepository;
 }
Пример #14
0
 public ClashExceptionResultChecker(ITestDataImporter dataImporter, IClashExceptionRepository clashExceptionRepository) : base(dataImporter) =>
Пример #15
0
 public ProgrammeCategoryResultChecker(ITestDataImporter testDataImporter, IProgrammeCategoryHierarchyRepository programmeCategoryRepository) : base(testDataImporter)
 {
     _programmeCategoryRepository = programmeCategoryRepository;
 }
Пример #16
0
 public SpotBookingRuleResultChecker(ITestDataImporter testDataImporter, ISpotBookingRuleRepository spotBookingRuleRepository) : base(testDataImporter)
 {
     _spotBookingRuleRepository = spotBookingRuleRepository;
 }
 public ProgrammeScheduleResultChecker(ITestDataImporter dataImporter, IScheduleRepository scheduleRepository) : base(dataImporter) =>
Пример #18
0
 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) =>
Пример #21
0
 public RatingsPredictionScheduleResultChecker(ITestDataImporter dataImporter, IRatingsScheduleRepository ratingsScheduleRepository) : base(dataImporter) =>
Пример #22
0
 public ProductResultChecker(ITestDataImporter dataImporter, IProductRepository productRepository) : base(dataImporter) =>
Пример #23
0
 public LockTypeResultChecker(ITestDataImporter testDataImporter, ILockTypeRepository lockTypeRepository) : base(testDataImporter)
 {
     _lockTypeRepository = lockTypeRepository;
 }
Пример #24
0
 public MetadataResultChecker(ITestDataImporter testDataImporter, IMetadataRepository metadataRepository)
     : base(testDataImporter)
 {
     _metadataRepository = metadataRepository;
 }
Пример #25
0
 public HolidayResultChecker(ITestDataImporter dataImporter, ISalesAreaRepository clashRepository) : base(dataImporter) =>
Пример #26
0
 public SpotResultChecker(ITestDataImporter dataImporter, ISpotRepository spotRepository) : base(dataImporter) => _spotRepository = spotRepository;
Пример #27
0
 public SalesAreaResultChecker(ITestDataImporter dataImporter, ISalesAreaRepository salesAreaRepository) : base(dataImporter) =>
Пример #28
0
 public CampaignResultChecker(ITestDataImporter dataImporter, ICampaignRepository campaignRepository) : base(dataImporter) =>
Пример #29
0
 protected ResultCheckerService(ITestDataImporter testDataImporter)
 {
     TestDataImporter = testDataImporter;
 }