◆ getResponseJson()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::getResponseJson |
( |
|
$response | ) |
|
|
private |
◆ testGetBulkHistory()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetBulkHistory |
( |
| ) |
|
◆ testGetClearingHistory()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetClearingHistory |
( |
| ) |
|
◆ testGetHighlightEntries()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetHighlightEntries |
( |
| ) |
|
- Test:
- Test for UploadController::viewLicenseFile() with valid status
- Check if response status is 200 and the body has the expected contents
Definition at line 573 of file UploadTreeControllerTest.php.
◆ testGetLicenseDecisions()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetLicenseDecisions |
( |
| ) |
|
◆ testGetNextPreviousItem()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetNextPreviousItem |
( |
| ) |
|
◆ testGetNextPreviousItem_isSelectionValid()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetNextPreviousItem_isSelectionValid |
( |
| ) |
|
◆ testGetTreeViewAgentNotFound()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetTreeViewAgentNotFound |
( |
| ) |
|
- Test:
- # Test UploadTreeController::getTreeView
- # Check if HttpNotFound Exception is thrown for unavailable agent.
- Returns
- void
- Exceptions
-
Definition at line 654 of file UploadTreeControllerTest.php.
◆ testGetTreeViewTagNotFound()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetTreeViewTagNotFound |
( |
| ) |
|
- Test:
- # Test UploadTreeController::getTreeView
- # Check if HttpNotFound Exception is thrown for unavailable tag.
- Returns
- void
- Exceptions
-
Definition at line 691 of file UploadTreeControllerTest.php.
◆ testGetTreeViewUploadNotAccessible()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetTreeViewUploadNotAccessible |
( |
| ) |
|
- Test:
- # Test UploadTreeController::getTreeView
- # Check if HttpForbiden exception is thrown for unaccessible upload
- Returns
- void
- Exceptions
-
Definition at line 728 of file UploadTreeControllerTest.php.
◆ testGetTreeViewUploadNotFound()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testGetTreeViewUploadNotFound |
( |
| ) |
|
◆ testHandleAddEditAndDeleteLicenseDecision_Add()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testHandleAddEditAndDeleteLicenseDecision_Add |
( |
| ) |
|
- Test:
- Test for UploadTreeController::handleAddEditAndDeleteLicenseDecision() for adding, editing, and deleting license decision
- Check if response status is 200 and response body matches
Definition at line 821 of file UploadTreeControllerTest.php.
◆ testHandleAddEditAndDeleteLicenseDecision_Delete()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testHandleAddEditAndDeleteLicenseDecision_Delete |
( |
| ) |
|
- Test:
- Test for UploadTreeController::handleAddEditAndDeleteLicenseDecision() for adding, editing, and deleting license decision
- Check if response status is 200 and response body matches
Definition at line 938 of file UploadTreeControllerTest.php.
◆ testHandleAddEditAndDeleteLicenseDecision_Edit()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testHandleAddEditAndDeleteLicenseDecision_Edit |
( |
| ) |
|
- Test:
- Test for UploadTreeController::handleAddEditAndDeleteLicenseDecision() for adding, editing, and deleting license decision
- Check if response status is 200 and response body matches
Definition at line 879 of file UploadTreeControllerTest.php.
◆ testScheduleBulkScan()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testScheduleBulkScan |
( |
| ) |
|
◆ testSetClearingDecisionReturnsError()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testSetClearingDecisionReturnsError |
( |
| ) |
|
- Test:
- Test for UploadTreeController::setClearingDecision() for setting a clearing decision
- Check if response status is 400, if the given decisionType is invalid
Definition at line 355 of file UploadTreeControllerTest.php.
◆ testSetClearingDecisionReturnsOk()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testSetClearingDecisionReturnsOk |
( |
| ) |
|
- Test:
- Test for UploadTreeController::setClearingDecision() for setting a clearing decision
- Check if response status is 200 and response body matches
Definition at line 307 of file UploadTreeControllerTest.php.
◆ testViewLicenseFile()
Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::testViewLicenseFile |
( |
| ) |
|
- Test:
- Test for UploadController::viewLicenseFile() with valid status
- Check if response status is 200 and the body has the expected contents
Definition at line 278 of file UploadTreeControllerTest.php.
◆ $changeLicenseBulk
ChangeLicenseBulk Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$changeLicenseBulk |
|
private |
◆ $clearingDecisionEventProcessor
◆ $clearingEventTypes
ClearingEventTypes Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$clearingEventTypes |
|
private |
◆ $concludeLicensePlugin
AjaxClearingView Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$concludeLicensePlugin |
|
private |
◆ $dbHelper
DbHelper Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$dbHelper |
|
private |
◆ $dbManager
DbManager Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$dbManager |
|
private |
◆ $decisionScopes
DecisionScopes Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$decisionScopes |
|
private |
◆ $decisionTypes
DecisionTypes Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$decisionTypes |
|
private |
◆ $groupId
integer Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$groupId |
|
private |
◆ $highlightDao
HighlightDao Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$highlightDao |
|
private |
◆ $itemTreeBoundsMock
ItemTreeBounds Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$itemTreeBoundsMock |
|
private |
◆ $licenseDao
LicenseDao Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$licenseDao |
|
private |
◆ $restHelper
RestHelper Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$restHelper |
|
private |
◆ $uploadDao
UploadDao Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$uploadDao |
|
private |
◆ $uploadTreeController
UploadTreeController Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$uploadTreeController |
|
private |
◆ $viewFilePlugin
M MockInterface Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$viewFilePlugin |
|
private |
◆ $viewLicensePlugin
M MockInterface Fossology\UI\Api\Test\Controllers\UploadTreeControllerTest::$viewLicensePlugin |
|
private |
The documentation for this class was generated from the following file: