FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
test cli cp2foss More...
Public Member Functions | |
test_upload_from_server () | |
upload from server More... | |
test_upload_from_url () | |
upload from url More... | |
test_list_agent_and_others () | |
list agents and help msg, etc More... | |
test_upload_from_server () | |
upload from server More... | |
test_upload_from_server () | |
upload from server More... | |
Static Public Member Functions | |
static | setUpBeforeClass () |
static | tearDownAfterClass () |
static | setUpBeforeClass () |
static | tearDownAfterClass () |
static | setUpBeforeClass () |
static | tearDownAfterClass () |
Public Attributes | |
$SYSCONF_DIR = "/usr/local/etc/fossology/" | |
$DB_NAME | |
$PG_CONN | |
$DB_COMMAND | |
$fossology_testconfig | |
$scheduler_path | |
$cp2foss_path | |
Protected Member Functions | |
setUp () | |
tearDown () | |
clean the env | |
test cli cp2foss
test cli cp2foss for package testing
enabled
Definition at line 28 of file test_cp2foss.php.
|
static |
set default config dir as /etc/fossology/
Definition at line 50 of file test_cp2foss.php.
|
static |
set default config dir as /etc/fossology/
Definition at line 50 of file test_cp2foss.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 52 of file test_cp2foss.php.
test_cp2foss::test_list_agent_and_others | ( | ) |
list agents and help msg, etc
help
list agents
uplaod NULL
Definition at line 381 of file test_cp2foss.php.
test_cp2foss::test_upload_from_server | ( | ) |
upload from server
upload a file to Software Repository
get upload id that you just upload for testing
upload a dir to Software Repository
get upload id that you just upload for testing
upload a dir to one specified path
get upload id that you just upload for testing
cp2foss –user USER –password PASSWORD -q all -A -f test/exclude -n 'test exclue dir' \ -d 'test des exclude dir' -X .svn -X ./ -v
get upload id that you just upload for testing
Definition at line 98 of file test_cp2foss.php.
test_cp2foss::test_upload_from_server | ( | ) |
upload from server
upload a file to Software Repository
get upload id that you just upload for testing
upload a dir to Software Repository
get upload id that you just upload for testing
upload a dir to one specified path
get upload id that you just upload for testing
cp2foss –user USER –password PASSWORD -q all -A -f test/exclude -n 'test exclue dir' \ -d 'test des exclude dir' -X .svn -X ./ -v
get upload id that you just upload for testing
Definition at line 98 of file test_cp2foss.php.
test_cp2foss::test_upload_from_server | ( | ) |
upload from server
cp2foss –username USER –password PASSWORD -q all -d 'regular expression testing' -s ''
get upload id that you just upload for testing
file path should not include fossology/src
upload a file to Software Repository
get upload id that you just upload for testing
upload a dir to Software Repository
get upload id that you just upload for testing
upload a dir to one specified path
get upload id that you just upload for testing
cp2foss –username USER –password PASSWORD -q all -A -f test/exclude -n 'test exclue dir' \ -d 'test des exclude dir' -X .svn -X ./ -v
get upload id that you just upload for testing
cp2foss –username USER –password PASSWORD -q all -A -f 'regular expression testing' -n 'test regular expression dir' \ -d 'test des regular expression' '*.php'
get upload id that you just upload for testing
Definition at line 129 of file test_cp2foss.php.
test_cp2foss::test_upload_from_url | ( | ) |
upload from url
upload a file to Software Repository
get upload id that you just upload for testing
do not schedule nomos
Definition at line 337 of file test_cp2foss.php.