public function setUp()
 {
     parent::setUp();
 }
Пример #2
0
 /**
  * @depends analyzeFtpInput_File4
  */
 public function testCreateFtpInputJob_File4(Input $input)
 {
     $encodingProfileConfig = AbstractEncodingProfileTest::encodingProfileProvider($this->getName())['defaultEncodingProfileConfig'][0];
     /* CREATE ENCODING PROFILE */
     $encodingProfile = EncodingProfile::create($encodingProfileConfig);
     $jobConfig = new JobConfig();
     $jobConfig->encodingProfile = $encodingProfile;
     $jobConfig->input = $input;
     $jobConfig->manifestTypes[] = ManifestTypes::M3U8;
     $jobConfig->manifestTypes[] = ManifestTypes::MPD;
     /* CREATE JOB */
     $job = Job::create($jobConfig);
     $this->assertInstanceOf(Job::class, $job);
     $this->assertNotNull($job->jobId);
     $this->assertNotEquals($job->status, Job::STATUS_ERROR);
     return $job;
 }