1 | <?php |
||
6 | class CpanelTest extends TestCase { |
||
7 | |||
8 | /** |
||
9 | * @var Cpanel |
||
10 | */ |
||
11 | protected $object; |
||
12 | |||
13 | /** |
||
14 | * Sets up the fixture, for example, opens a network connection. |
||
15 | * This method is called before a test is executed. |
||
16 | */ |
||
17 | protected function setUp() |
||
18 | { |
||
19 | $this->object = new Cpanel(getenv('CPANEL_LICENSING_USERNAME'), getenv('CPANEL_LICENSING_PASSWORD')); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Tears down the fixture, for example, closes a network connection. |
||
24 | * This method is called after a test is executed. |
||
25 | */ |
||
26 | protected function tearDown() |
||
27 | { |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @covers Detain\Cpanel\Cpanel::setopt |
||
32 | * @todo Implement testSetopt(). |
||
33 | */ |
||
34 | public function testSetopt() |
||
35 | { |
||
36 | // Remove the following lines when you implement this test. |
||
37 | $this->markTestIncomplete( |
||
38 | 'This test has not been implemented yet.' |
||
39 | ); |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @covers Detain\Cpanel\Cpanel::setCredentials |
||
44 | * @todo Implement testSetCredentials(). |
||
45 | */ |
||
46 | public function testSetCredentials() |
||
47 | { |
||
48 | // Remove the following lines when you implement this test. |
||
49 | $this->markTestIncomplete( |
||
50 | 'This test has not been implemented yet.' |
||
51 | ); |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @covers Detain\Cpanel\Cpanel::set_format |
||
56 | * @todo Implement testSet_format(). |
||
57 | */ |
||
58 | public function testSet_format() |
||
59 | { |
||
60 | // Remove the following lines when you implement this test. |
||
61 | $this->markTestIncomplete( |
||
62 | 'This test has not been implemented yet.' |
||
63 | ); |
||
64 | } |
||
65 | |||
66 | /** |
||
67 | * @covers Detain\Cpanel\Cpanel::reactivateLicense |
||
68 | * @todo Implement testReactivateLicense(). |
||
69 | */ |
||
70 | public function testReactivateLicense() |
||
71 | { |
||
72 | // Remove the following lines when you implement this test. |
||
73 | $this->markTestIncomplete( |
||
74 | 'This test has not been implemented yet.' |
||
75 | ); |
||
76 | } |
||
77 | |||
78 | /** |
||
79 | * @covers Detain\Cpanel\Cpanel::expireLicense |
||
80 | * @todo Implement testExpireLicense(). |
||
81 | */ |
||
82 | public function testExpireLicense() |
||
83 | { |
||
84 | // Remove the following lines when you implement this test. |
||
85 | $this->markTestIncomplete( |
||
86 | 'This test has not been implemented yet.' |
||
87 | ); |
||
88 | } |
||
89 | |||
90 | /** |
||
91 | * @covers Detain\Cpanel\Cpanel::extendOnetimeUpdates |
||
92 | * @todo Implement testExtendOnetimeUpdates(). |
||
93 | */ |
||
94 | public function testExtendOnetimeUpdates() |
||
95 | { |
||
96 | // Remove the following lines when you implement this test. |
||
97 | $this->markTestIncomplete( |
||
98 | 'This test has not been implemented yet.' |
||
99 | ); |
||
100 | } |
||
101 | |||
102 | /** |
||
103 | * @covers Detain\Cpanel\Cpanel::changeip |
||
104 | * @todo Implement testChangeip(). |
||
105 | */ |
||
106 | public function testChangeip() |
||
107 | { |
||
108 | // Remove the following lines when you implement this test. |
||
109 | $this->markTestIncomplete( |
||
110 | 'This test has not been implemented yet.' |
||
111 | ); |
||
112 | } |
||
113 | |||
114 | /** |
||
115 | * @covers Detain\Cpanel\Cpanel::requestTransfer |
||
116 | * @todo Implement testRequestTransfer(). |
||
117 | */ |
||
118 | public function testRequestTransfer() |
||
119 | { |
||
120 | // Remove the following lines when you implement this test. |
||
121 | $this->markTestIncomplete( |
||
122 | 'This test has not been implemented yet.' |
||
123 | ); |
||
124 | } |
||
125 | |||
126 | /** |
||
127 | * @covers Detain\Cpanel\Cpanel::activateLicense |
||
128 | * @todo Implement testActivateLicense(). |
||
129 | */ |
||
130 | public function testActivateLicense() |
||
131 | { |
||
132 | // Remove the following lines when you implement this test. |
||
133 | $this->markTestIncomplete( |
||
134 | 'This test has not been implemented yet.' |
||
135 | ); |
||
136 | } |
||
137 | |||
138 | /** |
||
139 | * @covers Detain\Cpanel\Cpanel::addPickupPass |
||
140 | * @todo Implement testAddPickupPass(). |
||
141 | */ |
||
142 | public function testAddPickupPass() |
||
143 | { |
||
144 | // Remove the following lines when you implement this test. |
||
145 | $this->markTestIncomplete( |
||
146 | 'This test has not been implemented yet.' |
||
147 | ); |
||
148 | } |
||
149 | |||
150 | /** |
||
151 | * @covers Detain\Cpanel\Cpanel::registerAuth |
||
152 | * @todo Implement testRegisterAuth(). |
||
153 | */ |
||
154 | public function testRegisterAuth() |
||
155 | { |
||
156 | // Remove the following lines when you implement this test. |
||
157 | $this->markTestIncomplete( |
||
158 | 'This test has not been implemented yet.' |
||
159 | ); |
||
160 | } |
||
161 | |||
162 | /** |
||
163 | * @covers Detain\Cpanel\Cpanel::fetchGroups |
||
164 | * @todo Implement testFetchGroups(). |
||
165 | */ |
||
166 | public function testFetchGroups() |
||
167 | { |
||
168 | // Remove the following lines when you implement this test. |
||
169 | $this->markTestIncomplete( |
||
170 | 'This test has not been implemented yet.' |
||
171 | ); |
||
172 | } |
||
173 | |||
174 | /** |
||
175 | * @covers Detain\Cpanel\Cpanel::fetchLicenseRiskData |
||
176 | * @todo Implement testFetchLicenseRiskData(). |
||
177 | */ |
||
178 | public function testFetchLicenseRiskData() |
||
179 | { |
||
180 | // Remove the following lines when you implement this test. |
||
181 | $this->markTestIncomplete( |
||
182 | 'This test has not been implemented yet.' |
||
183 | ); |
||
184 | } |
||
185 | |||
186 | /** |
||
187 | * @covers Detain\Cpanel\Cpanel::fetchLicenseRaw |
||
188 | * @todo Implement testFetchLicenseRaw(). |
||
189 | */ |
||
190 | public function testFetchLicenseRaw() |
||
191 | { |
||
192 | // Remove the following lines when you implement this test. |
||
193 | $this->markTestIncomplete( |
||
194 | 'This test has not been implemented yet.' |
||
195 | ); |
||
196 | } |
||
197 | |||
198 | /** |
||
199 | * @covers Detain\Cpanel\Cpanel::fetchLicenseId |
||
200 | * @todo Implement testFetchLicenseId(). |
||
201 | */ |
||
202 | public function testFetchLicenseId() |
||
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 Detain\Cpanel\Cpanel::fetchPackages |
||
212 | * @todo Implement testFetchPackages(). |
||
213 | */ |
||
214 | public function testFetchPackages() |
||
215 | { |
||
216 | // Remove the following lines when you implement this test. |
||
217 | $this->markTestIncomplete( |
||
218 | 'This test has not been implemented yet.' |
||
219 | ); |
||
220 | } |
||
221 | |||
222 | /** |
||
223 | * @covers Detain\Cpanel\Cpanel::fetchLicenses |
||
224 | * @todo Implement testFetchLicenses(). |
||
225 | */ |
||
226 | public function testFetchLicenses() |
||
227 | { |
||
228 | // Remove the following lines when you implement this test. |
||
229 | $this->markTestIncomplete( |
||
230 | 'This test has not been implemented yet.' |
||
231 | ); |
||
232 | } |
||
233 | |||
234 | /** |
||
235 | * @covers Detain\Cpanel\Cpanel::fetchExpiredLicenses |
||
236 | * @todo Implement testFetchExpiredLicenses(). |
||
237 | */ |
||
238 | public function testFetchExpiredLicenses() |
||
239 | { |
||
240 | // Remove the following lines when you implement this test. |
||
241 | $this->markTestIncomplete( |
||
242 | 'This test has not been implemented yet.' |
||
243 | ); |
||
244 | } |
||
245 | |||
246 | /** |
||
247 | * @covers Detain\Cpanel\Cpanel::findKey |
||
248 | * @todo Implement testFindKey(). |
||
249 | */ |
||
250 | public function testFindKey() |
||
251 | { |
||
252 | // Remove the following lines when you implement this test. |
||
253 | $this->markTestIncomplete( |
||
254 | 'This test has not been implemented yet.' |
||
255 | ); |
||
256 | } |
||
257 | } |
||
258 |