Alternc  latest
Alternc logiel libre pour l'hébergement
m_domTest.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 use PHPUnit\Framework\TestCase;
6 
7 class m_domTest extends TestCase
8 {
9  /**
10  * @var m_dom
11  */
12  protected $object;
13 
14  /**
15  * Sets up the fixture, for example, opens a network connection.
16  * This method is called before a test is executed.
17  */
18  protected function setUp()
19  {
20  parent::setUp();
21  $this->object = new m_dom;
22  }
23 
24  /**
25  * Tears down the fixture, for example, closes a network connection.
26  * This method is called after a test is executed.
27  */
28  protected function tearDown()
29  {
30  parent::tearDown();
31  }
32 
33  /**
34  * @covers m_dom::get_panel_url_list
35  * @todo Implement testGet_panel_url_list().
36  */
37  public function testGet_panel_url_list()
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  /**
46  * @covers m_dom::get_sub_domain_id_and_member_by_name
47  * @todo Implement testGet_sub_domain_id_and_member_by_name().
48  */
50  {
51  // Remove the following lines when you implement this test.
52  $this->markTestIncomplete(
53  'This test has not been implemented yet.'
54  );
55  }
56 
57  /**
58  * @covers m_dom::hook_menu
59  * @todo Implement testHook_menu().
60  */
61  public function testHook_menu()
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  /**
70  * @covers m_dom::domains_type_lst
71  * @todo Implement testDomains_type_lst().
72  */
73  public function testDomains_type_lst()
74  {
75  // Remove the following lines when you implement this test.
76  $this->markTestIncomplete(
77  'This test has not been implemented yet.'
78  );
79  }
80 
81  /**
82  * @covers m_dom::domains_type_enable_values
83  * @todo Implement testDomains_type_enable_values().
84  */
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 m_dom::domains_type_target_values
95  * @todo Implement testDomains_type_target_values().
96  */
98  {
99  // Remove the following lines when you implement this test.
100  $this->markTestIncomplete(
101  'This test has not been implemented yet.'
102  );
103  }
104 
105  /**
106  * @covers m_dom::import_manual_dns_zone
107  * @todo Implement testImport_manual_dns_zone().
108  */
109  public function testImport_manual_dns_zone()
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  /**
118  * @covers m_dom::import_manual_dns_entry
119  * @todo Implement testImport_manual_dns_entry().
120  */
121  public function testImport_manual_dns_entry()
122  {
123  // Remove the following lines when you implement this test.
124  $this->markTestIncomplete(
125  'This test has not been implemented yet.'
126  );
127  }
128 
129  /**
130  * @covers m_dom::is_it_a_redirect
131  * @todo Implement testIs_it_a_redirect().
132  */
133  public function testIs_it_a_redirect()
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  /**
142  * @covers m_dom::domains_type_regenerate
143  * @todo Implement testDomains_type_regenerate().
144  */
145  public function testDomains_type_regenerate()
146  {
147  // Remove the following lines when you implement this test.
148  $this->markTestIncomplete(
149  'This test has not been implemented yet.'
150  );
151  }
152 
153  /**
154  * @covers m_dom::domains_type_get
155  * @todo Implement testDomains_type_get().
156  */
157  public function testDomains_type_get()
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  /**
166  * @covers m_dom::domains_type_del
167  * @todo Implement testDomains_type_del().
168  */
169  public function testDomains_type_del()
170  {
171  // Remove the following lines when you implement this test.
172  $this->markTestIncomplete(
173  'This test has not been implemented yet.'
174  );
175  }
176 
177  /**
178  * @covers m_dom::domains_type_update
179  * @todo Implement testDomains_type_update().
180  */
181  public function testDomains_type_update()
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  /**
190  * @covers m_dom::sub_domain_change_status
191  * @todo Implement testSub_domain_change_status().
192  */
194  {
195  // Remove the following lines when you implement this test.
196  $this->markTestIncomplete(
197  'This test has not been implemented yet.'
198  );
199  }
200 
201  /**
202  * @covers m_dom::enum_domains
203  * @todo Implement testEnum_domains().
204  */
205  public function testEnum_domains()
206  {
207  // Remove the following lines when you implement this test.
208  $this->markTestIncomplete(
209  'This test has not been implemented yet.'
210  );
211  }
212 
213  /**
214  * @covers m_dom::del_domain_cancel
215  * @todo Implement testDel_domain_cancel().
216  */
217  public function testDel_domain_cancel()
218  {
219  // Remove the following lines when you implement this test.
220  $this->markTestIncomplete(
221  'This test has not been implemented yet.'
222  );
223  }
224 
225  /**
226  * @covers m_dom::del_domain
227  * @todo Implement testDel_domain().
228  */
229  public function testDel_domain()
230  {
231  // Remove the following lines when you implement this test.
232  $this->markTestIncomplete(
233  'This test has not been implemented yet.'
234  );
235  }
236 
237  /**
238  * @covers m_dom::domshort
239  * @todo Implement testDomshort().
240  */
241  public function testDomshort()
242  {
243  // Remove the following lines when you implement this test.
244  $this->markTestIncomplete(
245  'This test has not been implemented yet.'
246  );
247  }
248 
249  /**
250  * @covers m_dom::add_domain
251  * @todo Implement testAdd_domain().
252  */
253  public function testAdd_domain()
254  {
255  // Remove the following lines when you implement this test.
256  $this->markTestIncomplete(
257  'This test has not been implemented yet.'
258  );
259  }
260 
261  /**
262  * @covers m_dom::create_default_subdomains
263  * @todo Implement testCreate_default_subdomains().
264  */
266  {
267  // Remove the following lines when you implement this test.
268  $this->markTestIncomplete(
269  'This test has not been implemented yet.'
270  );
271  }
272 
273  /**
274  * @covers m_dom::domdefaultdir
275  * @todo Implement testDomdefaultdir().
276  */
277  public function testDomdefaultdir()
278  {
279  // Remove the following lines when you implement this test.
280  $this->markTestIncomplete(
281  'This test has not been implemented yet.'
282  );
283  }
284 
285  /**
286  * @covers m_dom::dump_axfr
287  * @todo Implement testDump_axfr().
288  */
289  public function testDump_axfr()
290  {
291  // Remove the following lines when you implement this test.
292  $this->markTestIncomplete(
293  'This test has not been implemented yet.'
294  );
295  }
296 
297  /**
298  * @covers m_dom::lst_default_subdomains
299  * @todo Implement testLst_default_subdomains().
300  */
301  public function testLst_default_subdomains()
302  {
303  // Remove the following lines when you implement this test.
304  $this->markTestIncomplete(
305  'This test has not been implemented yet.'
306  );
307  }
308 
309  /**
310  * @covers m_dom::update_default_subdomains
311  * @todo Implement testUpdate_default_subdomains().
312  */
314  {
315  // Remove the following lines when you implement this test.
316  $this->markTestIncomplete(
317  'This test has not been implemented yet.'
318  );
319  }
320 
321  /**
322  * @covers m_dom::update_one_default
323  * @todo Implement testUpdate_one_default().
324  */
325  public function testUpdate_one_default()
326  {
327  // Remove the following lines when you implement this test.
328  $this->markTestIncomplete(
329  'This test has not been implemented yet.'
330  );
331  }
332 
333  /**
334  * @covers m_dom::del_default_type
335  * @todo Implement testDel_default_type().
336  */
337  public function testDel_default_type()
338  {
339  // Remove the following lines when you implement this test.
340  $this->markTestIncomplete(
341  'This test has not been implemented yet.'
342  );
343  }
344 
345  /**
346  * @covers m_dom::whois
347  * @todo Implement testWhois().
348  */
349  public function testWhois()
350  {
351  // Remove the following lines when you implement this test.
352  $this->markTestIncomplete(
353  'This test has not been implemented yet.'
354  );
355  }
356 
357  /**
358  * @covers m_dom::checkmx
359  * @todo Implement testCheckmx().
360  */
361  public function testCheckmx()
362  {
363  // Remove the following lines when you implement this test.
364  $this->markTestIncomplete(
365  'This test has not been implemented yet.'
366  );
367  }
368 
369  /**
370  * @covers m_dom::get_domain_all
371  * @todo Implement testGet_domain_all().
372  */
373  public function testGet_domain_all()
374  {
375  // Remove the following lines when you implement this test.
376  $this->markTestIncomplete(
377  'This test has not been implemented yet.'
378  );
379  }
380 
381  /**
382  * @covers m_dom::get_sub_domain_all
383  * @todo Implement testGet_sub_domain_all().
384  */
385  public function testGet_sub_domain_all()
386  {
387  // Remove the following lines when you implement this test.
388  $this->markTestIncomplete(
389  'This test has not been implemented yet.'
390  );
391  }
392 
393  /**
394  * @covers m_dom::check_type_value
395  * @todo Implement testCheck_type_value().
396  */
397  public function testCheck_type_value()
398  {
399  // Remove the following lines when you implement this test.
400  $this->markTestIncomplete(
401  'This test has not been implemented yet.'
402  );
403  }
404 
405  /**
406  * @covers m_dom::can_create_subdomain
407  * @todo Implement testCan_create_subdomain().
408  */
409  public function testCan_create_subdomain()
410  {
411  // Remove the following lines when you implement this test.
412  $this->markTestIncomplete(
413  'This test has not been implemented yet.'
414  );
415  }
416 
417  /**
418  * @covers m_dom::set_sub_domain
419  * @todo Implement testSet_sub_domain().
420  */
421  public function testSet_sub_domain()
422  {
423  // Remove the following lines when you implement this test.
424  $this->markTestIncomplete(
425  'This test has not been implemented yet.'
426  );
427  }
428 
429  /**
430  * @covers m_dom::del_sub_domain
431  * @todo Implement testDel_sub_domain().
432  */
433  public function testDel_sub_domain()
434  {
435  // Remove the following lines when you implement this test.
436  $this->markTestIncomplete(
437  'This test has not been implemented yet.'
438  );
439  }
440 
441  /**
442  * @covers m_dom::set_ttl
443  * @todo Implement testSet_ttl().
444  */
445  public function testSet_ttl()
446  {
447  // Remove the following lines when you implement this test.
448  $this->markTestIncomplete(
449  'This test has not been implemented yet.'
450  );
451  }
452 
453  /**
454  * @covers m_dom::edit_domain
455  * @todo Implement testEdit_domain().
456  */
457  public function testEdit_domain()
458  {
459  // Remove the following lines when you implement this test.
460  $this->markTestIncomplete(
461  'This test has not been implemented yet.'
462  );
463  }
464 
465  /**
466  * @covers m_dom::enum_slave_ip
467  * @todo Implement testEnum_slave_ip().
468  */
469  public function testEnum_slave_ip()
470  {
471  // Remove the following lines when you implement this test.
472  $this->markTestIncomplete(
473  'This test has not been implemented yet.'
474  );
475  }
476 
477  /**
478  * @covers m_dom::add_slave_ip
479  * @todo Implement testAdd_slave_ip().
480  */
481  public function testAdd_slave_ip()
482  {
483  // Remove the following lines when you implement this test.
484  $this->markTestIncomplete(
485  'This test has not been implemented yet.'
486  );
487  }
488 
489  /**
490  * @covers m_dom::del_slave_ip
491  * @todo Implement testDel_slave_ip().
492  */
493  public function testDel_slave_ip()
494  {
495  // Remove the following lines when you implement this test.
496  $this->markTestIncomplete(
497  'This test has not been implemented yet.'
498  );
499  }
500 
501  /**
502  * @covers m_dom::check_slave_account
503  * @todo Implement testCheck_slave_account().
504  */
505  public function testCheck_slave_account()
506  {
507  // Remove the following lines when you implement this test.
508  $this->markTestIncomplete(
509  'This test has not been implemented yet.'
510  );
511  }
512 
513  /**
514  * @covers m_dom::echo_domain_list
515  * @todo Implement testEcho_domain_list().
516  */
517  public function testEcho_domain_list()
518  {
519  // Remove the following lines when you implement this test.
520  $this->markTestIncomplete(
521  'This test has not been implemented yet.'
522  );
523  }
524 
525  /**
526  * @covers m_dom::get_domain_list
527  * @todo Implement testGet_domain_list().
528  */
529  public function testGet_domain_list()
530  {
531  // Remove the following lines when you implement this test.
532  $this->markTestIncomplete(
533  'This test has not been implemented yet.'
534  );
535  }
536 
537  /**
538  * @covers m_dom::get_domain_all_summary
539  * @todo Implement testGet_domain_all_summary().
540  */
541  public function testGet_domain_all_summary()
542  {
543  // Remove the following lines when you implement this test.
544  $this->markTestIncomplete(
545  'This test has not been implemented yet.'
546  );
547  }
548 
549  /**
550  * @covers m_dom::get_domain_byid
551  * @todo Implement testGet_domain_byid().
552  */
553  public function testGet_domain_byid()
554  {
555  // Remove the following lines when you implement this test.
556  $this->markTestIncomplete(
557  'This test has not been implemented yet.'
558  );
559  }
560 
561  /**
562  * @covers m_dom::get_domain_byname
563  * @todo Implement testGet_domain_byname().
564  */
565  public function testGet_domain_byname()
566  {
567  // Remove the following lines when you implement this test.
568  $this->markTestIncomplete(
569  'This test has not been implemented yet.'
570  );
571  }
572 
573  /**
574  * @covers m_dom::count_domains_all
575  * @todo Implement testCount_domains_all().
576  */
577  public function testCount_domains_all()
578  {
579  // Remove the following lines when you implement this test.
580  $this->markTestIncomplete(
581  'This test has not been implemented yet.'
582  );
583  }
584 
585  /**
586  * @covers m_dom::enum_slave_account
587  * @todo Implement testEnum_slave_account().
588  */
589  public function testEnum_slave_account()
590  {
591  // Remove the following lines when you implement this test.
592  $this->markTestIncomplete(
593  'This test has not been implemented yet.'
594  );
595  }
596 
597  /**
598  * @covers m_dom::add_slave_account
599  * @todo Implement testAdd_slave_account().
600  */
601  public function testAdd_slave_account()
602  {
603  // Remove the following lines when you implement this test.
604  $this->markTestIncomplete(
605  'This test has not been implemented yet.'
606  );
607  }
608 
609  /**
610  * @covers m_dom::del_slave_account
611  * @todo Implement testDel_slave_account().
612  */
613  public function testDel_slave_account()
614  {
615  // Remove the following lines when you implement this test.
616  $this->markTestIncomplete(
617  'This test has not been implemented yet.'
618  );
619  }
620 
621  /**
622  * @covers m_dom::lock
623  * @todo Implement testLock().
624  */
625  public function testLock()
626  {
627  // Remove the following lines when you implement this test.
628  $this->markTestIncomplete(
629  'This test has not been implemented yet.'
630  );
631  }
632 
633  /**
634  * @covers m_dom::unlock
635  * @todo Implement testUnlock().
636  */
637  public function testUnlock()
638  {
639  // Remove the following lines when you implement this test.
640  $this->markTestIncomplete(
641  'This test has not been implemented yet.'
642  );
643  }
644 
645  /**
646  * @covers m_dom::hook_dom_add_mx_domain
647  * @todo Implement testHook_dom_add_mx_domain().
648  */
649  public function testHook_dom_add_mx_domain()
650  {
651  // Remove the following lines when you implement this test.
652  $this->markTestIncomplete(
653  'This test has not been implemented yet.'
654  );
655  }
656 
657  /**
658  * @covers m_dom::hook_admin_del_member
659  * @todo Implement testHook_admin_del_member().
660  */
661  public function testHook_admin_del_member()
662  {
663  // Remove the following lines when you implement this test.
664  $this->markTestIncomplete(
665  'This test has not been implemented yet.'
666  );
667  }
668 
669  /**
670  * @covers m_dom::hook_quota_get
671  * @todo Implement testHook_quota_get().
672  */
673  public function testHook_quota_get()
674  {
675  // Remove the following lines when you implement this test.
676  $this->markTestIncomplete(
677  'This test has not been implemented yet.'
678  );
679  }
680 
681  /**
682  * @covers m_dom::alternc_export_conf
683  * @todo Implement testAlternc_export_conf().
684  */
685  public function testAlternc_export_conf()
686  {
687  // Remove the following lines when you implement this test.
688  $this->markTestIncomplete(
689  'This test has not been implemented yet.'
690  );
691  }
692 
693 
694  /**
695  * @covers m_dom::get_problems
696  * @todo Implement testGet_problems().
697  */
698  public function testGet_problems()
699  {
700  // Remove the following lines when you implement this test.
701  $this->markTestIncomplete(
702  'This test has not been implemented yet.'
703  );
704  }
705 
706  /**
707  * @covers m_dom::default_domain_type
708  * @todo Implement testDefault_domain_type().
709  */
710  public function testDefault_domain_type()
711  {
712  // Remove the following lines when you implement this test.
713  $this->markTestIncomplete(
714  'This test has not been implemented yet.'
715  );
716  }
717 }
Classe de gestion des domaines de l'hébergé.
Definition: m_dom.php:31
setUp()
Sets up the fixture, for example, opens a network connection.
Definition: m_domTest.php:18
testGet_domain_byname()
@covers m_dom::get_domain_byname
Definition: m_domTest.php:565
testSet_ttl()
@covers m_dom::set_ttl
Definition: m_domTest.php:445
testSub_domain_change_status()
@covers m_dom::sub_domain_change_status
Definition: m_domTest.php:193
testLock()
@covers m_dom::lock
Definition: m_domTest.php:625
testEnum_slave_account()
@covers m_dom::enum_slave_account
Definition: m_domTest.php:589
testGet_domain_all_summary()
@covers m_dom::get_domain_all_summary
Definition: m_domTest.php:541
testImport_manual_dns_entry()
@covers m_dom::import_manual_dns_entry
Definition: m_domTest.php:121
testDomains_type_target_values()
@covers m_dom::domains_type_target_values
Definition: m_domTest.php:97
testEdit_domain()
@covers m_dom::edit_domain
Definition: m_domTest.php:457
testCan_create_subdomain()
@covers m_dom::can_create_subdomain
Definition: m_domTest.php:409
testDel_slave_ip()
@covers m_dom::del_slave_ip
Definition: m_domTest.php:493
testDel_default_type()
@covers m_dom::del_default_type
Definition: m_domTest.php:337
testEnum_slave_ip()
@covers m_dom::enum_slave_ip
Definition: m_domTest.php:469
testDomains_type_lst()
@covers m_dom::domains_type_lst
Definition: m_domTest.php:73
testDomshort()
@covers m_dom::domshort
Definition: m_domTest.php:241
testLst_default_subdomains()
@covers m_dom::lst_default_subdomains
Definition: m_domTest.php:301
testUpdate_default_subdomains()
@covers m_dom::update_default_subdomains
Definition: m_domTest.php:313
testAlternc_export_conf()
@covers m_dom::alternc_export_conf
Definition: m_domTest.php:685
testCheckmx()
@covers m_dom::checkmx
Definition: m_domTest.php:361
testDel_slave_account()
@covers m_dom::del_slave_account
Definition: m_domTest.php:613
testCreate_default_subdomains()
@covers m_dom::create_default_subdomains
Definition: m_domTest.php:265
testAdd_domain()
@covers m_dom::add_domain
Definition: m_domTest.php:253
testHook_menu()
@covers m_dom::hook_menu
Definition: m_domTest.php:61
testUpdate_one_default()
@covers m_dom::update_one_default
Definition: m_domTest.php:325
testDomains_type_regenerate()
@covers m_dom::domains_type_regenerate
Definition: m_domTest.php:145
testDump_axfr()
@covers m_dom::dump_axfr
Definition: m_domTest.php:289
testImport_manual_dns_zone()
@covers m_dom::import_manual_dns_zone
Definition: m_domTest.php:109
testGet_domain_all()
@covers m_dom::get_domain_all
Definition: m_domTest.php:373
testCheck_type_value()
@covers m_dom::check_type_value
Definition: m_domTest.php:397
testHook_quota_get()
@covers m_dom::hook_quota_get
Definition: m_domTest.php:673
testDel_domain_cancel()
@covers m_dom::del_domain_cancel
Definition: m_domTest.php:217
testDomains_type_del()
@covers m_dom::domains_type_del
Definition: m_domTest.php:169
testGet_domain_list()
@covers m_dom::get_domain_list
Definition: m_domTest.php:529
testDefault_domain_type()
@covers m_dom::default_domain_type
Definition: m_domTest.php:710
testSet_sub_domain()
@covers m_dom::set_sub_domain
Definition: m_domTest.php:421
testWhois()
@covers m_dom::whois
Definition: m_domTest.php:349
testDomains_type_update()
@covers m_dom::domains_type_update
Definition: m_domTest.php:181
testEnum_domains()
@covers m_dom::enum_domains
Definition: m_domTest.php:205
testCount_domains_all()
@covers m_dom::count_domains_all
Definition: m_domTest.php:577
testDomains_type_get()
@covers m_dom::domains_type_get
Definition: m_domTest.php:157
testHook_dom_add_mx_domain()
@covers m_dom::hook_dom_add_mx_domain
Definition: m_domTest.php:649
testDomains_type_enable_values()
@covers m_dom::domains_type_enable_values
Definition: m_domTest.php:85
testGet_problems()
@covers m_dom::get_problems
Definition: m_domTest.php:698
testDomdefaultdir()
@covers m_dom::domdefaultdir
Definition: m_domTest.php:277
testDel_domain()
@covers m_dom::del_domain
Definition: m_domTest.php:229
testGet_sub_domain_all()
@covers m_dom::get_sub_domain_all
Definition: m_domTest.php:385
testUnlock()
@covers m_dom::unlock
Definition: m_domTest.php:637
testHook_admin_del_member()
@covers m_dom::hook_admin_del_member
Definition: m_domTest.php:661
testGet_sub_domain_id_and_member_by_name()
@covers m_dom::get_sub_domain_id_and_member_by_name
Definition: m_domTest.php:49
tearDown()
Tears down the fixture, for example, closes a network connection.
Definition: m_domTest.php:28
testAdd_slave_account()
@covers m_dom::add_slave_account
Definition: m_domTest.php:601
testCheck_slave_account()
@covers m_dom::check_slave_account
Definition: m_domTest.php:505
testIs_it_a_redirect()
@covers m_dom::is_it_a_redirect
Definition: m_domTest.php:133
testAdd_slave_ip()
@covers m_dom::add_slave_ip
Definition: m_domTest.php:481
testEcho_domain_list()
@covers m_dom::echo_domain_list
Definition: m_domTest.php:517
testDel_sub_domain()
@covers m_dom::del_sub_domain
Definition: m_domTest.php:433
testGet_domain_byid()
@covers m_dom::get_domain_byid
Definition: m_domTest.php:553
testGet_panel_url_list()
@covers m_dom::get_panel_url_list
Definition: m_domTest.php:37