FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Decider\Test\SchedulerTest Class Reference

Test cases for interaction between decider and scheduler. More...

Inheritance diagram for Fossology\Decider\Test\SchedulerTest:
Inheritance graph
Collaboration diagram for Fossology\Decider\Test\SchedulerTest:
Collaboration graph

Public Member Functions

 testDeciderMockScanWithNoEventsAndOnlyNomosShouldNotMakeADecision ()
 
 testDeciderRealScanWithNoEventsAndOnlyNomosShouldNotMakeADecision ()
 
 testDeciderMockScanWithNoEventsAndNomosContainedInMonkShouldMakeADecision ()
 
 testDeciderRealScanWithNoEventsAndNomosContainedInMonkShouldMakeADecision ()
 
 testDeciderMockScanWithNoEventsAndNomosNotContainedInMonkShouldNotMakeADecision ()
 
 testDeciderRealScanWithNoEventsAndNomosNotContainedInMonkShouldNotMakeADecision ()
 
 testDeciderMockScanWithNoEventsAndNomosContainedInOneOfTwoEqualsMonkShouldMakeADecision ()
 
 testDeciderRealScanWithNoEventsAndNomosContainedInOneOfTwoEqualsMonkShouldMakeADecision ()
 
 testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithMappedLicenseShouldMakeADecision ()
 
 testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithMappedLicenseShouldMakeADecision ()
 
 testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchShouldNotMakeADecision ()
 
 testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchShouldNotMakeADecision ()
 
 testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchForSameLicenseShouldMakeADecision ()
 
 testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchForSameLicenseShouldMakeADecision ()
 
 testDeciderRealBulkReuseShouldScheduleMonkBulk ()
 
 testDeciderRealShouldMakeDecisionAsWipIfUnhandledScannerEvent ()
 
 testDeciderRealShouldMakeNoDecisionForIrrelevantFiles ()
 

Protected Member Functions

 setUp ()
 Setup the objects, database and repository.
 
 tearDown ()
 Destroy objects, database and repository.
 

Private Member Functions

 setUpRepo ()
 Setup test repository.
 
 rmRepo ()
 Destroy test repository.
 
 setUpTables ()
 Create test tables required by agent.
 
 getHeartCount ($output)
 Get the heart count value from the agent output. More...
 
 runnerDeciderScanWithNoEventsAndOnlyNomosShouldNotMakeADecision ($runner)
 
 runnerDeciderScanWithNoEventsAndNomosContainedInMonkShouldMakeADecision ($runner)
 
 runnerDeciderScanWithNoEventsAndNomosNotContainedInMonkShouldNotMakeADecision ($runner)
 
 runnerDeciderScanWithNoEventsAndNomosContainedInOneOfTwoEqualsMonkShouldMakeADecision ($runner)
 
 runnerDeciderScanWithNoEventsAndNomosContainedInMonkWithMappedLicenseShouldMakeADecision ($runner)
 
 runnerDeciderScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchShouldNotMakeADecision ($runner)
 
 runnerDeciderScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchForSameLicenseShouldMakeADecision ($runner)
 
 runnerBulkReuseShouldScheduleMonkBulk ($runner)
 
 runnerShouldMakeDecisionAsWipIfUnhandledScannerEvent ($runner)
 
 runnerDeciderRealShouldMakeNoDecisionForIrrelevantFiles ($runner)
 

Private Attributes

 $testDb
 
 $dbManager
 
 $testInstaller
 
 $licenseDao
 
 $clearingDao
 
 $clearingDecisionProcessor
 
 $agentLicenseEventProcessor
 
 $uploadDao
 
 $uploadPermDao
 
 $highlightDao
 
 $showJobsDao
 
 $copyrightDao
 
 $compatibilityDao
 
 $runnerCli
 
 $runnerMock
 

Detailed Description

Test cases for interaction between decider and scheduler.

Definition at line 42 of file schedulerTest.php.

Member Function Documentation

◆ getHeartCount()

Fossology\Decider\Test\SchedulerTest::getHeartCount (   $output)
private

Get the heart count value from the agent output.

Parameters
string$outputOutput from agent
Returns
int Heart count value, -1 on failure

Definition at line 182 of file schedulerTest.php.

