![]() |
FOSSology
4.6.0-rc1
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... | |
Tests for Reuser agent and scheduler interaction.
Definition at line 47 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 76 of file schedulerTest.php.
|
private |
ClearingDecisionFilter object
Definition at line 84 of file schedulerTest.php.
|
private |
CopyrightDao object
Definition at line 80 of file schedulerTest.php.
|
private |
DBManager to use
Definition at line 64 of file schedulerTest.php.
|
private |
Group id to use
Definition at line 52 of file schedulerTest.php.
|
private |
Highlight Dao
Definition at line 96 of file schedulerTest.php.
|
private |
LicenseDao object
Definition at line 72 of file schedulerTest.php.
|
private |
Scheduler interface
Definition at line 105 of file schedulerTest.php.
|
private |
Test runner
Definition at line 110 of file schedulerTest.php.
|
private |
Test db
Definition at line 60 of file schedulerTest.php.
|
private |
TestInstaller object
Definition at line 68 of file schedulerTest.php.
|
private |
Tree dao
Definition at line 100 of file schedulerTest.php.
|
private |
Upload Dao
Definition at line 88 of file schedulerTest.php.
|
private |
Upload permission
Definition at line 92 of file schedulerTest.php.
|
private |
User id to use
Definition at line 56 of file schedulerTest.php.