scratch – Blame information for rev 120
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
120 | office | 1 | <?php |
2 | |||
3 | namespace Tests\FFMpeg\Unit\Filters\Video; |
||
4 | |||
5 | use FFMpeg\Filters\Video\CustomFilter; |
||
6 | use FFMpeg\Filters\Video\FrameRateFilter; |
||
7 | use Tests\FFMpeg\Unit\TestCase; |
||
8 | use FFMpeg\Coordinate\FrameRate; |
||
9 | |||
10 | class CustomFilterTest extends TestCase |
||
11 | { |
||
12 | public function testApplyCustomFilter() |
||
13 | { |
||
14 | $video = $this->getVideoMock(); |
||
15 | $format = $this->getMock('FFMpeg\Format\VideoInterface'); |
||
16 | |||
17 | $filter = new CustomFilter('whatever i put would end up as a filter'); |
||
18 | $this->assertEquals(array('-vf', 'whatever i put would end up as a filter'), $filter->apply($video, $format)); |
||
19 | } |
||
20 | } |