Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
SubmitButtonTest | n/a |
0 / 0 |
|
100.00% |
6 / 6 |
6 | n/a |
0 / 0 |
||
setUp | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
tearDown | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testConstructor | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testOnDocumentReady | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSetTagClass | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSetTagName | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
<?php | |
namespace Test\Ease\JQuery; | |
use Ease\JQuery\SubmitButton; | |
/** | |
* Generated by PHPUnit_SkeletonGenerator on 2016-01-17 at 23:58:28. | |
*/ | |
class SubmitButtonTest extends UIPartTest | |
{ | |
/** | |
* @var SubmitButton | |
*/ | |
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 SubmitButton('submit', 'OK'); | |
} | |
/** | |
* 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('submint', 'ok'); | |
} | |
/** | |
* @covers Ease\JQuery\SubmitButton::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\SubmitButton::setTagClass | |
* | |
* @todo Implement testSetTagClass(). | |
*/ | |
public function testSetTagClass() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\JQuery\SubmitButton::setTagName | |
* | |
* @todo Implement testSetTagName(). | |
*/ | |
public function testSetTagName() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
} |