Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/ArcanistPhpunitTestEngine.php
- This file was copied from src/unit/engine/PhpunitTestEngine.php.
| <?php | <?php | ||||
| /** | /** | ||||
| * PHPUnit wrapper. | * PHPUnit wrapper. | ||||
| * | |||||
| * @todo Should be final but isn't because of @{class:PhpunitTestEngine}. | |||||
| */ | */ | ||||
| final class PhpunitTestEngine extends ArcanistUnitTestEngine { | class ArcanistPhpunitTestEngine extends ArcanistUnitTestEngine { | ||||
| private $configFile; | private $configFile; | ||||
| private $phpunitBinary = 'phpunit'; | private $phpunitBinary = 'phpunit'; | ||||
| private $affectedTests; | private $affectedTests; | ||||
| private $projectRoot; | private $projectRoot; | ||||
| public function run() { | public function run() { | ||||
| $this->projectRoot = $this->getWorkingCopy()->getProjectRoot(); | $this->projectRoot = $this->getWorkingCopy()->getProjectRoot(); | ||||
| ▲ Show 20 Lines • Show All 266 Lines • Show Last 20 Lines | |||||