FOSSology  4.4.0
Open Source License Compliance by Open Source Software
test_fo_nomos_license_list Class Reference

test cli fo_nomos_license_list More...

Inheritance diagram for test_fo_nomos_license_list:
Inheritance graph
Collaboration diagram for test_fo_nomos_license_list:
Collaboration graph

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
 

Detailed Description

test cli fo_nomos_license_list

@outputBuffering enabled

Definition at line 17 of file test_fo_nomos_license_list.php.

Member Function Documentation

◆ setUpBeforeClass()

static test_fo_nomos_license_list::setUpBeforeClass ( )
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 44 of file test_fo_nomos_license_list.php.

◆ test_get_nomos_list()

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 123 of file test_fo_nomos_license_list.php.

◆ test_others()

test_fo_nomos_license_list::test_others ( )

help msg, etc

help

help, not authentication

Definition at line 205 of file test_fo_nomos_license_list.php.

◆ upload_from_url()

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 167 of file test_fo_nomos_license_list.php.


The documentation for this class was generated from the following file: