FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
test cli fo_nomos_license_list More...
Public Member Functions | |
test_get_nomos_list () | |
first populate test data via upload from url, then get nomos license list More... | |
upload_from_url () | |
populate test data via upload from url More... | |
test_others () | |
help msg, etc More... | |
Static Public Member Functions | |
static | setUpBeforeClass () |
static | tearDownAfterClass () |
Public Attributes | |
$SYSCONF_DIR = "/usr/local/etc/fossology/" | |
$DB_NAME | |
$PG_CONN | |
$DB_COMMAND | |
$fossology_testconfig | |
$scheduler_path | |
$cp2foss_path | |
$fo_nomos_license_list_path | |
Protected Member Functions | |
setUp () | |
tearDown () | |
clean the env | |
test cli fo_nomos_license_list
enabled
Definition at line 28 of file test_fo_nomos_license_list.php.
|
static |
get the value of the FOSSOLOGY_TESTCONFIG environment variable, which will be initialized by the Makefile by running the create_test_database.pl script
Definition at line 55 of file test_fo_nomos_license_list.php.
test_fo_nomos_license_list::test_get_nomos_list | ( | ) |
first populate test data via upload from url, then get nomos license list
include container
for this uload, will get 9 lines for report
check one line of the report
do not include container
for this uload, will get 4 lines for report
check one line of the report
Definition at line 134 of file test_fo_nomos_license_list.php.
test_fo_nomos_license_list::test_others | ( | ) |
help msg, etc
help
help, not authentication
Definition at line 216 of file test_fo_nomos_license_list.php.
test_fo_nomos_license_list::upload_from_url | ( | ) |
populate test data via upload from url
upload a file to Software Repository
get upload id that you just upload for testing
Definition at line 178 of file test_fo_nomos_license_list.php.