| 1 | <?php |
||
| 15 | class TestCase extends \PHPUnit\Framework\TestCase |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Root dir for tests |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $rootDir; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Set Up test |
||
| 26 | * |
||
| 27 | * @return void |
||
| 28 | **/ |
||
| 29 | public function setUp() |
||
| 40 | |||
| 41 | public function tearDown() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Get the creation root |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getRootDir() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Set the creation root |
||
| 58 | * |
||
| 59 | * @param string $rootDir |
||
| 60 | * @return TestCase |
||
| 61 | */ |
||
| 62 | public function setRootDir($rootDir) |
||
| 68 | |||
| 69 | /** |
||
| 70 | * Create a new generator |
||
| 71 | * |
||
| 72 | * @param array[string]string $parameters |
||
|
|
|||
| 73 | * @return Generator |
||
| 74 | **/ |
||
| 75 | protected function createGenerator(array $parameters = array()) |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Get the tests directory root path |
||
| 82 | * |
||
| 83 | * @return string |
||
| 84 | **/ |
||
| 85 | protected function getTestsRoot() |
||
| 89 | |||
| 90 | /** |
||
| 91 | * Delete a directory |
||
| 92 | * |
||
| 93 | * @param string $dir |
||
| 94 | * @return void |
||
| 95 | **/ |
||
| 96 | private static function deleteDir($dir) |
||
| 113 | } |
||
| 114 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.