Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
UserTest | n/a |
0 / 0 |
|
100.00% |
29 / 29 |
29 | n/a |
0 / 0 |
||
setUp | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
tearDown | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetUserName | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetUserEmail | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testDraw | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetIcon | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testTryToLogin | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testIsAccountEnabled | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testLoginSuccess | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testLoadSettings | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSaveSettings | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetSettings | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testPasswordValidation | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testEncryptPassword | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testPasswordChange | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetUserID | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetUserLogin | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSetUserLogin | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetPermission | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testLogout | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetSettingValue | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSetSettings | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSetSettingValue | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testLoadPermissions | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetName | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSaveToSQL | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testLoadFromSQL | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testGetGravatar | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
||||
testSetObjectName | |
100.00% |
1 / 1 |
1 | n/a |
0 / 0 |
<?php | |
namespace Test\Ease; | |
use Ease\User; | |
/** | |
* Generated by PHPUnit_SkeletonGenerator on 2016-01-17 at 23:58:22. | |
*/ | |
class UserTest extends AnonymTest | |
{ | |
/** | |
* @var User | |
*/ | |
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 User(); | |
} | |
/** | |
* Tears down the fixture, for example, closes a network connection. | |
* This method is called after a test is executed. | |
*/ | |
protected function tearDown() | |
{ | |
} | |
/** | |
* @covers Ease\User::getUserName | |
* | |
* @todo Implement testGetUserName(). | |
*/ | |
public function testGetUserName() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getUserEmail | |
* | |
* @todo Implement testGetUserEmail(). | |
*/ | |
public function testGetUserEmail() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::draw | |
* | |
* @todo Implement testDraw(). | |
*/ | |
public function testDraw($whatWant = null) | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getIcon | |
* | |
* @todo Implement testGetIcon(). | |
*/ | |
public function testGetIcon() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::tryToLogin | |
* | |
* @todo Implement testTryToLogin(). | |
*/ | |
public function testTryToLogin() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::isAccountEnabled | |
* | |
* @todo Implement testIsAccountEnabled(). | |
*/ | |
public function testIsAccountEnabled() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::loginSuccess | |
* | |
* @todo Implement testLoginSuccess(). | |
*/ | |
public function testLoginSuccess() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::loadSettings | |
* | |
* @todo Implement testLoadSettings(). | |
*/ | |
public function testLoadSettings() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::saveSettings | |
* | |
* @todo Implement testSaveSettings(). | |
*/ | |
public function testSaveSettings() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getSettings | |
* | |
* @todo Implement testGetSettings(). | |
*/ | |
public function testGetSettings() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::passwordValidation | |
* | |
* @todo Implement testPasswordValidation(). | |
*/ | |
public function testPasswordValidation() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::encryptPassword | |
* | |
* @todo Implement testEncryptPassword(). | |
*/ | |
public function testEncryptPassword() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::passwordChange | |
* | |
* @todo Implement testPasswordChange(). | |
*/ | |
public function testPasswordChange() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getUserID | |
* | |
* @todo Implement testGetUserID(). | |
*/ | |
public function testGetUserID() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getUserLogin | |
* | |
* @todo Implement testGetUserLogin(). | |
*/ | |
public function testGetUserLogin() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::setUserLogin | |
* | |
* @todo Implement testSetUserLogin(). | |
*/ | |
public function testSetUserLogin() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getPermission | |
* | |
* @todo Implement testGetPermission(). | |
*/ | |
public function testGetPermission() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::logout | |
* | |
* @todo Implement testLogout(). | |
*/ | |
public function testLogout() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getSettingValue | |
* | |
* @todo Implement testGetSettingValue(). | |
*/ | |
public function testGetSettingValue() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::setSettings | |
* | |
* @todo Implement testSetSettings(). | |
*/ | |
public function testSetSettings() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::setSettingValue | |
* | |
* @todo Implement testSetSettingValue(). | |
*/ | |
public function testSetSettingValue() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::loadPermissions | |
* | |
* @todo Implement testLoadPermissions(). | |
*/ | |
public function testLoadPermissions() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getName | |
* | |
* @todo Implement testGetName(). | |
*/ | |
public function testGetName() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::saveToSQL | |
* | |
* @todo Implement testSaveToSQL(). | |
*/ | |
public function testSaveToSQL() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::loadFromSQL | |
* | |
* @todo Implement testLoadFromSQL(). | |
*/ | |
public function testLoadFromSQL() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::getGravatar | |
* | |
* @todo Implement testGetGravatar(). | |
*/ | |
public function testGetGravatar() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
/** | |
* @covers Ease\User::setObjectName | |
* | |
* @todo Implement testSetObjectName(). | |
*/ | |
public function testSetObjectName() | |
{ | |
// Remove the following lines when you implement this test. | |
$this->markTestIncomplete( | |
'This test has not been implemented yet.' | |
); | |
} | |
} |