![]() |
FOSSology
4.6.0
Open Source License Compliance by Open Source Software
|


Public Member Functions | |
| testRun () | |
| Run the test. More... | |
Protected Member Functions | |
| setUp () | |
| Setup the test cases and initialize the objects. More... | |
| tearDown () | |
| Destruct the objects initialized during setUp() More... | |
Private Member Functions | |
| runCopyright ($uploadId) | |
| Run copyright on a given upload id. More... | |
| setUpRepo () | |
| Setup test repo mimicking install. | |
| rmRepo () | |
| Remove the test repo. | |
| setUpTables () | |
| Setup tables required by copyright agent. | |
Private Attributes | |
| $testDb | |
| $testInstaller | |
| $dbManager | |
| $licenseDao | |
| $uploadDao | |
| $uploadPermDao | |
| $copyrightDao | |
Definition at line 33 of file schedulerTest.php.
|
private |
Run copyright on a given upload id.
Setup copyright agent and test environment then run copyright agent and pass the given upload id to scan.
Reports error if agent return code is not 0.
| int | $uploadId | Upload id to be scanned |
Definition at line 104 of file schedulerTest.php.
|
protected |
Setup the test cases and initialize the objects.
Definition at line 69 of file schedulerTest.php.
|
protected |
Destruct the objects initialized during setUp()
Definition at line 86 of file schedulerTest.php.
| schedulerTest::testRun | ( | ) |
Run the test.
Definition at line 178 of file schedulerTest.php.
|
private |
Object of CopyrightDao
Definition at line 63 of file schedulerTest.php.
|
private |
Database manager from test database
Definition at line 47 of file schedulerTest.php.
|
private |
Object of LicenseDao
Definition at line 51 of file schedulerTest.php.
|
private |
Object for test database
Definition at line 38 of file schedulerTest.php.
|
private |
Object for testinstaller
Definition at line 42 of file schedulerTest.php.
|
private |
Object of UploadDao
Definition at line 55 of file schedulerTest.php.
|
private |
Mockery of UploadPermissionDao
Definition at line 59 of file schedulerTest.php.