◆ testDeciderMockScanWithNoEventsAndNomosContainedInMonkShouldMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderMockScanWithNoEventsAndNomosContainedInMonkShouldMakeADecision ( )

@group Functional

Definition at line 239 of file schedulerTest.php.

◆ testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchForSameLicenseShouldMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchForSameLicenseShouldMakeADecision ( )

@group Functional

Definition at line 504 of file schedulerTest.php.

◆ testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchShouldNotMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchShouldNotMakeADecision ( )

@group Functional

Definition at line 445 of file schedulerTest.php.

◆ testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithMappedLicenseShouldMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderMockScanWithNoEventsAndNomosContainedInMonkWithMappedLicenseShouldMakeADecision ( )

@group Functional

Definition at line 386 of file schedulerTest.php.

◆ testDeciderMockScanWithNoEventsAndNomosContainedInOneOfTwoEqualsMonkShouldMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderMockScanWithNoEventsAndNomosContainedInOneOfTwoEqualsMonkShouldMakeADecision ( )

@group Functional

Definition at line 334 of file schedulerTest.php.

◆ testDeciderMockScanWithNoEventsAndNomosNotContainedInMonkShouldNotMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderMockScanWithNoEventsAndNomosNotContainedInMonkShouldNotMakeADecision ( )

@group Functional

Definition at line 286 of file schedulerTest.php.

◆ testDeciderMockScanWithNoEventsAndOnlyNomosShouldNotMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderMockScanWithNoEventsAndOnlyNomosShouldNotMakeADecision ( )

@group Functional

Definition at line 193 of file schedulerTest.php.

◆ testDeciderRealBulkReuseShouldScheduleMonkBulk()

Fossology\Decider\Test\SchedulerTest::testDeciderRealBulkReuseShouldScheduleMonkBulk ( )

@group Functional

Definition at line 565 of file schedulerTest.php.

◆ testDeciderRealScanWithNoEventsAndNomosContainedInMonkShouldMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderRealScanWithNoEventsAndNomosContainedInMonkShouldMakeADecision ( )

@group Functional

Definition at line 245 of file schedulerTest.php.

◆ testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchForSameLicenseShouldMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchForSameLicenseShouldMakeADecision ( )

@group Functional

Definition at line 510 of file schedulerTest.php.

◆ testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchShouldNotMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithButWithOtherAgentMatchShouldNotMakeADecision ( )

@group Functional

Definition at line 451 of file schedulerTest.php.

◆ testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithMappedLicenseShouldMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderRealScanWithNoEventsAndNomosContainedInMonkWithMappedLicenseShouldMakeADecision ( )

@group Functional

Definition at line 392 of file schedulerTest.php.

◆ testDeciderRealScanWithNoEventsAndNomosContainedInOneOfTwoEqualsMonkShouldMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderRealScanWithNoEventsAndNomosContainedInOneOfTwoEqualsMonkShouldMakeADecision ( )

@group Functional

Definition at line 340 of file schedulerTest.php.

◆ testDeciderRealScanWithNoEventsAndNomosNotContainedInMonkShouldNotMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderRealScanWithNoEventsAndNomosNotContainedInMonkShouldNotMakeADecision ( )

@group Functional

Definition at line 292 of file schedulerTest.php.

◆ testDeciderRealScanWithNoEventsAndOnlyNomosShouldNotMakeADecision()

Fossology\Decider\Test\SchedulerTest::testDeciderRealScanWithNoEventsAndOnlyNomosShouldNotMakeADecision ( )

@group Functional

Definition at line 199 of file schedulerTest.php.

◆ testDeciderRealShouldMakeDecisionAsWipIfUnhandledScannerEvent()

Fossology\Decider\Test\SchedulerTest::testDeciderRealShouldMakeDecisionAsWipIfUnhandledScannerEvent ( )

@group Functional

Definition at line 611 of file schedulerTest.php.

◆ testDeciderRealShouldMakeNoDecisionForIrrelevantFiles()

Fossology\Decider\Test\SchedulerTest::testDeciderRealShouldMakeNoDecisionForIrrelevantFiles ( )

@group xFunctional

Definition at line 655 of file schedulerTest.php.


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