Completed
Push — master ( bc2781...c6b0bc )
by Andrii
03:12
created

PhpunitControllerTest::testGenFake()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
c 2
b 1
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
/*
4
 * PHPUnit plugin for HiDev
5
 *
6
 * @link      https://github.com/hiqdev/hidev-phpunit
7
 * @package   hidev-phpunit
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hidev\phpunit\tests\unit\controllers;
13
14
use hidev\phpunit\controllers\PhpunitController;
15
use hidev\phpunit\controllers\PhpunitXmlController;
16
17
/**
18
 * Generated by PHPUnit_SkeletonGenerator on 2015-11-26 at 10:52:52.
19
 */
20
class PhpunitControllerTest extends \PHPUnit_Framework_TestCase
21
{
22
    /**
23
     * @var PhpunitController
24
     */
25
    protected $object;
26
27
    protected function setUp()
28
    {
29
        $this->object = new PhpunitController('phpunit', null);
30
    }
31
32
    protected function tearDown()
33
    {
34
    }
35
36
    /**
37
     * @covers hidev\phpunit\controllers\PhpunitController::init
38
     *
39
     * @todo   Implement testInit().
40
     */
41
    public function testInit()
42
    {
43
        $this->assertNull($this->object->init());
44
    }
45
46
    public function testOptions()
47
    {
48
        $this->assertContains('force', $this->object->options('any'));
49
    }
50
51
    public function testGetConfiguration()
52
    {
53
        // $this->assertInstanceOf(PhpunitXmlController::className(), $this->object->getConfiguration());
0 ignored issues
show
Unused Code Comprehensibility introduced by
67% of this comment could be valid code. Did you maybe forget this after debugging?

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.

Loading history...
54
        $this->markTestIncomplete(
55
            'This test has not been implemented yet.'
56
        );
57
    }
58
59
    public function testActionMake()
60
    {
61
        // Remove the following lines when you implement this test.
62
        $this->markTestIncomplete(
63
            'This test has not been implemented yet.'
64
        );
65
    }
66
67
    /**
68
     * @covers hidev\phpunit\controllers\PhpunitController::actionRun
69
     *
70
     * @todo   Implement testActionRun().
71
     */
72
    public function testActionRun()
73
    {
74
        // Remove the following lines when you implement this test.
75
        $this->markTestIncomplete(
76
            'This test has not been implemented yet.'
77
        );
78
    }
79
80
    /**
81
     * @covers hidev\phpunit\controllers\PhpunitController::actionGenfake
82
     *
83
     * @todo   Implement testActionGenfake().
84
     */
85
    public function testActionGenfake()
86
    {
87
        // Remove the following lines when you implement this test.
88
        $this->markTestIncomplete(
89
            'This test has not been implemented yet.'
90
        );
91
    }
92
93
    /**
94
     * @covers hidev\phpunit\controllers\PhpunitController::genFake
95
     *
96
     * @todo   Implement testGenFake().
97
     */
98
    public function testGenFake()
99
    {
100
        // Remove the following lines when you implement this test.
101
        $this->markTestIncomplete(
102
            'This test has not been implemented yet.'
103
        );
104
    }
105
106
    /**
107
     * @covers hidev\phpunit\controllers\PhpunitController::actionGentest
108
     *
109
     * @todo   Implement testActionGentest().
110
     */
111
    public function testActionGentest()
112
    {
113
        // Remove the following lines when you implement this test.
114
        $this->markTestIncomplete(
115
            'This test has not been implemented yet.'
116
        );
117
    }
118
119
    /**
120
     * @covers hidev\phpunit\controllers\PhpunitController::genSkel
121
     *
122
     * @todo   Implement testGenSkel().
123
     */
124
    public function testGenSkel()
125
    {
126
        // Remove the following lines when you implement this test.
127
        $this->markTestIncomplete(
128
            'This test has not been implemented yet.'
129
        );
130
    }
131
132
    /**
133
     * @covers hidev\phpunit\controllers\PhpunitController::buildNamespace
134
     *
135
     * @todo   Implement testBuildNamespace().
136
     */
137
    public function testBuildNamespace()
138
    {
139
        // Remove the following lines when you implement this test.
140
        $this->markTestIncomplete(
141
            'This test has not been implemented yet.'
142
        );
143
    }
144
145
    /**
146
     * @covers hidev\phpunit\controllers\PhpunitController::buildTestNamespace
147
     *
148
     * @todo   Implement testBuildTestNamespace().
149
     */
150
    public function testBuildTestNamespace()
151
    {
152
        // Remove the following lines when you implement this test.
153
        $this->markTestIncomplete(
154
            'This test has not been implemented yet.'
155
        );
156
    }
157
158
    /**
159
     * @covers hidev\phpunit\controllers\PhpunitController::buildClass
160
     *
161
     * @todo   Implement testBuildClass().
162
     */
163
    public function testBuildClass()
164
    {
165
        // Remove the following lines when you implement this test.
166
        $this->markTestIncomplete(
167
            'This test has not been implemented yet.'
168
        );
169
    }
170
171
    /**
172
     * @covers hidev\phpunit\controllers\PhpunitController::buildTestClass
173
     *
174
     * @todo   Implement testBuildTestClass().
175
     */
176
    public function testBuildTestClass()
177
    {
178
        // Remove the following lines when you implement this test.
179
        $this->markTestIncomplete(
180
            'This test has not been implemented yet.'
181
        );
182
    }
183
184
    /**
185
     * @covers hidev\phpunit\controllers\PhpunitController::buildPath
186
     *
187
     * @todo   Implement testBuildPath().
188
     */
189
    public function testBuildPath()
190
    {
191
        // Remove the following lines when you implement this test.
192
        $this->markTestIncomplete(
193
            'This test has not been implemented yet.'
194
        );
195
    }
196
197
    /**
198
     * @covers hidev\phpunit\controllers\PhpunitController::buildTestPath
199
     *
200
     * @todo   Implement testBuildTestPath().
201
     */
202
    public function testBuildTestPath()
203
    {
204
        // Remove the following lines when you implement this test.
205
        $this->markTestIncomplete(
206
            'This test has not been implemented yet.'
207
        );
208
    }
209
210
    /**
211
     * @covers hidev\phpunit\controllers\PhpunitController::buildFakePath
212
     *
213
     * @todo   Implement testBuildFakePath().
214
     */
215
    public function testBuildFakePath()
216
    {
217
        // Remove the following lines when you implement this test.
218
        $this->markTestIncomplete(
219
            'This test has not been implemented yet.'
220
        );
221
    }
222
}
223