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

Public Member Functions

 testHook_menu ()
 @covers m_lxc::hook_menu More...
 
 testHook_admin_del_member ()
 @covers m_lxc::hook_admin_del_member More...
 
 testStart ()
 @covers m_lxc::start More...
 
 testGetvm ()
 @covers m_lxc::getvm More...
 
 testStop ()
 @covers m_lxc::stop 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_lxcTest.php.

Member Function Documentation

◆ setUp()

m_lxcTest::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_lxcTest.php.

19  {
20  parent::setUp();
21  $this->object = new m_lxc;
22  }
Manage AlternC's virtual machine (Containers) start/stop using our own inetd-based protocol.
Definition: m_lxc.php:28

◆ tearDown()

m_lxcTest::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_lxcTest.php.

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

◆ testGetvm()

m_lxcTest::testGetvm ( )

@covers m_lxc::getvm

Todo:
Implement testGetvm().

Definition at line 73 of file m_lxcTest.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  }

◆ testHook_admin_del_member()

m_lxcTest::testHook_admin_del_member ( )

@covers m_lxc::hook_admin_del_member

Todo:
Implement testHook_admin_del_member().

Definition at line 49 of file m_lxcTest.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  }

◆ testHook_menu()

m_lxcTest::testHook_menu ( )

@covers m_lxc::hook_menu

Todo:
Implement testHook_menu().

Definition at line 37 of file m_lxcTest.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  }

◆ testStart()

m_lxcTest::testStart ( )

@covers m_lxc::start

Todo:
Implement testStart().

Definition at line 61 of file m_lxcTest.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  }

◆ testStop()

m_lxcTest::testStop ( )

@covers m_lxc::stop

Todo:
Implement testStop().

Definition at line 85 of file m_lxcTest.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  }

Member Data Documentation

◆ $object

m_lxcTest::$object
protected

Definition at line 12 of file m_lxcTest.php.


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