| 1 | <?php namespace ParaTest\Runners\PHPUnit; |
||
| 12 | class Suite extends ExecutableTest |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * A collection of test methods |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | private $functions; |
||
| 20 | |||
| 21 | 58 | public function __construct($path, $functions, $fullyQualifiedClassName = null) |
|
| 22 | { |
||
| 23 | 58 | parent::__construct($path, $fullyQualifiedClassName); |
|
| 24 | 58 | $this->functions = $functions; |
|
| 25 | 58 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Return the collection of test methods |
||
| 29 | * |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | 4 | public function getFunctions() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Get the expected count of tests to be executed |
||
| 39 | * |
||
| 40 | * @return int |
||
| 41 | */ |
||
| 42 | 15 | public function getTestCount() |
|
| 46 | } |
||
| 47 |