FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
testGetFileLicenses () | |
testing from GetFileLicenses in this test case, this pfile have only one license More... | |
testGetFileLicensesDul () | |
testing from GetFileLicenses in this test case, this pfile have 2 same license More... | |
testGetFileLicenses_string () | |
testing from GetFileLicenses_tring in this test case, this pfile have only one license More... | |
testGetFilesWithLicense () | |
testing for GetFilesWithLicense More... | |
testLevel1WithLicense () | |
testing for Level1WithLicense More... | |
Public Attributes | |
$upload_pk = 0 | |
$uploadtree_pk_parent = 0 | |
$uploadtree_pk_child = 0 | |
$agent_pk = 0 | |
$uploadtree_tablename = 'uploadtree' | |
Protected Member Functions | |
setUp () | |
initialization More... | |
tearDown () | |
clean the env | |
Private Attributes | |
$testDb | |
$dbManager | |
$logFileName | |
Definition at line 24 of file test_common_license_file.php.
|
protected |
initialization
preparation, add uploadtree, upload, pfile, license_file record
add nomos agent record
add license_ref record
get pfile id
add a license_file record
add child uploadtree record
Definition at line 43 of file test_common_license_file.php.
test_common_license_file::testGetFileLicenses | ( | ) |
testing from GetFileLicenses in this test case, this pfile have only one license
the expected license value
Definition at line 143 of file test_common_license_file.php.
test_common_license_file::testGetFileLicenses_string | ( | ) |
testing from GetFileLicenses_tring in this test case, this pfile have only one license
the expected license value
Definition at line 185 of file test_common_license_file.php.
test_common_license_file::testGetFileLicensesDul | ( | ) |
testing from GetFileLicenses in this test case, this pfile have 2 same license
the expected license value
Definition at line 162 of file test_common_license_file.php.
test_common_license_file::testGetFilesWithLicense | ( | ) |
testing for GetFilesWithLicense
get a license short name
Definition at line 201 of file test_common_license_file.php.
test_common_license_file::testLevel1WithLicense | ( | ) |
testing for Level1WithLicense
get a license short name
Definition at line 221 of file test_common_license_file.php.