4
* Tests for @{class:PHPUnitTestEngine}.
6
final class PHPUnitTestEngineTestCase extends ArcanistTestCase {
8
public function testSearchLocations() {
9
$path = '/path/to/some/file/X.php';
13
'/path/to/some/file/',
14
'/path/to/some/file/tests/',
15
'/path/to/some/file/Tests/',
16
'/path/to/some/tests/',
17
'/path/to/some/Tests/',
24
'/path/to/tests/file/',
25
'/path/to/Tests/file/',
26
'/path/tests/some/file/',
27
'/path/Tests/some/file/',
28
'/tests/to/some/file/',
29
'/Tests/to/some/file/',
30
'/path/to/some/tests/file/',
31
'/path/to/some/Tests/file/',
32
'/path/to/tests/some/file/',
33
'/path/to/Tests/some/file/',
34
'/path/tests/to/some/file/',
35
'/path/Tests/to/some/file/',
36
'/tests/path/to/some/file/',
37
'/Tests/path/to/some/file/',
39
PhpunitTestEngine::getSearchLocationsForTests($path));