Alternc  latest
Alternc logiel libre pour l'hébergement
m_quotaTest Class Reference
+ Inheritance diagram for m_quotaTest:

Public Member Functions

 testHook_menu ()
 @covers m_quota::hook_menu More...
 
 testCancreate ()
 @covers m_quota::cancreate More...
 
 testQlist ()
 @covers m_quota::qlist More...
 
 testSynchronise_user_profile ()
 @covers m_quota::synchronise_user_profile More...
 
 testCreate_missing_quota_profile ()
 @covers m_quota::create_missing_quota_profile More...
 
 testGetquota ()
 @covers m_quota::getquota More...
 
 testSetquota ()
 @covers m_quota::setquota More...
 
 testDelquotas ()
 @covers m_quota::delquotas More...
 
 testGetdefaults ()
 @covers m_quota::getdefaults More...
 
 testSetdefaults ()
 @covers m_quota::setdefaults More...
 
 testAddtype ()
 @covers m_quota::addtype More...
 
 testListtype ()
 @covers m_quota::listtype More...
 
 testDeltype ()
 @covers m_quota::deltype More...
 
 testAddquotas ()
 @covers m_quota::addquotas More...
 
 testDisplay_val ()
 @covers m_quota::display_val More...
 
 test_get_sum_sql ()
 @covers m_quota::_get_sum_sql More...
 
 test_get_count_sql ()
 @covers m_quota::_get_count_sql More...
 
 test_get_size_and_record_sql ()
 @covers m_quota::_get_size_and_record_sql More...
 
 testGet_size_web_sum_all ()
 @covers m_quota::get_size_web_sum_all More...
 
 testGet_size_web_sum_user ()
 @covers m_quota::get_size_web_sum_user More...
 
 testGet_size_mail_sum_all ()
 @covers m_quota::get_size_mail_sum_all More...
 
 testGet_size_mail_sum_domain ()
 @covers m_quota::get_size_mail_sum_domain More...
 
 testGet_size_mail_count_all ()
 @covers m_quota::get_size_mail_count_all More...
 
 testGet_size_mail_count_domain ()
 @covers m_quota::get_size_mail_count_domain More...
 
 testGet_size_mail_details_domain ()
 @covers m_quota::get_size_mail_details_domain More...
 
 testGet_size_mailman_sum_all ()
 @covers m_quota::get_size_mailman_sum_all More...
 
 testGet_size_mailman_sum_domain ()
 @covers m_quota::get_size_mailman_sum_domain More...
 
 testGet_size_mailman_sum_user ()
 @covers m_quota::get_size_mailman_sum_user More...
 
 testGet_size_mailman_count_all ()
 @covers m_quota::get_size_mailman_count_all More...
 
 testGet_size_mailman_count_user ()
 @covers m_quota::get_size_mailman_count_user More...
 
 testGet_size_mailman_details_user ()
 @covers m_quota::get_size_mailman_details_user More...
 
 testGet_size_db_sum_all ()
 @covers m_quota::get_size_db_sum_all More...
 
 testGet_size_db_sum_user ()
 @covers m_quota::get_size_db_sum_user More...
 
 testGet_size_db_count_all ()
 @covers m_quota::get_size_db_count_all More...
 
 testGet_size_db_count_user ()
 @covers m_quota::get_size_db_count_user More...
 
 testGet_size_db_details_user ()
 @covers m_quota::get_size_db_details_user More...
 
 testGet_size_unit ()
 @covers m_quota::get_size_unit More...
 
 testQuota_displaybar ()
 @covers m_quota::quota_displaybar More...
 
 testHook_admin_del_member ()
 @covers m_quota::hook_admin_del_member More...
 
 testHook_admin_add_member ()
 @covers m_quota::hook_admin_add_member More...
 
 testAlternc_export_conf ()
 @covers m_quota::alternc_export_conf More...
 

Protected Member Functions

 setUp ()
 Sets up the fixture, for example, opens a network connection. More...
 
 tearDown ()
 Tears down the fixture, for example, closes a network connection. More...
 

Protected Attributes

 $object
 

Detailed Description

Definition at line 7 of file m_quotaTest.php.

Member Function Documentation

◆ setUp()

