FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
testDownloadDirHasChildDirLevel0 () | |
download one dir(one url) More... | |
testDownloadDirHasNoChildDirLevel0 () | |
Download one dir(one url) More... | |
testDownloadDirHasChildDirLevel1 () | |
Download one dir(one url) More... | |
testDownloadDirCurrentDirLevel0 () | |
Download one file(one url) More... | |
testDownloadURLDesAbnormal () | |
download one file(one url) More... | |
testDownloadAcceptRejectType1 () | |
download one dir(one url) More... | |
testtDownloadAcceptRejectType2 () | |
download one dir(one url) More... | |
preparations () | |
Replace default repo with new repo. | |
change_proxy ($proxy_type, $porxy) | |
Change proxy to test. | |
test_proxy_ftp () | |
Test proxy ftp. More... | |
test_proxy_http () | |
Test proxy http and no proxy. More... | |
test_proxy_https () | |
Test proxy https. More... | |
Public Attributes | |
$WGET_PATH = "" | |
$DB_COMMAND = "" | |
$DB_NAME = "" | |
$SYSCONF_DIR = "" | |
Protected Member Functions | |
setUp () | |
tearDown () | |
Clean the env. More... | |
Test wget agent from cli
Definition at line 37 of file cliParamsTest4WgetAgent.php.
|
protected |
Initialization
Definition at line 48 of file cliParamsTest4WgetAgent.php.
|
protected |
Clean the env.
Definition at line 330 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::test_proxy_ftp | ( | ) |
Test proxy ftp.
Definition at line 271 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::test_proxy_http | ( | ) |
Test proxy http and no proxy.
Definition at line 290 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::test_proxy_https | ( | ) |
Test proxy https.
Definition at line 314 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::testDownloadAcceptRejectType1 | ( | ) |
download one dir(one url)
Definition at line 201 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::testDownloadDirCurrentDirLevel0 | ( | ) |
Download one file(one url)
Definition at line 159 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::testDownloadDirHasChildDirLevel0 | ( | ) |
download one dir(one url)
Under this direcotry, also having other directory(s)
Definition at line 91 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::testDownloadDirHasChildDirLevel1 | ( | ) |
Download one dir(one url)
Under this direcotry, also having other directory(s). Since the level is 1, so can not download the files under url/dir(s)/, just download the directory(s) under url/
Definition at line 137 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::testDownloadDirHasNoChildDirLevel0 | ( | ) |
Download one dir(one url)
Under this directory, having no other directory(s), having several files
Definition at line 114 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::testDownloadURLDesAbnormal | ( | ) |
download one file(one url)
This url and destination are very special, the path has some blank spaces, '(' and ')'
Definition at line 181 of file cliParamsTest4WgetAgent.php.
cliParamsTest4Wget::testtDownloadAcceptRejectType2 | ( | ) |
download one dir(one url)
Definition at line 222 of file cliParamsTest4WgetAgent.php.