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

Public Member Functions

 testFilterEffectiveEvents ()
 
 testFilterEffectiveEventsIdenticalEventsOverride ()
 
 testFilterEffectiveEventsOppositeIdenticalEventsOverwrite ()
 
 testFilterEffectiveEventsOppositeIdenticalEventsOverwriteInOtherOrder ()
 
 testFilterEffectiveEventsWithEmptyArray ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 createEvents ()
 
 createEvent ($eventTimestamp, ClearingLicense $clearingLicense)
 

Protected Attributes

 $clearingEventProcessor
 

Private Attributes

 $itemId = 12
 
 $userId = 5
 
 $groupId = 2
 
 $eventType = ClearingEventTypes::USER
 
 $timestamp
 
 $addedEvent
 
 $removedEvent
 
 $addedName = "<added>"
 
 $addedId = 400
 
 $removedName = "<removed>"
 
 $removedId = 399
 

Detailed Description

Definition at line 16 of file ClearingEventProcessorTest.php.

Member Function Documentation

◆ createEvent()

Fossology\Lib\BusinessRules\ClearingEventProcessorTest::createEvent (   $eventTimestamp,
ClearingLicense  $clearingLicense 
)
protected
Parameters
int$eventTimestamp
ClearingLicense$clearingLicense
Returns
ClearingEvent

Definition at line 88 of file ClearingEventProcessorTest.php.

◆ createEvents()

Fossology\Lib\BusinessRules\ClearingEventProcessorTest::createEvents ( )
protected
Returns
array

Definition at line 70 of file ClearingEventProcessorTest.php.


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