Alternc  latest
Alternc logiel libre pour l'hébergement
m_adminTest.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
4  */
5 
6 use PHPUnit\Framework\TestCase;
7 
8 class m_adminTest extends TestCase
9 {
10  /**
11  * @var m_admin
12  */
13  protected $object;
14 
15  /**
16  * Sets up the fixture, for example, opens a network connection.
17  * This method is called before a test is executed.
18  */
19  protected function setUp()
20  {
21  parent::setUp();
22  $this->object = new m_admin;
23  }
24 
25  /**
26  * Tears down the fixture, for example, closes a network connection.
27  * This method is called after a test is executed.
28  */
29  protected function tearDown()
30  {
31  parent::tearDown();
32  }
33 
34  /**
35  * @covers m_admin::hook_menu
36  * @todo Implement testHook_menu().
37  */
38  public function testHook_menu()
39  {
40  // Remove the following lines when you implement this test.
41  $this->markTestIncomplete(
42  'This test has not been implemented yet.'
43  );
44  }
45 
46  /**
47  * @covers m_admin::stop_if_jobs_locked
48  * @todo Implement testStop_if_jobs_locked().
49  */
50  public function testStop_if_jobs_locked()
51  {
52  // Remove the following lines when you implement this test.
53  $this->markTestIncomplete(
54  'This test has not been implemented yet.'
55  );
56  }
57 
58  /**
59  * @covers m_admin::get_uid_by_login
60  * @todo Implement testGet_uid_by_login().
61  */
62  public function testGet_uid_by_login()
63  {
64  // Remove the following lines when you implement this test.
65  $this->markTestIncomplete(
66  'This test has not been implemented yet.'
67  );
68  }
69 
70  /**
71  * @covers m_admin::get
72  * @todo Implement testGet().
73  */
74  public function testGet()
75  {
76  // Remove the following lines when you implement this test.
77  $this->markTestIncomplete(
78  'This test has not been implemented yet.'
79  );
80  }
81 
82  /**
83  * @covers m_admin::get_creator
84  * @todo Implement testGet_creator().
85  */
86  public function testGet_creator()
87  {
88  // Remove the following lines when you implement this test.
89  $this->markTestIncomplete(
90  'This test has not been implemented yet.'
91  );
92  }
93 
94  /**
95  * @covers m_admin::onesu
96  * @todo Implement testOnesu().
97  */
98  public function testOnesu()
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 m_admin::get_list
108  * @todo Implement testGet_list().
109  */
110  public function testGet_list()
111  {
112  // Remove the following lines when you implement this test.
113  $this->markTestIncomplete(
114  'This test has not been implemented yet.'
115  );
116  }
117 
118  /**
119  * @covers m_admin::mailallmembers
120  * @todo Implement testMailallmembers().
121  */
122  public function testMailallmembers()
123  {
124  // Remove the following lines when you implement this test.
125  $this->markTestIncomplete(
126  'This test has not been implemented yet.'
127  );
128  }
129 
130  /**
131  * @covers m_admin::get_creator_list
132  * @todo Implement testGet_creator_list().
133  */
134  public function testGet_creator_list()
135  {
136  // Remove the following lines when you implement this test.
137  $this->markTestIncomplete(
138  'This test has not been implemented yet.'
139  );
140  }
141 
142  /**
143  * @covers m_admin::checkcreator
144  * @todo Implement testCheckcreator().
145  */
146  public function testCheckcreator()
147  {
148  // Remove the following lines when you implement this test.
149  $this->markTestIncomplete(
150  'This test has not been implemented yet.'
151  );
152  }
153 
154  /**
155  * @covers m_admin::add_shared_domain
156  * @todo Implement testAdd_shared_domain().
157  */
158  public function testAdd_shared_domain()
159  {
160  // Remove the following lines when you implement this test.
161  $this->markTestIncomplete(
162  'This test has not been implemented yet.'
163  );
164  }
165 
166  /**
167  * @covers m_admin::add_mem
168  * @todo Implement testAdd_mem().
169  */
170  public function testAdd_mem()
171  {
172  // Remove the following lines when you implement this test.
173  $this->markTestIncomplete(
174  'This test has not been implemented yet.'
175  );
176  }
177 
178  /**
179  * @covers m_admin::hook_admin_add_member
180  * @todo Implement testHook_admin_add_member().
181  */
182  public function testHook_admin_add_member()
183  {
184  // Remove the following lines when you implement this test.
185  $this->markTestIncomplete(
186  'This test has not been implemented yet.'
187  );
188  }
189 
190  /**
191  * @covers m_admin::update_mem
192  * @todo Implement testUpdate_mem().
193  */
194  public function testUpdate_mem()
195  {
196  // Remove the following lines when you implement this test.
197  $this->markTestIncomplete(
198  'This test has not been implemented yet.'
199  );
200  }
201 
202  /**
203  * @covers m_admin::lock_mem
204  * @todo Implement testLock_mem().
205  */
206  public function testLock_mem()
207  {
208  // Remove the following lines when you implement this test.
209  $this->markTestIncomplete(
210  'This test has not been implemented yet.'
211  );
212  }
213 
214  /**
215  * @covers m_admin::unlock_mem
216  * @todo Implement testUnlock_mem().
217  */
218  public function testUnlock_mem()
219  {
220  // Remove the following lines when you implement this test.
221  $this->markTestIncomplete(
222  'This test has not been implemented yet.'
223  );
224  }
225 
226  /**
227  * @covers m_admin::del_mem
228  * @todo Implement testDel_mem().
229  */
230  public function testDel_mem()
231  {
232  // Remove the following lines when you implement this test.
233  $this->markTestIncomplete(
234  'This test has not been implemented yet.'
235  );
236  }
237 
238  /**
239  * @covers m_admin::renew_mem
240  * @todo Implement testRenew_mem().
241  */
242  public function testRenew_mem()
243  {
244  // Remove the following lines when you implement this test.
245  $this->markTestIncomplete(
246  'This test has not been implemented yet.'
247  );
248  }
249 
250  /**
251  * @covers m_admin::renew_update
252  * @todo Implement testRenew_update().
253  */
254  public function testRenew_update()
255  {
256  // Remove the following lines when you implement this test.
257  $this->markTestIncomplete(
258  'This test has not been implemented yet.'
259  );
260  }
261 
262  /**
263  * @covers m_admin::renew_get_expiry
264  * @todo Implement testRenew_get_expiry().
265  */
266  public function testRenew_get_expiry()
267  {
268  // Remove the following lines when you implement this test.
269  $this->markTestIncomplete(
270  'This test has not been implemented yet.'
271  );
272  }
273 
274  /**
275  * @covers m_admin::renew_get_status
276  * @todo Implement testRenew_get_status().
277  */
278  public function testRenew_get_status()
279  {
280  // Remove the following lines when you implement this test.
281  $this->markTestIncomplete(
282  'This test has not been implemented yet.'
283  );
284  }
285 
286  /**
287  * @covers m_admin::renew_get_expiring_accounts
288  * @todo Implement testRenew_get_expiring_accounts().
289  */
291  {
292  // Remove the following lines when you implement this test.
293  $this->markTestIncomplete(
294  'This test has not been implemented yet.'
295  );
296  }
297 
298  /**
299  * @covers m_admin::normal2su
300  * @todo Implement testNormal2su().
301  */
302  public function testNormal2su()
303  {
304  // Remove the following lines when you implement this test.
305  $this->markTestIncomplete(
306  'This test has not been implemented yet.'
307  );
308  }
309 
310  /**
311  * @covers m_admin::su2normal
312  * @todo Implement testSu2normal().
313  */
314  public function testSu2normal()
315  {
316  // Remove the following lines when you implement this test.
317  $this->markTestIncomplete(
318  'This test has not been implemented yet.'
319  );
320  }
321 
322  /**
323  * @covers m_admin::listtld
324  * @todo Implement testListtld().
325  */
326  public function testListtld()
327  {
328  // Remove the following lines when you implement this test.
329  $this->markTestIncomplete(
330  'This test has not been implemented yet.'
331  );
332  }
333 
334  /**
335  * @covers m_admin::dom_list
336  * @todo Implement testDom_list().
337  */
338  public function testDom_list()
339  {
340  // Remove the following lines when you implement this test.
341  $this->markTestIncomplete(
342  'This test has not been implemented yet.'
343  );
344  }
345 
346  /**
347  * @covers m_admin::checkalldom
348  * @todo Implement testCheckalldom().
349  */
350  public function testCheckalldom()
351  {
352  // Remove the following lines when you implement this test.
353  $this->markTestIncomplete(
354  'This test has not been implemented yet.'
355  );
356  }
357 
358  /**
359  * @covers m_admin::dom_lock
360  * @todo Implement testDom_lock().
361  */
362  public function testDom_lock()
363  {
364  // Remove the following lines when you implement this test.
365  $this->markTestIncomplete(
366  'This test has not been implemented yet.'
367  );
368  }
369 
370  /**
371  * @covers m_admin::gettld
372  * @todo Implement testGettld().
373  */
374  public function testGettld()
375  {
376  // Remove the following lines when you implement this test.
377  $this->markTestIncomplete(
378  'This test has not been implemented yet.'
379  );
380  }
381 
382  /**
383  * @covers m_admin::selecttldmode
384  * @todo Implement testSelecttldmode().
385  */
386  public function testSelecttldmode()
387  {
388  // Remove the following lines when you implement this test.
389  $this->markTestIncomplete(
390  'This test has not been implemented yet.'
391  );
392  }
393 
394  /**
395  * @covers m_admin::deltld
396  * @todo Implement testDeltld().
397  */
398  public function testDeltld()
399  {
400  // Remove the following lines when you implement this test.
401  $this->markTestIncomplete(
402  'This test has not been implemented yet.'
403  );
404  }
405 
406  /**
407  * @covers m_admin::addtld
408  * @todo Implement testAddtld().
409  */
410  public function testAddtld()
411  {
412  // Remove the following lines when you implement this test.
413  $this->markTestIncomplete(
414  'This test has not been implemented yet.'
415  );
416  }
417 
418  /**
419  * @covers m_admin::edittld
420  * @todo Implement testEdittld().
421  */
422  public function testEdittld()
423  {
424  // Remove the following lines when you implement this test.
425  $this->markTestIncomplete(
426  'This test has not been implemented yet.'
427  );
428  }
429 
430  /**
431  * @covers m_admin::getadmin
432  * @todo Implement testGetadmin().
433  */
434  public function testGetadmin()
435  {
436  // Remove the following lines when you implement this test.
437  $this->markTestIncomplete(
438  'This test has not been implemented yet.'
439  );
440  }
441 
442  /**
443  * @covers m_admin::listPasswordPolicies
444  * @todo Implement testListPasswordPolicies().
445  */
446  public function testListPasswordPolicies()
447  {
448  // Remove the following lines when you implement this test.
449  $this->markTestIncomplete(
450  'This test has not been implemented yet.'
451  );
452  }
453 
454  /**
455  * @covers m_admin::editPolicy
456  * @todo Implement testEditPolicy().
457  */
458  public function testEditPolicy()
459  {
460  // Remove the following lines when you implement this test.
461  $this->markTestIncomplete(
462  'This test has not been implemented yet.'
463  );
464  }
465 
466  /**
467  * @covers m_admin::checkPolicy
468  * @todo Implement testCheckPolicy().
469  */
470  public function testCheckPolicy()
471  {
472  // Remove the following lines when you implement this test.
473  $this->markTestIncomplete(
474  'This test has not been implemented yet.'
475  );
476  }
477 
478 }
Manage the AlternC's account administration (create/edit/delete)
Definition: m_admin.php:26
testGet_uid_by_login()
@covers m_admin::get_uid_by_login
Definition: m_adminTest.php:62
testRenew_get_status()
@covers m_admin::renew_get_status
testListPasswordPolicies()
@covers m_admin::listPasswordPolicies
testEdittld()
@covers m_admin::edittld
testGet_list()
@covers m_admin::get_list
testSelecttldmode()
@covers m_admin::selecttldmode
testGet_creator()
@covers m_admin::get_creator
Definition: m_adminTest.php:86
testMailallmembers()
@covers m_admin::mailallmembers
testCheckPolicy()
@covers m_admin::checkPolicy
testDel_mem()
@covers m_admin::del_mem
testRenew_update()
@covers m_admin::renew_update
testDom_lock()
@covers m_admin::dom_lock
testHook_menu()
@covers m_admin::hook_menu
Definition: m_adminTest.php:38
testAdd_mem()
@covers m_admin::add_mem
testLock_mem()
@covers m_admin::lock_mem
tearDown()
Tears down the fixture, for example, closes a network connection.
Definition: m_adminTest.php:29
testAddtld()
@covers m_admin::addtld
testNormal2su()
@covers m_admin::normal2su
testStop_if_jobs_locked()
@covers m_admin::stop_if_jobs_locked
Definition: m_adminTest.php:50
testDom_list()
@covers m_admin::dom_list
testGet()
@covers m_admin::get
Definition: m_adminTest.php:74
testGettld()
@covers m_admin::gettld
testCheckcreator()
@covers m_admin::checkcreator
testListtld()
@covers m_admin::listtld
testDeltld()
@covers m_admin::deltld
testGet_creator_list()
@covers m_admin::get_creator_list
testGetadmin()
@covers m_admin::getadmin
testHook_admin_add_member()
@covers m_admin::hook_admin_add_member
testUpdate_mem()
@covers m_admin::update_mem
testRenew_mem()
@covers m_admin::renew_mem
testCheckalldom()
@covers m_admin::checkalldom
testAdd_shared_domain()
@covers m_admin::add_shared_domain
testOnesu()
@covers m_admin::onesu
Definition: m_adminTest.php:98
testEditPolicy()
@covers m_admin::editPolicy
setUp()
Sets up the fixture, for example, opens a network connection.
Definition: m_adminTest.php:19
testRenew_get_expiry()
@covers m_admin::renew_get_expiry
testRenew_get_expiring_accounts()
@covers m_admin::renew_get_expiring_accounts
testUnlock_mem()
@covers m_admin::unlock_mem
testSu2normal()
@covers m_admin::su2normal