Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/__tests__/ArcanistPhpunitTestEngineTestCase.php
- This file was moved from src/unit/engine/__tests__/PhpunitTestEngineTestCase.php.
| <?php | <?php | ||||
| /** | /** | ||||
| * Tests for @{class:PhpunitTestEngine}. | * Tests for @{class:ArcanistPhpunitTestEngine}. | ||||
| */ | */ | ||||
| final class PhpunitTestEngineTestCase extends ArcanistTestCase { | final class ArcanistPhpunitTestEngineTestCase extends ArcanistTestCase { | ||||
| 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/', | ||||
| Show All 16 Lines | $this->assertEqual( | ||||
| '/path/to/some/Tests/file/', | '/path/to/some/Tests/file/', | ||||
| '/path/to/tests/some/file/', | '/path/to/tests/some/file/', | ||||
| '/path/to/Tests/some/file/', | '/path/to/Tests/some/file/', | ||||
| '/path/tests/to/some/file/', | '/path/tests/to/some/file/', | ||||
| '/path/Tests/to/some/file/', | '/path/Tests/to/some/file/', | ||||
| '/tests/path/to/some/file/', | '/tests/path/to/some/file/', | ||||
| '/Tests/path/to/some/file/', | '/Tests/path/to/some/file/', | ||||
| ), | ), | ||||
| PhpunitTestEngine::getSearchLocationsForTests($path)); | ArcanistPhpunitTestEngine::getSearchLocationsForTests($path)); | ||||
| } | } | ||||
| } | } | ||||