1 | <?php |
||
20 | class PhpunitControllerTest extends \PHPUnit_Framework_TestCase |
||
21 | { |
||
22 | /** |
||
23 | * @var PhpunitController |
||
24 | */ |
||
25 | protected $object; |
||
26 | |||
27 | protected function setUp() |
||
31 | |||
32 | protected function tearDown() |
||
35 | |||
36 | /** |
||
37 | * @covers hidev\phpunit\controllers\PhpunitController::init |
||
38 | * |
||
39 | * @todo Implement testInit(). |
||
40 | */ |
||
41 | public function testInit() |
||
45 | |||
46 | public function testOptions() |
||
50 | |||
51 | public function testGetConfiguration() |
||
58 | |||
59 | public function testActionMake() |
||
66 | |||
67 | /** |
||
68 | * @covers hidev\phpunit\controllers\PhpunitController::actionRun |
||
69 | * |
||
70 | * @todo Implement testActionRun(). |
||
71 | */ |
||
72 | public function testActionRun() |
||
79 | |||
80 | /** |
||
81 | * @covers hidev\phpunit\controllers\PhpunitController::actionGenfake |
||
82 | * |
||
83 | * @todo Implement testActionGenfake(). |
||
84 | */ |
||
85 | public function testActionGenfake() |
||
92 | |||
93 | /** |
||
94 | * @covers hidev\phpunit\controllers\PhpunitController::genFake |
||
95 | * |
||
96 | * @todo Implement testGenFake(). |
||
97 | */ |
||
98 | public function testGenFake() |
||
105 | |||
106 | /** |
||
107 | * @covers hidev\phpunit\controllers\PhpunitController::actionGentest |
||
108 | * |
||
109 | * @todo Implement testActionGentest(). |
||
110 | */ |
||
111 | public function testActionGentest() |
||
118 | |||
119 | /** |
||
120 | * @covers hidev\phpunit\controllers\PhpunitController::genSkel |
||
121 | * |
||
122 | * @todo Implement testGenSkel(). |
||
123 | */ |
||
124 | public function testGenSkel() |
||
131 | |||
132 | /** |
||
133 | * @covers hidev\phpunit\controllers\PhpunitController::buildNamespace |
||
134 | * |
||
135 | * @todo Implement testBuildNamespace(). |
||
136 | */ |
||
137 | public function testBuildNamespace() |
||
144 | |||
145 | /** |
||
146 | * @covers hidev\phpunit\controllers\PhpunitController::buildTestNamespace |
||
147 | * |
||
148 | * @todo Implement testBuildTestNamespace(). |
||
149 | */ |
||
150 | public function testBuildTestNamespace() |
||
157 | |||
158 | /** |
||
159 | * @covers hidev\phpunit\controllers\PhpunitController::buildClass |
||
160 | * |
||
161 | * @todo Implement testBuildClass(). |
||
162 | */ |
||
163 | public function testBuildClass() |
||
170 | |||
171 | /** |
||
172 | * @covers hidev\phpunit\controllers\PhpunitController::buildTestClass |
||
173 | * |
||
174 | * @todo Implement testBuildTestClass(). |
||
175 | */ |
||
176 | public function testBuildTestClass() |
||
183 | |||
184 | /** |
||
185 | * @covers hidev\phpunit\controllers\PhpunitController::buildPath |
||
186 | * |
||
187 | * @todo Implement testBuildPath(). |
||
188 | */ |
||
189 | public function testBuildPath() |
||
196 | |||
197 | /** |
||
198 | * @covers hidev\phpunit\controllers\PhpunitController::buildTestPath |
||
199 | * |
||
200 | * @todo Implement testBuildTestPath(). |
||
201 | */ |
||
202 | public function testBuildTestPath() |
||
209 | |||
210 | /** |
||
211 | * @covers hidev\phpunit\controllers\PhpunitController::buildFakePath |
||
212 | * |
||
213 | * @todo Implement testBuildFakePath(). |
||
214 | */ |
||
215 | public function testBuildFakePath() |
||
222 | } |
||
223 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.