m_quotaTest::setUp ( )
protected

Sets up the fixture, for example, opens a network connection.

This method is called before a test is executed.

Definition at line 18 of file m_quotaTest.php.

19  {
20  parent::setUp();
21  $this->object = new m_quota;
22  }
Class for hosting quotas management.
Definition: m_quota.php:34

◆ tearDown()

m_quotaTest::tearDown ( )
protected

Tears down the fixture, for example, closes a network connection.

This method is called after a test is executed.

Definition at line 28 of file m_quotaTest.php.

29  {
30  parent::tearDown();
31  }

◆ test_get_count_sql()

m_quotaTest::test_get_count_sql ( )

@covers m_quota::_get_count_sql

Todo:
Implement test_get_count_sql().

Definition at line 229 of file m_quotaTest.php.

230  {
231  // Remove the following lines when you implement this test.
232  $this->markTestIncomplete(
233  'This test has not been implemented yet.'
234  );
235  }

◆ test_get_size_and_record_sql()

m_quotaTest::test_get_size_and_record_sql ( )

@covers m_quota::_get_size_and_record_sql

Todo:
Implement test_get_size_and_record_sql().

Definition at line 241 of file m_quotaTest.php.

242  {
243  // Remove the following lines when you implement this test.
244  $this->markTestIncomplete(
245  'This test has not been implemented yet.'
246  );
247  }

◆ test_get_sum_sql()

m_quotaTest::test_get_sum_sql ( )

@covers m_quota::_get_sum_sql

Todo:
Implement test_get_sum_sql().

Definition at line 217 of file m_quotaTest.php.

218  {
219  // Remove the following lines when you implement this test.
220  $this->markTestIncomplete(
221  'This test has not been implemented yet.'
222  );
223  }

◆ testAddquotas()

m_quotaTest::testAddquotas ( )

@covers m_quota::addquotas

Todo:
Implement testAddquotas().

Definition at line 193 of file m_quotaTest.php.

194  {
195  // Remove the following lines when you implement this test.
196  $this->markTestIncomplete(
197  'This test has not been implemented yet.'
198  );
199  }

◆ testAddtype()

m_quotaTest::testAddtype ( )

@covers m_quota::addtype

Todo:
Implement testAddtype().

Definition at line 157 of file m_quotaTest.php.

158  {
159  // Remove the following lines when you implement this test.
160  $this->markTestIncomplete(
161  'This test has not been implemented yet.'
162  );
163  }

◆ testAlternc_export_conf()

m_quotaTest::testAlternc_export_conf ( )

@covers m_quota::alternc_export_conf

Todo:
Implement testAlternc_export_conf().

Definition at line 517 of file m_quotaTest.php.

518  {
519  // Remove the following lines when you implement this test.
520  $this->markTestIncomplete(
521  'This test has not been implemented yet.'
522  );
523  }

◆ testCancreate()

m_quotaTest::testCancreate ( )

@covers m_quota::cancreate

Todo:
Implement testCancreate().

Definition at line 49 of file m_quotaTest.php.

50  {
51  // Remove the following lines when you implement this test.
52  $this->markTestIncomplete(
53  'This test has not been implemented yet.'
54  );
55  }

◆ testCreate_missing_quota_profile()

m_quotaTest::testCreate_missing_quota_profile ( )

@covers m_quota::create_missing_quota_profile

Todo:
Implement testCreate_missing_quota_profile().

Definition at line 85 of file m_quotaTest.php.

86  {
87  // Remove the following lines when you implement this test.
88  $this->markTestIncomplete(
89  'This test has not been implemented yet.'
90  );
91  }

◆ testDelquotas()

m_quotaTest::testDelquotas ( )

@covers m_quota::delquotas

Todo:
Implement testDelquotas().

Definition at line 121 of file m_quotaTest.php.

122  {
123  // Remove the following lines when you implement this test.
124  $this->markTestIncomplete(
125  'This test has not been implemented yet.'
126  );
127  }

◆ testDeltype()

m_quotaTest::testDeltype ( )

@covers m_quota::deltype

Todo:
Implement testDeltype().

Definition at line 181 of file m_quotaTest.php.

