1234567891011121314151617181920212223242526272829 |
- <?php
- namespace Alchemy\Tests\BinaryDriver;
- use Alchemy\BinaryDriver\ProcessBuilderFactory;
- class LTSProcessBuilderFactoryTest extends AbstractProcessBuilderFactoryTest
- {
- public function setUp()
- {
- if (!class_exists('Symfony\Component\Process\ProcessBuilder')) {
- $this->markTestSkipped('ProcessBuilder is not available.');
- return;
- }
- parent::setUp();
- }
- protected function getProcessBuilderFactory($binary)
- {
- $factory = new ProcessBuilderFactory($binary);
- $factory->setBuilder(new LTSProcessBuilder());
- ProcessBuilderFactory::$emulateSfLTS = false;
- $factory->useBinary($binary);
- return $factory;
- }
- }
|