@@ -4,169 +4,169 @@ |
||
| 4 | 4 | */ |
| 5 | 5 | class FantasticoTest extends PHPUnit_Framework_TestCase |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * @var Fantastico |
|
| 9 | - */ |
|
| 10 | - protected $object; |
|
| 7 | + /** |
|
| 8 | + * @var Fantastico |
|
| 9 | + */ |
|
| 10 | + protected $object; |
|
| 11 | 11 | |
| 12 | - /** |
|
| 13 | - * Sets up the fixture, for example, opens a network connection. |
|
| 14 | - * This method is called before a test is executed. |
|
| 15 | - */ |
|
| 16 | - protected function setUp() |
|
| 17 | - { |
|
| 18 | - $this->object = new Fantastico; |
|
| 19 | - } |
|
| 12 | + /** |
|
| 13 | + * Sets up the fixture, for example, opens a network connection. |
|
| 14 | + * This method is called before a test is executed. |
|
| 15 | + */ |
|
| 16 | + protected function setUp() |
|
| 17 | + { |
|
| 18 | + $this->object = new Fantastico; |
|
| 19 | + } |
|
| 20 | 20 | |
| 21 | - /** |
|
| 22 | - * Tears down the fixture, for example, closes a network connection. |
|
| 23 | - * This method is called after a test is executed. |
|
| 24 | - */ |
|
| 25 | - protected function tearDown() |
|
| 26 | - { |
|
| 27 | - } |
|
| 21 | + /** |
|
| 22 | + * Tears down the fixture, for example, closes a network connection. |
|
| 23 | + * This method is called after a test is executed. |
|
| 24 | + */ |
|
| 25 | + protected function tearDown() |
|
| 26 | + { |
|
| 27 | + } |
|
| 28 | 28 | |
| 29 | - /** |
|
| 30 | - * @covers Detain\Fantastico\Fantastico::connect |
|
| 31 | - * @todo Implement testConnect(). |
|
| 32 | - */ |
|
| 33 | - public function testConnect() |
|
| 34 | - { |
|
| 35 | - // Remove the following lines when you implement this test. |
|
| 36 | - $this->markTestIncomplete( |
|
| 37 | - 'This test has not been implemented yet.' |
|
| 38 | - ); |
|
| 39 | - } |
|
| 29 | + /** |
|
| 30 | + * @covers Detain\Fantastico\Fantastico::connect |
|
| 31 | + * @todo Implement testConnect(). |
|
| 32 | + */ |
|
| 33 | + public function testConnect() |
|
| 34 | + { |
|
| 35 | + // Remove the following lines when you implement this test. |
|
| 36 | + $this->markTestIncomplete( |
|
| 37 | + 'This test has not been implemented yet.' |
|
| 38 | + ); |
|
| 39 | + } |
|
| 40 | 40 | |
| 41 | - /** |
|
| 42 | - * @covers Detain\Fantastico\Fantastico::get_ip_types |
|
| 43 | - * @todo Implement testGet_ip_types(). |
|
| 44 | - */ |
|
| 45 | - public function testGet_ip_types() |
|
| 46 | - { |
|
| 47 | - // Remove the following lines when you implement this test. |
|
| 48 | - $this->markTestIncomplete( |
|
| 49 | - 'This test has not been implemented yet.' |
|
| 50 | - ); |
|
| 51 | - } |
|
| 41 | + /** |
|
| 42 | + * @covers Detain\Fantastico\Fantastico::get_ip_types |
|
| 43 | + * @todo Implement testGet_ip_types(). |
|
| 44 | + */ |
|
| 45 | + public function testGet_ip_types() |
|
| 46 | + { |
|
| 47 | + // Remove the following lines when you implement this test. |
|
| 48 | + $this->markTestIncomplete( |
|
| 49 | + 'This test has not been implemented yet.' |
|
| 50 | + ); |
|
| 51 | + } |
|
| 52 | 52 | |
| 53 | - /** |
|
| 54 | - * @covers Detain\Fantastico\Fantastico::is_type |
|
| 55 | - * @todo Implement testIs_type(). |
|
| 56 | - */ |
|
| 57 | - public function testIs_type() |
|
| 58 | - { |
|
| 59 | - // Remove the following lines when you implement this test. |
|
| 60 | - $this->markTestIncomplete( |
|
| 61 | - 'This test has not been implemented yet.' |
|
| 62 | - ); |
|
| 63 | - } |
|
| 53 | + /** |
|
| 54 | + * @covers Detain\Fantastico\Fantastico::is_type |
|
| 55 | + * @todo Implement testIs_type(). |
|
| 56 | + */ |
|
| 57 | + public function testIs_type() |
|
| 58 | + { |
|
| 59 | + // Remove the following lines when you implement this test. |
|
| 60 | + $this->markTestIncomplete( |
|
| 61 | + 'This test has not been implemented yet.' |
|
| 62 | + ); |
|
| 63 | + } |
|
| 64 | 64 | |
| 65 | - /** |
|
| 66 | - * @covers Detain\Fantastico\Fantastico::getIpList |
|
| 67 | - * @todo Implement testGetIpList(). |
|
| 68 | - */ |
|
| 69 | - public function testGetIpList() |
|
| 70 | - { |
|
| 71 | - // Remove the following lines when you implement this test. |
|
| 72 | - $this->markTestIncomplete( |
|
| 73 | - 'This test has not been implemented yet.' |
|
| 74 | - ); |
|
| 75 | - } |
|
| 65 | + /** |
|
| 66 | + * @covers Detain\Fantastico\Fantastico::getIpList |
|
| 67 | + * @todo Implement testGetIpList(). |
|
| 68 | + */ |
|
| 69 | + public function testGetIpList() |
|
| 70 | + { |
|
| 71 | + // Remove the following lines when you implement this test. |
|
| 72 | + $this->markTestIncomplete( |
|
| 73 | + 'This test has not been implemented yet.' |
|
| 74 | + ); |
|
| 75 | + } |
|
| 76 | 76 | |
| 77 | - /** |
|
| 78 | - * @covers Detain\Fantastico\Fantastico::getIpListDetailed |
|
| 79 | - * @todo Implement testGetIpListDetailed(). |
|
| 80 | - */ |
|
| 81 | - public function testGetIpListDetailed() |
|
| 82 | - { |
|
| 83 | - // Remove the following lines when you implement this test. |
|
| 84 | - $this->markTestIncomplete( |
|
| 85 | - 'This test has not been implemented yet.' |
|
| 86 | - ); |
|
| 87 | - } |
|
| 77 | + /** |
|
| 78 | + * @covers Detain\Fantastico\Fantastico::getIpListDetailed |
|
| 79 | + * @todo Implement testGetIpListDetailed(). |
|
| 80 | + */ |
|
| 81 | + public function testGetIpListDetailed() |
|
| 82 | + { |
|
| 83 | + // Remove the following lines when you implement this test. |
|
| 84 | + $this->markTestIncomplete( |
|
| 85 | + 'This test has not been implemented yet.' |
|
| 86 | + ); |
|
| 87 | + } |
|
| 88 | 88 | |
| 89 | - /** |
|
| 90 | - * @covers Detain\Fantastico\Fantastico::valid_ip |
|
| 91 | - * @todo Implement testValid_ip(). |
|
| 92 | - */ |
|
| 93 | - public function testValid_ip() |
|
| 94 | - { |
|
| 95 | - // Remove the following lines when you implement this test. |
|
| 96 | - $this->markTestIncomplete( |
|
| 97 | - 'This test has not been implemented yet.' |
|
| 98 | - ); |
|
| 99 | - } |
|
| 89 | + /** |
|
| 90 | + * @covers Detain\Fantastico\Fantastico::valid_ip |
|
| 91 | + * @todo Implement testValid_ip(). |
|
| 92 | + */ |
|
| 93 | + public function testValid_ip() |
|
| 94 | + { |
|
| 95 | + // Remove the following lines when you implement this test. |
|
| 96 | + $this->markTestIncomplete( |
|
| 97 | + 'This test has not been implemented yet.' |
|
| 98 | + ); |
|
| 99 | + } |
|
| 100 | 100 | |
| 101 | - /** |
|
| 102 | - * @covers Detain\Fantastico\Fantastico::getIpDetails |
|
| 103 | - * @todo Implement testGetIpDetails(). |
|
| 104 | - */ |
|
| 105 | - public function testGetIpDetails() |
|
| 106 | - { |
|
| 107 | - // Remove the following lines when you implement this test. |
|
| 108 | - $this->markTestIncomplete( |
|
| 109 | - 'This test has not been implemented yet.' |
|
| 110 | - ); |
|
| 111 | - } |
|
| 101 | + /** |
|
| 102 | + * @covers Detain\Fantastico\Fantastico::getIpDetails |
|
| 103 | + * @todo Implement testGetIpDetails(). |
|
| 104 | + */ |
|
| 105 | + public function testGetIpDetails() |
|
| 106 | + { |
|
| 107 | + // Remove the following lines when you implement this test. |
|
| 108 | + $this->markTestIncomplete( |
|
| 109 | + 'This test has not been implemented yet.' |
|
| 110 | + ); |
|
| 111 | + } |
|
| 112 | 112 | |
| 113 | - /** |
|
| 114 | - * @covers Detain\Fantastico\Fantastico::editIp |
|
| 115 | - * @todo Implement testEditIp(). |
|
| 116 | - */ |
|
| 117 | - public function testEditIp() |
|
| 118 | - { |
|
| 119 | - // Remove the following lines when you implement this test. |
|
| 120 | - $this->markTestIncomplete( |
|
| 121 | - 'This test has not been implemented yet.' |
|
| 122 | - ); |
|
| 123 | - } |
|
| 113 | + /** |
|
| 114 | + * @covers Detain\Fantastico\Fantastico::editIp |
|
| 115 | + * @todo Implement testEditIp(). |
|
| 116 | + */ |
|
| 117 | + public function testEditIp() |
|
| 118 | + { |
|
| 119 | + // Remove the following lines when you implement this test. |
|
| 120 | + $this->markTestIncomplete( |
|
| 121 | + 'This test has not been implemented yet.' |
|
| 122 | + ); |
|
| 123 | + } |
|
| 124 | 124 | |
| 125 | - /** |
|
| 126 | - * @covers Detain\Fantastico\Fantastico::addIp |
|
| 127 | - * @todo Implement testAddIp(). |
|
| 128 | - */ |
|
| 129 | - public function testAddIp() |
|
| 130 | - { |
|
| 131 | - // Remove the following lines when you implement this test. |
|
| 132 | - $this->markTestIncomplete( |
|
| 133 | - 'This test has not been implemented yet.' |
|
| 134 | - ); |
|
| 135 | - } |
|
| 125 | + /** |
|
| 126 | + * @covers Detain\Fantastico\Fantastico::addIp |
|
| 127 | + * @todo Implement testAddIp(). |
|
| 128 | + */ |
|
| 129 | + public function testAddIp() |
|
| 130 | + { |
|
| 131 | + // Remove the following lines when you implement this test. |
|
| 132 | + $this->markTestIncomplete( |
|
| 133 | + 'This test has not been implemented yet.' |
|
| 134 | + ); |
|
| 135 | + } |
|
| 136 | 136 | |
| 137 | - /** |
|
| 138 | - * @covers Detain\Fantastico\Fantastico::deactivateIp |
|
| 139 | - * @todo Implement testDeactivateIp(). |
|
| 140 | - */ |
|
| 141 | - public function testDeactivateIp() |
|
| 142 | - { |
|
| 143 | - // Remove the following lines when you implement this test. |
|
| 144 | - $this->markTestIncomplete( |
|
| 145 | - 'This test has not been implemented yet.' |
|
| 146 | - ); |
|
| 147 | - } |
|
| 137 | + /** |
|
| 138 | + * @covers Detain\Fantastico\Fantastico::deactivateIp |
|
| 139 | + * @todo Implement testDeactivateIp(). |
|
| 140 | + */ |
|
| 141 | + public function testDeactivateIp() |
|
| 142 | + { |
|
| 143 | + // Remove the following lines when you implement this test. |
|
| 144 | + $this->markTestIncomplete( |
|
| 145 | + 'This test has not been implemented yet.' |
|
| 146 | + ); |
|
| 147 | + } |
|
| 148 | 148 | |
| 149 | - /** |
|
| 150 | - * @covers Detain\Fantastico\Fantastico::reactivateIp |
|
| 151 | - * @todo Implement testReactivateIp(). |
|
| 152 | - */ |
|
| 153 | - public function testReactivateIp() |
|
| 154 | - { |
|
| 155 | - // Remove the following lines when you implement this test. |
|
| 156 | - $this->markTestIncomplete( |
|
| 157 | - 'This test has not been implemented yet.' |
|
| 158 | - ); |
|
| 159 | - } |
|
| 149 | + /** |
|
| 150 | + * @covers Detain\Fantastico\Fantastico::reactivateIp |
|
| 151 | + * @todo Implement testReactivateIp(). |
|
| 152 | + */ |
|
| 153 | + public function testReactivateIp() |
|
| 154 | + { |
|
| 155 | + // Remove the following lines when you implement this test. |
|
| 156 | + $this->markTestIncomplete( |
|
| 157 | + 'This test has not been implemented yet.' |
|
| 158 | + ); |
|
| 159 | + } |
|
| 160 | 160 | |
| 161 | - /** |
|
| 162 | - * @covers Detain\Fantastico\Fantastico::deleteIp |
|
| 163 | - * @todo Implement testDeleteIp(). |
|
| 164 | - */ |
|
| 165 | - public function testDeleteIp() |
|
| 166 | - { |
|
| 167 | - // Remove the following lines when you implement this test. |
|
| 168 | - $this->markTestIncomplete( |
|
| 169 | - 'This test has not been implemented yet.' |
|
| 170 | - ); |
|
| 171 | - } |
|
| 161 | + /** |
|
| 162 | + * @covers Detain\Fantastico\Fantastico::deleteIp |
|
| 163 | + * @todo Implement testDeleteIp(). |
|
| 164 | + */ |
|
| 165 | + public function testDeleteIp() |
|
| 166 | + { |
|
| 167 | + // Remove the following lines when you implement this test. |
|
| 168 | + $this->markTestIncomplete( |
|
| 169 | + 'This test has not been implemented yet.' |
|
| 170 | + ); |
|
| 171 | + } |
|
| 172 | 172 | } |