FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Test cases for AuthHelper. More...
Public Member Functions | |
testVerifyAuthToken () | |
testVerifyAuthTokenInactiveUser () | |
testIsTokenActive () | |
testIsTokenActiveExpireOldToken () | |
testUserHasGroupAccess () | |
Protected Member Functions | |
setUp () | |
Setup test objects. More... | |
tearDown () | |
Remove test objects. More... | |
Private Attributes | |
$assertCountBefore | |
$authHelper | |
$userDao | |
$session | |
$dbHelper | |
Test cases for AuthHelper.
Definition at line 32 of file AuthHelperTest.php.
|
protected |
Setup test objects.
Definition at line 69 of file AuthHelperTest.php.
|
protected |
Remove test objects.
Definition at line 86 of file AuthHelperTest.php.
Fossology\UI\Api\Test\Helper\AuthHelperTest::testIsTokenActive | ( | ) |
Definition at line 186 of file AuthHelperTest.php.
Fossology\UI\Api\Test\Helper\AuthHelperTest::testIsTokenActiveExpireOldToken | ( | ) |
Definition at line 223 of file AuthHelperTest.php.
Fossology\UI\Api\Test\Helper\AuthHelperTest::testUserHasGroupAccess | ( | ) |
Definition at line 251 of file AuthHelperTest.php.
Fossology\UI\Api\Test\Helper\AuthHelperTest::testVerifyAuthToken | ( | ) |
Definition at line 102 of file AuthHelperTest.php.
Fossology\UI\Api\Test\Helper\AuthHelperTest::testVerifyAuthTokenInactiveUser | ( | ) |
Definition at line 145 of file AuthHelperTest.php.
|
private |
Assertions before running tests
Definition at line 39 of file AuthHelperTest.php.
|
private |
AuthHelper object to test
Definition at line 45 of file AuthHelperTest.php.
|
private |
DbHelper mock
Definition at line 63 of file AuthHelperTest.php.
|
private |
Session mock
Definition at line 57 of file AuthHelperTest.php.
|
private |
UserDao mock
Definition at line 51 of file AuthHelperTest.php.