Rename Interfaces
This commit is contained in:
parent
68852ca65a
commit
084bb43fc1
2 changed files with 26 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace FFMpeg\Format;
|
namespace FFMpeg\Format\Audio;
|
||||||
|
|
||||||
class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
@ -16,7 +16,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::getExtraParams
|
* @covers FFMpeg\Format\Audio\DefaultAudio::getExtraParams
|
||||||
*/
|
*/
|
||||||
public function testGetExtraParams()
|
public function testGetExtraParams()
|
||||||
{
|
{
|
||||||
|
|
@ -24,7 +24,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::getAudioCodec
|
* @covers FFMpeg\Format\Audio\DefaultAudio::getAudioCodec
|
||||||
*/
|
*/
|
||||||
public function testGetAudioCodec()
|
public function testGetAudioCodec()
|
||||||
{
|
{
|
||||||
|
|
@ -32,7 +32,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::setAudioCodec
|
* @covers FFMpeg\Format\Audio\DefaultAudio::setAudioCodec
|
||||||
*/
|
*/
|
||||||
public function testSetAudioCodec()
|
public function testSetAudioCodec()
|
||||||
{
|
{
|
||||||
|
|
@ -43,7 +43,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::setAudioCodec
|
* @covers FFMpeg\Format\Audio\DefaultAudio::setAudioCodec
|
||||||
* @expectedException \InvalidArgumentException
|
* @expectedException \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
public function testSetWrongAudioCodec()
|
public function testSetWrongAudioCodec()
|
||||||
|
|
@ -52,7 +52,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::getAudioSampleRate
|
* @covers FFMpeg\Format\Audio\DefaultAudio::getAudioSampleRate
|
||||||
*/
|
*/
|
||||||
public function testGetAudioSampleRate()
|
public function testGetAudioSampleRate()
|
||||||
{
|
{
|
||||||
|
|
@ -60,7 +60,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::setAudioSampleRate
|
* @covers FFMpeg\Format\Audio\DefaultAudio::setAudioSampleRate
|
||||||
*/
|
*/
|
||||||
public function testSetAudioSampleRate()
|
public function testSetAudioSampleRate()
|
||||||
{
|
{
|
||||||
|
|
@ -69,7 +69,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::setAudioSampleRate
|
* @covers FFMpeg\Format\Audio\DefaultAudio::setAudioSampleRate
|
||||||
* @expectedException \InvalidArgumentException
|
* @expectedException \InvalidArgumentException
|
||||||
* @dataProvider getWrongAudioSampleRate
|
* @dataProvider getWrongAudioSampleRate
|
||||||
*/
|
*/
|
||||||
|
|
@ -84,7 +84,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::getKiloBitrate
|
* @covers FFMpeg\Format\Audio\DefaultAudio::getKiloBitrate
|
||||||
*/
|
*/
|
||||||
public function testGetKiloBitrate()
|
public function testGetKiloBitrate()
|
||||||
{
|
{
|
||||||
|
|
@ -92,7 +92,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::setKiloBitrate
|
* @covers FFMpeg\Format\Audio\DefaultAudio::setKiloBitrate
|
||||||
*/
|
*/
|
||||||
public function testSetKiloBitrate()
|
public function testSetKiloBitrate()
|
||||||
{
|
{
|
||||||
|
|
@ -101,7 +101,7 @@ class DefaultAudioTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultAudio::setKiloBitrate
|
* @covers FFMpeg\Format\Audio\DefaultAudio::setKiloBitrate
|
||||||
* @dataProvider getWrongKiloBitrate
|
* @dataProvider getWrongKiloBitrate
|
||||||
* @expectedException \InvalidArgumentException
|
* @expectedException \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace FFMpeg\Format;
|
namespace FFMpeg\Format\Video;
|
||||||
|
|
||||||
class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
@ -16,9 +16,9 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::setDimensions
|
* @covers FFMpeg\Format\Video\DefaultVideo::setDimensions
|
||||||
* @covers FFMpeg\Format\DefaultVideo::getWidth
|
* @covers FFMpeg\Format\Video\DefaultVideo::getWidth
|
||||||
* @covers FFMpeg\Format\DefaultVideo::getHeight
|
* @covers FFMpeg\Format\Video\DefaultVideo::getHeight
|
||||||
*/
|
*/
|
||||||
public function testSetDimensions()
|
public function testSetDimensions()
|
||||||
{
|
{
|
||||||
|
|
@ -32,7 +32,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::setDimensions
|
* @covers FFMpeg\Format\Video\DefaultVideo::setDimensions
|
||||||
* @dataProvider getWrongDimensions
|
* @dataProvider getWrongDimensions
|
||||||
* @expectedException \InvalidArgumentException
|
* @expectedException \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
|
|
@ -59,7 +59,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::getFrameRate
|
* @covers FFMpeg\Format\Video\DefaultVideo::getFrameRate
|
||||||
*/
|
*/
|
||||||
public function testGetFrameRate()
|
public function testGetFrameRate()
|
||||||
{
|
{
|
||||||
|
|
@ -67,7 +67,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::setFrameRate
|
* @covers FFMpeg\Format\Video\DefaultVideo::setFrameRate
|
||||||
*/
|
*/
|
||||||
public function testSetFrameRate()
|
public function testSetFrameRate()
|
||||||
{
|
{
|
||||||
|
|
@ -76,7 +76,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::setFrameRate
|
* @covers FFMpeg\Format\Video\DefaultVideo::setFrameRate
|
||||||
* @dataProvider getWrongFrameRates
|
* @dataProvider getWrongFrameRates
|
||||||
* @expectedException \InvalidArgumentException
|
* @expectedException \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
|
|
@ -96,7 +96,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::getVideoCodec
|
* @covers FFMpeg\Format\Video\DefaultVideo::getVideoCodec
|
||||||
*/
|
*/
|
||||||
public function testGetVideoCodec()
|
public function testGetVideoCodec()
|
||||||
{
|
{
|
||||||
|
|
@ -104,7 +104,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::setVideoCodec
|
* @covers FFMpeg\Format\Video\DefaultVideo::setVideoCodec
|
||||||
*/
|
*/
|
||||||
public function testSetVideoCodec()
|
public function testSetVideoCodec()
|
||||||
{
|
{
|
||||||
|
|
@ -115,7 +115,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::setVideoCodec
|
* @covers FFMpeg\Format\Video\DefaultVideo::setVideoCodec
|
||||||
* @expectedException \InvalidArgumentException
|
* @expectedException \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
public function testSetWrongVideoCodec()
|
public function testSetWrongVideoCodec()
|
||||||
|
|
@ -124,7 +124,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::getGOPsize
|
* @covers FFMpeg\Format\Video\DefaultVideo::getGOPsize
|
||||||
*/
|
*/
|
||||||
public function testGetGOPsize()
|
public function testGetGOPsize()
|
||||||
{
|
{
|
||||||
|
|
@ -132,7 +132,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::setGOPsize
|
* @covers FFMpeg\Format\Video\DefaultVideo::setGOPsize
|
||||||
*/
|
*/
|
||||||
public function testSetGOPsize()
|
public function testSetGOPsize()
|
||||||
{
|
{
|
||||||
|
|
@ -141,7 +141,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::setGOPsize
|
* @covers FFMpeg\Format\Video\DefaultVideo::setGOPsize
|
||||||
* @dataProvider getWrongGOPsize
|
* @dataProvider getWrongGOPsize
|
||||||
* @expectedException \InvalidArgumentException
|
* @expectedException \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
|
|
@ -156,7 +156,7 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\Format\DefaultVideo::getKiloBitrate
|
* @covers FFMpeg\Format\Video\DefaultVideo::getKiloBitrate
|
||||||
*/
|
*/
|
||||||
public function testGetKiloBitrate()
|
public function testGetKiloBitrate()
|
||||||
{
|
{
|
||||||
Loading…
Add table
Add a link
Reference in a new issue