182  {
183  // Remove the following lines when you implement this test.
184  $this->markTestIncomplete(
185  'This test has not been implemented yet.'
186  );
187  }

◆ testDisplay_val()

m_quotaTest::testDisplay_val ( )

@covers m_quota::display_val

Todo:
Implement testDisplay_val().

Definition at line 205 of file m_quotaTest.php.

206  {
207  // Remove the following lines when you implement this test.
208  $this->markTestIncomplete(
209  'This test has not been implemented yet.'
210  );
211  }

◆ testGet_size_db_count_all()

m_quotaTest::testGet_size_db_count_all ( )

@covers m_quota::get_size_db_count_all

Todo:
Implement testGet_size_db_count_all().

Definition at line 433 of file m_quotaTest.php.

434  {
435  // Remove the following lines when you implement this test.
436  $this->markTestIncomplete(
437  'This test has not been implemented yet.'
438  );
439  }

◆ testGet_size_db_count_user()

m_quotaTest::testGet_size_db_count_user ( )

@covers m_quota::get_size_db_count_user

Todo:
Implement testGet_size_db_count_user().

Definition at line 445 of file m_quotaTest.php.

446  {
447  // Remove the following lines when you implement this test.
448  $this->markTestIncomplete(
449  'This test has not been implemented yet.'
450  );
451  }

◆ testGet_size_db_details_user()

m_quotaTest::testGet_size_db_details_user ( )

@covers m_quota::get_size_db_details_user

Todo:
Implement testGet_size_db_details_user().

Definition at line 457 of file m_quotaTest.php.

458  {
459  // Remove the following lines when you implement this test.
460  $this->markTestIncomplete(
461  'This test has not been implemented yet.'
462  );
463  }

◆ testGet_size_db_sum_all()

m_quotaTest::testGet_size_db_sum_all ( )

@covers m_quota::get_size_db_sum_all

Todo:
Implement testGet_size_db_sum_all().

Definition at line 409 of file m_quotaTest.php.

410  {
411  // Remove the following lines when you implement this test.
412  $this->markTestIncomplete(
413  'This test has not been implemented yet.'
414  );
415  }

◆ testGet_size_db_sum_user()

m_quotaTest::testGet_size_db_sum_user ( )

@covers m_quota::get_size_db_sum_user

Todo:
Implement testGet_size_db_sum_user().

Definition at line 421 of file m_quotaTest.php.

422  {
423  // Remove the following lines when you implement this test.
424  $this->markTestIncomplete(
425  'This test has not been implemented yet.'
426  );
427  }

◆ testGet_size_mail_count_all()

m_quotaTest::testGet_size_mail_count_all ( )

@covers m_quota::get_size_mail_count_all

Todo:
Implement testGet_size_mail_count_all().

Definition at line 301 of file m_quotaTest.php.

302  {
303  // Remove the following lines when you implement this test.
304  $this->markTestIncomplete(
305  'This test has not been implemented yet.'
306  );
307  }

◆ testGet_size_mail_count_domain()

m_quotaTest::testGet_size_mail_count_domain ( )

@covers m_quota::get_size_mail_count_domain

Todo:
Implement testGet_size_mail_count_domain().

Definition at line 313 of file m_quotaTest.php.

314  {
315  // Remove the following lines when you implement this test.
316  $this->markTestIncomplete(
317  'This test has not been implemented yet.'
318  );
319  }

◆ testGet_size_mail_details_domain()

m_quotaTest::testGet_size_mail_details_domain ( )

@covers m_quota::get_size_mail_details_domain

Todo:
Implement testGet_size_mail_details_domain().

Definition at line 325 of file m_quotaTest.php.

326  {
327  // Remove the following lines when you implement this test.
328  $this->markTestIncomplete(
329  'This test has not been implemented yet.'
330  );
331  }

◆ testGet_size_mail_sum_all()

m_quotaTest::testGet_size_mail_sum_all ( )

@covers m_quota::get_size_mail_sum_all

Todo:
Implement testGet_size_mail_sum_all().

Definition at line 277 of file m_quotaTest.php.

278  {
279  // Remove the following lines when you implement this test.
280  $this->markTestIncomplete(
281  'This test has not been implemented yet.'
282  );
283  }

