Alternc  latest
Alternc logiel libre pour l'hébergement
m_quotaTest.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:59.
4  */
5 use PHPUnit\Framework\TestCase;
6 
7 class m_quotaTest extends TestCase
8 {
9  /**
10  * @var m_quota
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_quota;
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_quota::hook_menu
35  * @todo Implement testHook_menu().
36  */
37  public function testHook_menu()
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_quota::cancreate
47  * @todo Implement testCancreate().
48  */
49  public function testCancreate()
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_quota::qlist
59  * @todo Implement testQlist().
60  */
61  public function testQlist()
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_quota::synchronise_user_profile
71  * @todo Implement testSynchronise_user_profile().
72  */
73  public function testSynchronise_user_profile()
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_quota::create_missing_quota_profile
83  * @todo Implement testCreate_missing_quota_profile().
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_quota::getquota
95  * @todo Implement testGetquota().
96  */
97  public function testGetquota()
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_quota::setquota
107  * @todo Implement testSetquota().
108  */
109  public function testSetquota()
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_quota::delquotas
119  * @todo Implement testDelquotas().
120  */
121  public function testDelquotas()
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_quota::getdefaults
131  * @todo Implement testGetdefaults().
132  */
133  public function testGetdefaults()
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_quota::setdefaults
143  * @todo Implement testSetdefaults().
144  */
145  public function testSetdefaults()
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_quota::addtype
155  * @todo Implement testAddtype().
156  */
157  public function testAddtype()
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_quota::listtype
167  * @todo Implement testListtype().
168  */
169  public function testListtype()
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_quota::deltype
179  * @todo Implement testDeltype().
180  */
181  public function testDeltype()
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_quota::addquotas
191  * @todo Implement testAddquotas().
192  */
193  public function testAddquotas()
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_quota::display_val
203  * @todo Implement testDisplay_val().
204  */
205  public function testDisplay_val()
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_quota::_get_sum_sql
215  * @todo Implement test_get_sum_sql().
216  */
217  public function test_get_sum_sql()
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_quota::_get_count_sql
227  * @todo Implement test_get_count_sql().
228  */
229  public function test_get_count_sql()
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_quota::_get_size_and_record_sql
239  * @todo Implement test_get_size_and_record_sql().
240  */
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_quota::get_size_web_sum_all
251  * @todo Implement testGet_size_web_sum_all().
252  */
253  public function testGet_size_web_sum_all()
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_quota::get_size_web_sum_user
263  * @todo Implement testGet_size_web_sum_user().
264  */
265  public function testGet_size_web_sum_user()
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_quota::get_size_mail_sum_all
275  * @todo Implement testGet_size_mail_sum_all().
276  */
277  public function testGet_size_mail_sum_all()
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_quota::get_size_mail_sum_domain
287  * @todo Implement testGet_size_mail_sum_domain().
288  */
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_quota::get_size_mail_count_all
299  * @todo Implement testGet_size_mail_count_all().
300  */
301  public function testGet_size_mail_count_all()
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_quota::get_size_mail_count_domain
311  * @todo Implement testGet_size_mail_count_domain().
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_quota::get_size_mail_details_domain
323  * @todo Implement testGet_size_mail_details_domain().
324  */
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_quota::get_size_mailman_sum_all
335  * @todo Implement testGet_size_mailman_sum_all().
336  */
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_quota::get_size_mailman_sum_domain
347  * @todo Implement testGet_size_mailman_sum_domain().
348  */
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_quota::get_size_mailman_sum_user
359  * @todo Implement testGet_size_mailman_sum_user().
360  */
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_quota::get_size_mailman_count_all
371  * @todo Implement testGet_size_mailman_count_all().
372  */
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_quota::get_size_mailman_count_user
383  * @todo Implement testGet_size_mailman_count_user().
384  */
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_quota::get_size_mailman_details_user
395  * @todo Implement testGet_size_mailman_details_user().
396  */
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_quota::get_size_db_sum_all
407  * @todo Implement testGet_size_db_sum_all().
408  */
409  public function testGet_size_db_sum_all()
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_quota::get_size_db_sum_user
419  * @todo Implement testGet_size_db_sum_user().
420  */
421  public function testGet_size_db_sum_user()
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_quota::get_size_db_count_all
431  * @todo Implement testGet_size_db_count_all().
432  */
433  public function testGet_size_db_count_all()
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_quota::get_size_db_count_user
443  * @todo Implement testGet_size_db_count_user().
444  */
445  public function testGet_size_db_count_user()
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_quota::get_size_db_details_user
455  * @todo Implement testGet_size_db_details_user().
456  */
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_quota::get_size_unit
467  * @todo Implement testGet_size_unit().
468  */
469  public function testGet_size_unit()
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_quota::quota_displaybar
479  * @todo Implement testQuota_displaybar().
480  */
481  public function testQuota_displaybar()
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_quota::hook_admin_del_member
491  * @todo Implement testHook_admin_del_member().
492  */
493  public function testHook_admin_del_member()
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_quota::hook_admin_add_member
503  * @todo Implement testHook_admin_add_member().
504  */
505  public function testHook_admin_add_member()
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_quota::alternc_export_conf
515  * @todo Implement testAlternc_export_conf().
516  */
517  public function testAlternc_export_conf()
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 }
Class for hosting quotas management.
Definition: m_quota.php:34
testSetdefaults()
@covers m_quota::setdefaults
testDisplay_val()
@covers m_quota::display_val
testGet_size_mailman_sum_all()
@covers m_quota::get_size_mailman_sum_all
testQlist()
@covers m_quota::qlist
Definition: m_quotaTest.php:61
testSetquota()
@covers m_quota::setquota
testGet_size_mailman_details_user()
@covers m_quota::get_size_mailman_details_user
testAlternc_export_conf()
@covers m_quota::alternc_export_conf
testGet_size_mailman_count_user()
@covers m_quota::get_size_mailman_count_user
testHook_menu()
@covers m_quota::hook_menu
Definition: m_quotaTest.php:37
testGet_size_mail_sum_domain()
@covers m_quota::get_size_mail_sum_domain
testDelquotas()
@covers m_quota::delquotas
testGet_size_mailman_count_all()
@covers m_quota::get_size_mailman_count_all
testGet_size_db_count_all()
@covers m_quota::get_size_db_count_all
testHook_admin_add_member()
@covers m_quota::hook_admin_add_member
testGet_size_mail_count_domain()
@covers m_quota::get_size_mail_count_domain
testAddquotas()
@covers m_quota::addquotas
testSynchronise_user_profile()
@covers m_quota::synchronise_user_profile
Definition: m_quotaTest.php:73
testGet_size_db_details_user()
@covers m_quota::get_size_db_details_user
testAddtype()
@covers m_quota::addtype
testGet_size_web_sum_user()
@covers m_quota::get_size_web_sum_user
testGet_size_unit()
@covers m_quota::get_size_unit
testGet_size_mailman_sum_user()
@covers m_quota::get_size_mailman_sum_user
testDeltype()
@covers m_quota::deltype
testHook_admin_del_member()
@covers m_quota::hook_admin_del_member
testListtype()
@covers m_quota::listtype
tearDown()
Tears down the fixture, for example, closes a network connection.
Definition: m_quotaTest.php:28
testCancreate()
@covers m_quota::cancreate
Definition: m_quotaTest.php:49
testQuota_displaybar()
@covers m_quota::quota_displaybar
testGet_size_mailman_sum_domain()
@covers m_quota::get_size_mailman_sum_domain
testGet_size_mail_sum_all()
@covers m_quota::get_size_mail_sum_all
testCreate_missing_quota_profile()
@covers m_quota::create_missing_quota_profile
Definition: m_quotaTest.php:85
testGet_size_db_sum_user()
@covers m_quota::get_size_db_sum_user
testGet_size_db_count_user()
@covers m_quota::get_size_db_count_user
test_get_sum_sql()
@covers m_quota::_get_sum_sql
testGet_size_mail_count_all()
@covers m_quota::get_size_mail_count_all
test_get_size_and_record_sql()
@covers m_quota::_get_size_and_record_sql
testGetdefaults()
@covers m_quota::getdefaults
testGet_size_db_sum_all()
@covers m_quota::get_size_db_sum_all
setUp()
Sets up the fixture, for example, opens a network connection.
Definition: m_quotaTest.php:18
testGetquota()
@covers m_quota::getquota
Definition: m_quotaTest.php:97
test_get_count_sql()
@covers m_quota::_get_count_sql
testGet_size_web_sum_all()
@covers m_quota::get_size_web_sum_all
testGet_size_mail_details_domain()
@covers m_quota::get_size_mail_details_domain