Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/__tests__/PhpunitTestEngineTestCase.php
<?php | <?php | ||||
/** | /** | ||||
* Tests for @{class:PhpunitTestEngine}. | * Tests for @{class:PhpunitTestEngine}. | ||||
*/ | */ | ||||
final class PhpunitTestEngineTestCase extends PhutilTestCase { | final class PhpunitTestEngineTestCase extends PhutilTestCase { | ||||
public function testGetEngineConfigurationName() { | |||||
$engine = new PhpunitTestEngine(); | |||||
$this->assertEqual('phpunit', $engine->getEngineConfigurationName()); | |||||
} | |||||
public function testSearchLocations() { | public function testSearchLocations() { | ||||
$path = '/path/to/some/file/X.php'; | $path = '/path/to/some/file/X.php'; | ||||
$this->assertEqual( | $this->assertEqual( | ||||
array( | array( | ||||
'/path/to/some/file/', | '/path/to/some/file/', | ||||
'/path/to/some/file/tests/', | '/path/to/some/file/tests/', | ||||
'/path/to/some/file/Tests/', | '/path/to/some/file/Tests/', | ||||
Show All 27 Lines |