![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
Create mock objects for reuser. More...


Public Member Functions | |
| __construct (DbManager $dbManager, AgentDao $agentDao, ClearingDao $clearingDao, UploadDao $uploadDao, ClearingDecisionFilter $clearingDecisionFilter, TreeDao $treeDao, CopyrightDao $copyrightDao) | |
| run ($uploadId, $userId=2, $groupId=2, $jobId=1, $args="") | |
| Function to run agent from scheduler. More... | |
Private Attributes | |
| $dbManager | |
| $clearingDao | |
| $copyrightDao | |
| $clearingDecisionFilter | |
| $clearingDecisionProcessor | |
| $uploadDao | |
| $agentDao | |
| $treeDao | |
Create mock objects for reuser.
Definition at line 31 of file SchedulerTestRunnerMock.php.
| Fossology\Reuser\Test\SchedulerTestRunnerMock::run | ( | $uploadId, | |
$userId = 2, |
|||
$groupId = 2, |
|||
$jobId = 1, |
|||
$args = "" |
|||
| ) |
Function to run agent from scheduler.
| int | $uploadId | Upload id to run agent on |
| int | $userId | User id to use |
| int | $groupId | Group id to use |
| int | $jobId | Job id to run |
| string | $args | Arguments for scheduler |
Implements Fossology\Reuser\Test\SchedulerTestRunner.
Definition at line 81 of file SchedulerTestRunnerMock.php.
|
private |
AgentDao object
Definition at line 61 of file SchedulerTestRunnerMock.php.
|
private |
ClearingDao object
Definition at line 41 of file SchedulerTestRunnerMock.php.
|
private |
ClearingDecisionFilter object
Definition at line 49 of file SchedulerTestRunnerMock.php.
|
private |
ClearingDecisionProcessor object
Definition at line 53 of file SchedulerTestRunnerMock.php.
|
private |
CopyrightDao object
Definition at line 45 of file SchedulerTestRunnerMock.php.
|
private |
DB manager object
Definition at line 36 of file SchedulerTestRunnerMock.php.
|
private |
TreeDao object
Definition at line 65 of file SchedulerTestRunnerMock.php.
|
private |
Upload Dao object
Definition at line 57 of file SchedulerTestRunnerMock.php.