Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 6 |
CRAP | |
0.00% |
0 / 18 |
LinkButtonTest | |
0.00% |
0 / 1 |
|
0.00% |
0 / 6 |
42 | |
0.00% |
0 / 18 |
setUp | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
tearDown | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
testConstructor | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 6 |
|||
testOnDocumentReady | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
testSetTagID | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
testGetTagID | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
<?php | |
namespace Test\Ease\JQuery; | |
use Ease\JQuery\LinkButton; | |
/** | |
* Generated by PHPUnit_SkeletonGenerator on 2016-01-17 at 23:58:26. | |
*/ | |
class LinkButtonTest extends UIPartTest | |
{ | |
/** | |
* @var LinkButton | |
*/ | |
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 LinkButton('http://v.s.cz/', 'Vitex Software'); | |
} | |
/** | |
* Tears down the fixture, for example, closes a network connection. | |
* This method is called after a test is executed. | |
*/ | |
protected function tearDown() | |
{ | |
} | |
public function testConstructor() | |
{ | |
$classname = get_class($this->object); | |
// Get mock, without the constructor being called | |
$mock = $this->getMockBuilder($classname) | |
->disableOriginalConstructor() | |
->getMockForAbstractClass(); | |
$mock->__construct('http://v.s.cz/', 'VitexSoftware'); | |
} | |
/** | |
* @covers Ease\JQuery\LinkButton::onDocumentReady | |
* | |
* @todo Implement testOnDocumentReady(). | |
*/ | |
public function testOnDocumentReady() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\JQuery\LinkButton::setTagID | |
* | |
* @todo Implement testSetTagID(). | |
*/ | |
public function testSetTagID() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\JQuery\LinkButton::getTagID | |
* | |
* @todo Implement testGetTagID(). | |
*/ | |
public function testGetTagID() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
} |