FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Decider\Test\SchedulerTestRunnerMock Class Reference
Inheritance diagram for Fossology\Decider\Test\SchedulerTestRunnerMock:
Inheritance graph
Collaboration diagram for Fossology\Decider\Test\SchedulerTestRunnerMock:
Collaboration graph

Public Member Functions

 __construct (DbManager $dbManager, AgentDao $agentDao, ClearingDao $clearingDao, UploadDao $uploadDao, HighlightDao $highlightDao, ShowJobsDao $showJobsDao, CopyrightDao $copyrightDao, CompatibilityDao $compatibilityDao, LicenseDao $licenseDao, 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
 
 $copyrightDao
 
 $compatibilityDao
 
 $licenseDao
 

Detailed Description

Definition at line 29 of file SchedulerTestRunnerMock.php.

Member Function Documentation

◆ run()

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.

Parameters
int$uploadIdUpload id agent should work on
int$userIdUser who run the agent
int$groupIdGroup who run the agent
int$jobIdJob id agent should work on
string$argsAdditional arguments to the agent
See also
SchedulerTestRunner::run()

Implements Fossology\Decider\Test\SchedulerTestRunner.

Definition at line 82 of file SchedulerTestRunnerMock.php.


The documentation for this class was generated from the following file: