![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|


Public Member Functions | |
| __construct (DbManager $dbManager, AgentDao $agentDao, ClearingDao $clearingDao, UploadDao $uploadDao, HighlightDao $highlightDao, ShowJobsDao $showJobsDao, ClearingDecisionProcessor $clearingDecisionProcessor, AgentLicenseEventProcessor $agentLicenseEventProcessor) | |
| run ($uploadId, $userId=2, $groupId=2, $jobId=1, $args="") | |
| Get the arguments required by agent to run and try to run the agent. More... | |
Private Attributes | |
| $dbManager | |
| $clearingDao | |
| $clearingDecisionProcessor | |
| $agentLicenseEventProcessor | |
| $uploadDao | |
| $agentDao | |
| $decisionTypes | |
| $highlightDao | |
| $showJobsDao | |
Definition at line 39 of file SchedulerTestRunnerMock.php.
| Fossology\Decider\Test\SchedulerTestRunnerMock::run | ( | $uploadId, | |
$userId = 2, |
|||
$groupId = 2, |
|||
$jobId = 1, |
|||
$args = "" |
|||
| ) |
Get the arguments required by agent to run and try to run the agent.
| int | $uploadId | Upload id agent should work on |
| int | $userId | User who run the agent |
| int | $groupId | Group who run the agent |
| int | $jobId | Job id agent should work on |
| string | $args | Additional arguments to the agent |
Implements Fossology\Decider\Test\SchedulerTestRunner.
Definition at line 77 of file SchedulerTestRunnerMock.php.