Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
FormTest | n/a |
0 / 0 |
|
100.00% |
7 / 7 |
7 | n/a |
0 / 0 |
||
setUp | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
tearDown | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSetFormTarget | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testChangeActionParameter | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testObjectContentSearch | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testFinalize | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetTagName | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
<?php | |
namespace Test\Ease\Html; | |
use Ease\Html\Form; | |
/** | |
* Generated by PHPUnit_SkeletonGenerator on 2016-01-17 at 23:59:19. | |
*/ | |
class FormTest extends PairTagTest | |
{ | |
/** | |
* @var Form | |
*/ | |
protected $object; | |
/** | |
* Sets up the fixture, for example, opens a network connection. | |
* This method is called before a test is executed. | |
*/ | |
protected function setUp() | |
{ | |
$this->object = new \Ease\Html\Form('test'); | |
} | |
/** | |
* Tears down the fixture, for example, closes a network connection. | |
* This method is called after a test is executed. | |
*/ | |
protected function tearDown() | |
{ | |
} | |
/** | |
* @covers Ease\Html\Form::setFormTarget | |
* | |
* @todo Implement testSetFormTarget(). | |
*/ | |
public function testSetFormTarget() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\Html\Form::changeActionParameter | |
* | |
* @todo Implement testChangeActionParameter(). | |
*/ | |
public function testChangeActionParameter() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\Html\Form::objectContentSearch | |
* | |
* @todo Implement testObjectContentSearch(). | |
*/ | |
public function testObjectContentSearch() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\Html\Form::finalize | |
* | |
* @todo Implement testFinalize(). | |
*/ | |
public function testFinalize() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\Html\Form::getTagName | |
*/ | |
public function testGetTagName() | |
{ | |
$this->assertEquals('test', $this->object->getTagName()); | |
$this->object->setName = true; | |
$this->object->setTagName('Test'); | |
$this->assertEquals('Test', $this->object->getTagName()); | |
} | |
} |