FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Test cases for RestHelper. More...
Public Member Functions | |
testCopyUpload () | |
testValidateTokenRequest () | |
testValidateTokenRequestMaxExpire () | |
testValidateTokenRequestInvalidExpire () | |
testValidateTokenRequestInvalidScope () | |
Static Public Attributes | |
static | $functions |
Protected Member Functions | |
setUp () | |
Setup test objects. More... | |
tearDown () | |
Remove test objects. More... | |
Private Attributes | |
$uploadDao | |
$dbHelper | |
$uploadPermissionDao | |
$folderDao | |
$userDao | |
$jobDao | |
$showJobDao | |
$authHelper | |
$session | |
$restHelper | |
$userId | |
$groupId | |
$contentMovePlugin | |
$assertCountBefore | |
Test cases for RestHelper.
Definition at line 41 of file RestHelperTest.php.
|
protected |
Setup test objects.
Definition at line 123 of file RestHelperTest.php.
|
protected |
Remove test objects.
Definition at line 163 of file RestHelperTest.php.
Fossology\UI\Api\Helper\RestHelperTest::testCopyUpload | ( | ) |
Definition at line 175 of file RestHelperTest.php.
Fossology\UI\Api\Helper\RestHelperTest::testValidateTokenRequest | ( | ) |
Definition at line 211 of file RestHelperTest.php.
Fossology\UI\Api\Helper\RestHelperTest::testValidateTokenRequestInvalidExpire | ( | ) |
Definition at line 249 of file RestHelperTest.php.
Fossology\UI\Api\Helper\RestHelperTest::testValidateTokenRequestInvalidScope | ( | ) |
Definition at line 269 of file RestHelperTest.php.
Fossology\UI\Api\Helper\RestHelperTest::testValidateTokenRequestMaxExpire | ( | ) |
Definition at line 229 of file RestHelperTest.php.
|
private |
Assertions before running tests
Definition at line 117 of file RestHelperTest.php.
|
private |
AuthHelper mock
Definition at line 87 of file RestHelperTest.php.
|
private |
content_move plugin mock
Definition at line 112 of file RestHelperTest.php.
|
private |
DbHelper mock
Definition at line 57 of file RestHelperTest.php.
|
private |
FolderDao mock
Definition at line 67 of file RestHelperTest.php.
|
static |
Mock of public functions
Definition at line 47 of file RestHelperTest.php.
|
private |
Group id
Definition at line 107 of file RestHelperTest.php.
|
private |
JobDao mock
Definition at line 77 of file RestHelperTest.php.
|
private |
RestHelper mock
Definition at line 97 of file RestHelperTest.php.
|
private |
Session mock
Definition at line 92 of file RestHelperTest.php.
|
private |
ShowJobsDao mock
Definition at line 82 of file RestHelperTest.php.
|
private |
UploadDao mock
Definition at line 52 of file RestHelperTest.php.
|
private |
UploadPermissionDao mock
Definition at line 62 of file RestHelperTest.php.
|
private |
UserDao mock
Definition at line 72 of file RestHelperTest.php.
|
private |
User id
Definition at line 102 of file RestHelperTest.php.