Passed
Pull Request — master (#1312)
by Michael
08:36 queued 02:22
created

AdminTest::testAddInfoBoxLine()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Xmf\Test\Module;
6
7
use PHPUnit\Framework\TestCase;
0 ignored issues
show
Bug introduced by
The type PHPUnit\Framework\TestCase was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use Xmf\Module\Admin;
9
10
require_once dirname(__DIR__, 4) . '/init_new.php';
11
12
class AdminTest extends TestCase
13
{
14
    /**
15
     * @var Admin
16
     */
17
    protected $object;
18
19
    /**
20
     * Sets up the fixture, for example, opens a network connection.
21
     * This method is called before a test is executed.
22
     */
23
    protected function setUp(): void
24
    {
25
        $this->markTestSkipped('side effects');
26
        $this->object = Admin::getInstance();
27
    }
28
29
    /**
30
     * Tears down the fixture, for example, closes a network connection.
31
     * This method is called after a test is executed.
32
     */
33
    protected function tearDown(): void
34
    {
35
    }
36
37
    public function testGetInstance()
38
    {
39
        // Remove the following lines when you implement this test.
40
        $this->markTestIncomplete(
41
            'This test has not been implemented yet.'
42
        );
43
    }
44
45
    public function testMenuIconPath()
46
    {
47
        // Remove the following lines when you implement this test.
48
        $this->markTestIncomplete(
49
            'This test has not been implemented yet.'
50
        );
51
    }
52
53
    public function testAddConfigBoxLine()
54
    {
55
        // Remove the following lines when you implement this test.
56
        $this->markTestIncomplete(
57
            'This test has not been implemented yet.'
58
        );
59
    }
60
61
    public function testAddInfoBox()
62
    {
63
        // Remove the following lines when you implement this test.
64
        $this->markTestIncomplete(
65
            'This test has not been implemented yet.'
66
        );
67
    }
68
69
    public function testAddInfoBoxLine()
70
    {
71
        // Remove the following lines when you implement this test.
72
        $this->markTestIncomplete(
73
            'This test has not been implemented yet.'
74
        );
75
    }
76
77
    public function testAddItemButton()
78
    {
79
        // Remove the following lines when you implement this test.
80
        $this->markTestIncomplete(
81
            'This test has not been implemented yet.'
82
        );
83
    }
84
85
    public function testRenderButton()
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
    public function testDisplayButton()
94
    {
95
        // Remove the following lines when you implement this test.
96
        $this->markTestIncomplete(
97
            'This test has not been implemented yet.'
98
        );
99
    }
100
101
    public function testRenderInfoBox()
102
    {
103
        // Remove the following lines when you implement this test.
104
        $this->markTestIncomplete(
105
            'This test has not been implemented yet.'
106
        );
107
    }
108
109
    public function testDisplayInfoBox()
110
    {
111
        // Remove the following lines when you implement this test.
112
        $this->markTestIncomplete(
113
            'This test has not been implemented yet.'
114
        );
115
    }
116
117
    public function testRenderIndex()
118
    {
119
        // Remove the following lines when you implement this test.
120
        $this->markTestIncomplete(
121
            'This test has not been implemented yet.'
122
        );
123
    }
124
125
    public function testDisplayIndex()
126
    {
127
        // Remove the following lines when you implement this test.
128
        $this->markTestIncomplete(
129
            'This test has not been implemented yet.'
130
        );
131
    }
132
133
    public function testDisplayNavigation()
134
    {
135
        // Remove the following lines when you implement this test.
136
        $this->markTestIncomplete(
137
            'This test has not been implemented yet.'
138
        );
139
    }
140
141
    public function testRenderAbout()
142
    {
143
        // Remove the following lines when you implement this test.
144
        $this->markTestIncomplete(
145
            'This test has not been implemented yet.'
146
        );
147
    }
148
149
    public function testSetPaypal()
150
    {
151
        // Remove the following lines when you implement this test.
152
        $this->markTestIncomplete(
153
            'This test has not been implemented yet.'
154
        );
155
    }
156
157
    public function testDisplayAbout()
158
    {
159
        // Remove the following lines when you implement this test.
160
        $this->markTestIncomplete(
161
            'This test has not been implemented yet.'
162
        );
163
    }
164
165
    public function testAddConfigError()
166
    {
167
        // Remove the following lines when you implement this test.
168
        $this->markTestIncomplete(
169
            'This test has not been implemented yet.'
170
        );
171
    }
172
173
    public function testAddConfigAccept()
174
    {
175
        // Remove the following lines when you implement this test.
176
        $this->markTestIncomplete(
177
            'This test has not been implemented yet.'
178
        );
179
    }
180
181
    public function testIconUrl()
182
    {
183
        // Remove the following lines when you implement this test.
184
        $this->markTestIncomplete(
185
            'This test has not been implemented yet.'
186
        );
187
    }
188
189
    public function testCheckModuleVersion()
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