![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Tests for Reuser agent and scheduler interaction. More...


Public Member Functions | |
| testReuserMockedScanWithoutAnyUploadToCopyAndNoClearing () | |
| Call runnerReuserScanWithoutAnyUploadToCopyAndNoClearing() More... | |
| testReuserRealScanWithoutAnyUploadToCopyAndNoClearing () | |
| Call runnerReuserScanWithoutAnyUploadToCopyAndNoClearing() More... | |
| testReuserMockedScanWithoutAnyUploadToCopyAndAClearing () | |
| Call runnerReuserScanWithoutAnyUploadToCopyAndAClearing() More... | |
| testReuserRealScanWithoutAnyUploadToCopyAndAClearing () | |
| Call runnerReuserScanWithoutAnyUploadToCopyAndAClearing() More... | |
| testReuserMockedScanWithALocalClearing () | |
| Call runnerReuserScanWithALocalClearing() More... | |
| testReuserRealScanWithALocalClearing () | |
| Call runnerReuserScanWithALocalClearing() More... | |
| testReuserMockedScanWithARepoClearing () | |
| Call runnerReuserScanWithARepoClearing() More... | |
| testReuserRealScanWithARepoClearing () | |
| Call runnerReuserScanWithARepoClearing() More... | |
| testReuserRealScanWithARepoClearingEnhanced () | |
| Call runnerReuserScanWithARepoClearingEnhanced() More... | |
Protected Member Functions | |
| setUp () | |
| Setup test env. | |
| tearDown () | |
| Tear down test env. | |
| insertDecisionFromTwoEvents ($scope=DecisionScopes::ITEM, $originallyClearedItemId=23) | |
| Creates two clearing decisions. More... | |
Private Member Functions | |
| setUpRepo () | |
| Setup test repo. | |
| rmRepo () | |
| Tear down test repo. | |
| setUpTables () | |
| Setup tables required by the agent. | |
| getHeartCount ($output) | |
| Get the heart count from agent. | |
| getFilteredClearings ($uploadId, $groupId) | |
| Get clearings for a given upload id. More... | |
| runnerReuserScanWithoutAnyUploadToCopyAndNoClearing (SchedulerTestRunner $runner) | |
| Test on an upload with no clearing decisions. More... | |
| runnerReuserScanWithoutAnyUploadToCopyAndAClearing ($runner) | |
| Run reuser agent with no upload to copy decisions from. More... | |
Private Attributes | |
| $groupId = 3 | |
| $userId = 2 | |
| $testDb | |
| $dbManager | |
| $testInstaller | |
| $licenseDao | |
| $clearingDao | |
| $clearingDecisionFilter | |
| $uploadDao | |
| $uploadPermDao | |
| $highlightDao | |
| $treeDao | |
| $runnerCli | |
| $runnerMock | |
Tests for Reuser agent and scheduler interaction.
Definition at line 57 of file schedulerTest.php.
|
private |
Get clearings for a given upload id.
| int | $uploadId | |
| int | $groupId |
Definition at line 224 of file schedulerTest.php.
|
protected |
Creates two clearing decisions.
| int | $scope | |
| int | $originallyClearedItemId |
Definition at line 282 of file schedulerTest.php.
|
private |
Run reuser agent with no upload to copy decisions from.
| SchedulerTestRunner | $runner |
Definition at line 334 of file schedulerTest.php.
|
private |
Test on an upload with no clearing decisions.
| SchedulerTestRunner | $runner |
Definition at line 258 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserMockedScanWithALocalClearing | ( | ) |
Call runnerReuserScanWithALocalClearing()
Definition at line 364 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserMockedScanWithARepoClearing | ( | ) |
Call runnerReuserScanWithARepoClearing()
Definition at line 443 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserMockedScanWithoutAnyUploadToCopyAndAClearing | ( | ) |
Call runnerReuserScanWithoutAnyUploadToCopyAndAClearing()
Definition at line 314 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserMockedScanWithoutAnyUploadToCopyAndNoClearing | ( | ) |
Call runnerReuserScanWithoutAnyUploadToCopyAndNoClearing()
Definition at line 237 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserRealScanWithALocalClearing | ( | ) |
Call runnerReuserScanWithALocalClearing()
Definition at line 379 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserRealScanWithARepoClearing | ( | ) |
Call runnerReuserScanWithARepoClearing()
Definition at line 458 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserRealScanWithARepoClearingEnhanced | ( | ) |
Call runnerReuserScanWithARepoClearingEnhanced()
Definition at line 541 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserRealScanWithoutAnyUploadToCopyAndAClearing | ( | ) |
Call runnerReuserScanWithoutAnyUploadToCopyAndAClearing()
Definition at line 325 of file schedulerTest.php.
| Fossology\Reuser\Test\SchedulerTest::testReuserRealScanWithoutAnyUploadToCopyAndNoClearing | ( | ) |
Call runnerReuserScanWithoutAnyUploadToCopyAndNoClearing()
Definition at line 249 of file schedulerTest.php.
|
private |
ClearingDao object
Definition at line 86 of file schedulerTest.php.
|
private |
ClearingDecisionFilter object
Definition at line 90 of file schedulerTest.php.
|
private |
DBManager to use
Definition at line 74 of file schedulerTest.php.
|
private |
Group id to use
Definition at line 62 of file schedulerTest.php.
|
private |
Highlight Dao
Definition at line 102 of file schedulerTest.php.
|
private |
LicenseDao object
Definition at line 82 of file schedulerTest.php.
|
private |
Scheduler interface
Definition at line 111 of file schedulerTest.php.
|
private |
Test runner
Definition at line 116 of file schedulerTest.php.
|
private |
Test db
Definition at line 70 of file schedulerTest.php.
|
private |
TestInstaller object
Definition at line 78 of file schedulerTest.php.
|
private |
Tree dao
Definition at line 106 of file schedulerTest.php.
|
private |
Upload Dao
Definition at line 94 of file schedulerTest.php.
|
private |
Upload permission
Definition at line 98 of file schedulerTest.php.
|
private |
User id to use
Definition at line 66 of file schedulerTest.php.