示例#1
0
        public GetJobTemplateTest(TranscoderFixture fixture)
        {
            _fixture      = fixture;
            _createSample = new CreateJobTemplateSample();
            _getSample    = new GetJobTemplateSample();
            _templateId   = $"my-job-template-{_fixture.RandomId()}";

            _createSample.CreateJobTemplate(
                _fixture.ProjectId, _fixture.Location,
                _templateId);
            _fixture.JobTemplateIds.Add(_templateId);
        }
        public ListJobTemplatesTest(TranscoderFixture fixture)
        {
            _fixture      = fixture;
            _createSample = new CreateJobTemplateSample();
            _listSample   = new ListJobTemplatesSample();
            _templateId   = $"my-job-template-{_fixture.RandomId()}";

            var result = _createSample.CreateJobTemplate(
                _fixture.ProjectId, _fixture.Location,
                _templateId);

            _fixture.JobTemplateIds.Add(_templateId);
        }
 public CreateJobTemplateTest(TranscoderFixture fixture)
 {
     _fixture      = fixture;
     _createSample = new CreateJobTemplateSample();
     _templateId   = $"my-job-template-{_fixture.RandomId()}";
 }