FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\BusinessRules\AgentLicenseEventProcessorTest Class Reference
Inheritance diagram for Fossology\Lib\BusinessRules\AgentLicenseEventProcessorTest:
Inheritance graph
Collaboration diagram for Fossology\Lib\BusinessRules\AgentLicenseEventProcessorTest:
Collaboration graph

Public Member Functions

 testGetScannerDetectedLicenses ()
 
 testGetScannerDetectedLicenseDetails ()
 
 testGetScannerDetectedLicenseDetailsWithUnknownAgent ()
 
 testGetScannerDetectedLicenseDetailsWithOutdatedMatches ()
 
 testGetScannerDetectedLicenseDetailsNoLicenseFoundShouldBeSkipped ()
 
 testGetScannedLicensesWithEmptyDetails ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 createLicenseMatch ($licenseId, $licenseShortName, $agentId, $agentName, $matchId, $percentage)
 

Private Attributes

 $licenseDao
 
 $agentsDao
 
 $itemTreeBounds
 
 $agentLicenseEventProcessor
 
 $dbManagerMock
 
 $latestScanners
 

Detailed Description

Definition at line 18 of file AgentLicenseEventProcessorTest.php.

Member Function Documentation

◆ createLicenseMatch()

Fossology\Lib\BusinessRules\AgentLicenseEventProcessorTest::createLicenseMatch (   $licenseId,
  $licenseShortName,
  $agentId,
  $agentName,
  $matchId,
  $percentage 
)
protected
Returns
M\MockInterface

Definition at line 184 of file AgentLicenseEventProcessorTest.php.

◆ testGetScannerDetectedLicenses()

Fossology\Lib\BusinessRules\AgentLicenseEventProcessorTest::testGetScannerDetectedLicenses ( )

@group repairme

Definition at line 60 of file AgentLicenseEventProcessorTest.php.

Member Data Documentation

◆ $latestScanners

Fossology\Lib\BusinessRules\AgentLicenseEventProcessorTest::$latestScanners
private
Initial value:
= array(array('agent_pk'=>23,'agent_name'=>'nomos'),
array('agent_pk'=>22,'agent_name'=>'monk'))

Definition at line 29 of file AgentLicenseEventProcessorTest.php.


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