Alternc  latest
Alternc logiel libre pour l'hébergement
 All Classes Namespaces Files Functions Variables Pages
m_ftpTest Class Reference

Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58. More...

+ Inheritance diagram for m_ftpTest:

Public Member Functions

 testAlternc_password_policy ()
 m_ftp::alternc_password_policy More...
 
 testHook_menu ()
 m_ftp::hook_menu More...
 
 testAuthip_class ()
 m_ftp::authip_class More...
 
 testSwitch_enabled ()
 m_ftp::switch_enabled More...
 
 testGet_list ()
 m_ftp::get_list More...
 
 testGet_ftp_details ()
 m_ftp::get_ftp_details More...
 
 testPrefix_list ()
 m_ftp::prefix_list More...
 
 testCheck_login ()
 m_ftp::check_login More...
 
 testSelect_prefix_list ()
 m_ftp::select_prefix_list More...
 
 testPut_ftp_details ()
 m_ftp::put_ftp_details More...
 
 testDelete_ftp ()
 m_ftp::delete_ftp More...
 
 testAdd_ftp ()
 m_ftp::add_ftp More...
 
 testIs_ftp ()
 m_ftp::is_ftp More...
 
 testAlternc_del_domain ()
 m_ftp::alternc_del_domain More...
 
 testAlternc_del_member ()
 m_ftp::alternc_del_member More...
 
 testHook_quota_get ()
 m_ftp::hook_quota_get More...
 
 testAlternc_export_conf ()
 m_ftp::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

Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.

Definition at line 5 of file m_ftpTest.php.

Member Function Documentation

m_ftpTest::setUp ( )
protected

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

This method is called before a test is executed.

Definition at line 16 of file m_ftpTest.php.

17  {
18  parent::setUp();
19  $this->object = new m_ftp;
20  }
FTP account management class.
Definition: m_ftp.php:26
m_ftpTest::tearDown ( )
protected

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

This method is called after a test is executed.

Definition at line 26 of file m_ftpTest.php.

27  {
28  parent::tearDown();
29  }
m_ftpTest::testAdd_ftp ( )

m_ftp::add_ftp

Todo:
Implement testAdd_ftp().

Definition at line 170 of file m_ftpTest.php.

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

m_ftp::alternc_del_domain

Todo:
Implement testAlternc_del_domain().

Definition at line 194 of file m_ftpTest.php.

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

m_ftp::alternc_del_member

Todo:
Implement testAlternc_del_member().

Definition at line 206 of file m_ftpTest.php.

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

m_ftp::alternc_export_conf

Todo:
Implement testAlternc_export_conf().

Definition at line 230 of file m_ftpTest.php.

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

m_ftp::alternc_password_policy

Todo:
Implement testAlternc_password_policy().

Definition at line 35 of file m_ftpTest.php.

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

m_ftp::authip_class

Todo:
Implement testAuthip_class().

Definition at line 59 of file m_ftpTest.php.

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

m_ftp::check_login

Todo:
Implement testCheck_login().

Definition at line 119 of file m_ftpTest.php.

120  {
121  // Allowed
122  $this->assertTrue($this->object->check_login('plop'));
123  $this->assertTrue($this->object->check_login('00'));
124 
125  // Forbidden
126  $this->assertFalse($this->object->check_login('_plop'));
127  $this->assertFalse($this->object->check_login('arf+'));
128  }
m_ftpTest::testDelete_ftp ( )

m_ftp::delete_ftp

Todo:
Implement testDelete_ftp().

Definition at line 158 of file m_ftpTest.php.

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

m_ftp::get_ftp_details

Todo:
Implement testGet_ftp_details().

Definition at line 95 of file m_ftpTest.php.

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

m_ftp::get_list

Todo:
Implement testGet_list().

Definition at line 83 of file m_ftpTest.php.

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

m_ftp::hook_menu

Todo:
Implement testHook_menu().

Definition at line 47 of file m_ftpTest.php.

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

m_ftp::hook_quota_get

Todo:
Implement testHook_quota_get().

Definition at line 218 of file m_ftpTest.php.

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

m_ftp::is_ftp

Todo:
Implement testIs_ftp().

Definition at line 182 of file m_ftpTest.php.

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

m_ftp::prefix_list

Todo:
Implement testPrefix_list().

Definition at line 107 of file m_ftpTest.php.

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

m_ftp::put_ftp_details

Todo:
Implement testPut_ftp_details().

Definition at line 146 of file m_ftpTest.php.

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

m_ftp::select_prefix_list

Todo:
Implement testSelect_prefix_list().

Definition at line 134 of file m_ftpTest.php.

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

m_ftp::switch_enabled

Todo:
Implement testSwitch_enabled().

Definition at line 71 of file m_ftpTest.php.

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

Member Data Documentation

m_ftpTest::$object
protected

Definition at line 10 of file m_ftpTest.php.


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