◆ testGet_size_mail_sum_domain()

m_quotaTest::testGet_size_mail_sum_domain ( )

@covers m_quota::get_size_mail_sum_domain

Todo:
Implement testGet_size_mail_sum_domain().

Definition at line 289 of file m_quotaTest.php.

290  {
291  // Remove the following lines when you implement this test.
292  $this->markTestIncomplete(
293  'This test has not been implemented yet.'
294  );
295  }

◆ testGet_size_mailman_count_all()

m_quotaTest::testGet_size_mailman_count_all ( )

@covers m_quota::get_size_mailman_count_all

Todo:
Implement testGet_size_mailman_count_all().

Definition at line 373 of file m_quotaTest.php.

374  {
375  // Remove the following lines when you implement this test.
376  $this->markTestIncomplete(
377  'This test has not been implemented yet.'
378  );
379  }

◆ testGet_size_mailman_count_user()

m_quotaTest::testGet_size_mailman_count_user ( )

@covers m_quota::get_size_mailman_count_user

Todo:
Implement testGet_size_mailman_count_user().

Definition at line 385 of file m_quotaTest.php.

386  {
387  // Remove the following lines when you implement this test.
388  $this->markTestIncomplete(
389  'This test has not been implemented yet.'
390  );
391  }

◆ testGet_size_mailman_details_user()

m_quotaTest::testGet_size_mailman_details_user ( )

@covers m_quota::get_size_mailman_details_user

Todo:
Implement testGet_size_mailman_details_user().

Definition at line 397 of file m_quotaTest.php.

398  {
399  // Remove the following lines when you implement this test.
400  $this->markTestIncomplete(
401  'This test has not been implemented yet.'
402  );
403  }

◆ testGet_size_mailman_sum_all()

m_quotaTest::testGet_size_mailman_sum_all ( )

@covers m_quota::get_size_mailman_sum_all

Todo:
Implement testGet_size_mailman_sum_all().

Definition at line 337 of file m_quotaTest.php.

338  {
339  // Remove the following lines when you implement this test.
340  $this->markTestIncomplete(
341  'This test has not been implemented yet.'
342  );
343  }

◆ testGet_size_mailman_sum_domain()

m_quotaTest::testGet_size_mailman_sum_domain ( )

@covers m_quota::get_size_mailman_sum_domain

Todo:
Implement testGet_size_mailman_sum_domain().

Definition at line 349 of file m_quotaTest.php.

350  {
351  // Remove the following lines when you implement this test.
352  $this->markTestIncomplete(
353  'This test has not been implemented yet.'
354  );
355  }

◆ testGet_size_mailman_sum_user()

m_quotaTest::testGet_size_mailman_sum_user ( )

@covers m_quota::get_size_mailman_sum_user

Todo:
Implement testGet_size_mailman_sum_user().

Definition at line 361 of file m_quotaTest.php.

362  {
363  // Remove the following lines when you implement this test.
364  $this->markTestIncomplete(
365  'This test has not been implemented yet.'
366  );
367  }

◆ testGet_size_unit()

m_quotaTest::testGet_size_unit ( )

@covers m_quota::get_size_unit

Todo:
Implement testGet_size_unit().

Definition at line 469 of file m_quotaTest.php.

470  {
471  // Remove the following lines when you implement this test.
472  $this->markTestIncomplete(
473  'This test has not been implemented yet.'
474  );
475  }

◆ testGet_size_web_sum_all()

m_quotaTest::testGet_size_web_sum_all ( )

@covers m_quota::get_size_web_sum_all

Todo:
Implement testGet_size_web_sum_all().

Definition at line 253 of file m_quotaTest.php.

254  {
255  // Remove the following lines when you implement this test.
256  $this->markTestIncomplete(
257  'This test has not been implemented yet.'
258  );
259  }

◆ testGet_size_web_sum_user()

m_quotaTest::testGet_size_web_sum_user ( )

@covers m_quota::get_size_web_sum_user

Todo:
Implement testGet_size_web_sum_user().

Definition at line 265 of file m_quotaTest.php.

266  {
267  // Remove the following lines when you implement this test.
268  $this->markTestIncomplete(
269  'This test has not been implemented yet.'
270  );
271  }

