1 | <?php |
||
5 | abstract class TestSuiteFactory extends TestFactory |
||
6 | { |
||
7 | /** |
||
8 | * @var array|null |
||
9 | */ |
||
10 | private $tests = null; |
||
11 | |||
12 | /** |
||
13 | * @param TestConfiguration|null $configuration |
||
14 | * @param TestData|null $testData |
||
15 | */ |
||
16 | public function __construct($configuration = null, $testData = null) |
||
24 | |||
25 | |||
26 | /** |
||
27 | * @param TestData|null $testData |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | protected function initialize($testData = null) |
||
34 | |||
35 | /** |
||
36 | * @param TestFactory $test |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | protected function addTest($test) |
||
45 | |||
46 | /** |
||
47 | * @return array |
||
48 | */ |
||
49 | public function getTests() |
||
54 | |||
55 | /** |
||
56 | * @return void |
||
57 | */ |
||
58 | protected function calculateState() |
||
70 | |||
71 | /** |
||
72 | * @return void |
||
73 | */ |
||
74 | abstract protected function invokeTestSuite(); |
||
75 | } |
||
76 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.