public QueueTester(JobTestFixture fixture) { _fixture = fixture; _client = _fixture.RestClient; _publisher = _fixture.Container.GetInstance <IPublisher>(); _dfStatusService = _fixture.Container.GetInstance <IDfStatusService>(); _processedAirings = new List <AiringDataStore>(); }
public PostAndDeletePackageByAiringIdTest(JobTestFixture fixture) : base("TBSE", "TBSFullAccessApiKey", fixture) { _airingObjectHelper = new AiringObjectHelper(); _jsonString = _airingObjectHelper.UpdateDates(Resources.Resources.TBSAiringWithSingleFlight, 1); _tbsQueueKey = fixture.Configuration["TbsQueueApiKey"]; _fixture = fixture; _client = _fixture.RestClient; _publisher = _fixture.Container.GetInstance <IPublisher>(); }
public CartoonProhibitResendMediaIdTest(JobTestFixture fixture) : base("TBSE", "", fixture) { this.fixture = fixture; _client = this.fixture.RestClient; if (_queueTester == null) { _queueTester = new QueueTester(fixture); } }
public CartoonAiringRules(JobTestFixture fixture) : base("CARE", "CartoonFullAccessApiKey", fixture) { _jsonString = Resources.Resources.CartoonAiringWith3Flights; _airingObjectHelper = new AiringObjectHelper(); _cartoonQueueKey = fixture.Configuration["CartoonQueueApiKey"]; if (_queueTester == null) { _queueTester = new QueueTester(fixture); } }
public TBSAiringRule(JobTestFixture fixture) : base("TBSE", "TBSFullAccessApiKey", fixture) { _jsonString = Resources.Resources.TBSAiringWithSingleFlight; _airingObjectHelper = new AiringObjectHelper(); _tbsQueueKey = fixture.Configuration["TbsQueueApiKey"]; if (_queueTester == null) { _queueTester = new QueueTester(fixture); } }
public TbsPlaylistRule(JobTestFixture fixture) : base("TBSE", "TBSFullAccessApiKey", fixture) { _airingObjectHelper = new AiringObjectHelper(); _jsonString = _airingObjectHelper.UpdateDates(Resources.Resources.TBSAiringWithSingleFlight, 1); _tbsQueueKey = fixture.Configuration["TbsQueueApiKey"]; _fixture = fixture; if (_queueTester == null) { _queueTester = new QueueTester(fixture); } }
public DeportAiringJobRule(JobTestFixture fixture) { this.fixture = fixture; _client = this.fixture.RestClient; }
protected BaseAiring(string abbreviation, string brandApiKey, JobTestFixture fixture) { _abbreviation = abbreviation; _fixture = fixture; _client = _fixture.RestClient; }
public SimpleTest(JobTestFixture fixture) { this.fixture = fixture; this.client = this.fixture.RestClient; }