◆ testGetdefaults()

m_quotaTest::testGetdefaults ( )

@covers m_quota::getdefaults

Todo:
Implement testGetdefaults().

Definition at line 133 of file m_quotaTest.php.

134  {
135  // Remove the following lines when you implement this test.
136  $this->markTestIncomplete(
137  'This test has not been implemented yet.'
138  );
139  }

◆ testGetquota()

m_quotaTest::testGetquota ( )

@covers m_quota::getquota

Todo:
Implement testGetquota().

Definition at line 97 of file m_quotaTest.php.

98  {
99  // Remove the following lines when you implement this test.
100  $this->markTestIncomplete(
101  'This test has not been implemented yet.'
102  );
103  }

◆ testHook_admin_add_member()

m_quotaTest::testHook_admin_add_member ( )

@covers m_quota::hook_admin_add_member

Todo:
Implement testHook_admin_add_member().

Definition at line 505 of file m_quotaTest.php.

506  {
507  // Remove the following lines when you implement this test.
508  $this->markTestIncomplete(
509  'This test has not been implemented yet.'
510  );
511  }

◆ testHook_admin_del_member()

m_quotaTest::testHook_admin_del_member ( )

@covers m_quota::hook_admin_del_member

Todo:
Implement testHook_admin_del_member().

Definition at line 493 of file m_quotaTest.php.

494  {
495  // Remove the following lines when you implement this test.
496  $this->markTestIncomplete(
497  'This test has not been implemented yet.'
498  );
499  }

◆ testHook_menu()

m_quotaTest::testHook_menu ( )

@covers m_quota::hook_menu

Todo:
Implement testHook_menu().

Definition at line 37 of file m_quotaTest.php.

38  {
39  // Remove the following lines when you implement this test.
40  $this->markTestIncomplete(
41  'This test has not been implemented yet.'
42  );
43  }

◆ testListtype()

m_quotaTest::testListtype ( )

@covers m_quota::listtype

Todo:
Implement testListtype().

Definition at line 169 of file m_quotaTest.php.

170  {
171  // Remove the following lines when you implement this test.
172  $this->markTestIncomplete(
173  'This test has not been implemented yet.'
174  );
175  }

◆ testQlist()

m_quotaTest::testQlist ( )

@covers m_quota::qlist

Todo:
Implement testQlist().

Definition at line 61 of file m_quotaTest.php.

62  {
63  // Remove the following lines when you implement this test.
64  $this->markTestIncomplete(
65  'This test has not been implemented yet.'
66  );
67  }

◆ testQuota_displaybar()

m_quotaTest::testQuota_displaybar ( )

@covers m_quota::quota_displaybar

Todo:
Implement testQuota_displaybar().

Definition at line 481 of file m_quotaTest.php.

482  {
483  // Remove the following lines when you implement this test.
484  $this->markTestIncomplete(
485  'This test has not been implemented yet.'
486  );
487  }

◆ testSetdefaults()

m_quotaTest::testSetdefaults ( )

@covers m_quota::setdefaults

Todo:
Implement testSetdefaults().

Definition at line 145 of file m_quotaTest.php.

146  {
147  // Remove the following lines when you implement this test.
148  $this->markTestIncomplete(
149  'This test has not been implemented yet.'
150  );
151  }

◆ testSetquota()

m_quotaTest::testSetquota ( )

@covers m_quota::setquota

Todo:
Implement testSetquota().

Definition at line 109 of file m_quotaTest.php.

110  {
111  // Remove the following lines when you implement this test.
112  $this->markTestIncomplete(
113  'This test has not been implemented yet.'
114  );
115  }

◆ testSynchronise_user_profile()

m_quotaTest::testSynchronise_user_profile ( )

@covers m_quota::synchronise_user_profile

Todo:
Implement testSynchronise_user_profile().

Definition at line 73 of file m_quotaTest.php.

74  {
75  // Remove the following lines when you implement this test.
76  $this->markTestIncomplete(
77  'This test has not been implemented yet.'
78  );
79  }

Member Data Documentation

◆ $object

m_quotaTest::$object
protected

Definition at line 12 of file m_quotaTest.php.


The documentation for this class was generated from the following file: