[Process] removed uninteresting tests
This commit is contained in:
parent
5f5efaf5c2
commit
80040c6a29
@ -18,23 +18,6 @@ use Symfony\Component\Process\Process;
|
|||||||
*/
|
*/
|
||||||
class ProcessTest extends \PHPUnit_Framework_TestCase
|
class ProcessTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* tests getter/setter
|
|
||||||
*
|
|
||||||
* @dataProvider methodProvider
|
|
||||||
*/
|
|
||||||
public function testDefaultGetterSetter($fn)
|
|
||||||
{
|
|
||||||
$p = new Process('php');
|
|
||||||
|
|
||||||
$setter = 'set'.$fn;
|
|
||||||
$getter = 'get'.$fn;
|
|
||||||
|
|
||||||
$this->assertNull($p->$setter(array('foo')));
|
|
||||||
|
|
||||||
$this->assertSame(array('foo'), $p->$getter(array('foo')));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* tests results from sub processes
|
* tests results from sub processes
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user