FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Test the ununpack agent cli parameters. (Normal) More...
Public Member Functions | |
setUp () | |
Setup test repo and db. More... | |
tearDown () | |
Teardown test repo and db. More... | |
testNormalParamI () | |
Call agent with -i flag. More... | |
testNormalIso1 () | |
Pass an iso to agent. More... | |
testNormalParamL () | |
Pass a log file to the agent. More... | |
testNormalParamx () | |
Check clean flag. More... | |
testNormalParamr () | |
Check recurse flag. More... | |
testNormalIso2 () | |
Pass an iso to agent. More... | |
testNormalRpm () | |
Check for RPM files. More... | |
testNormalTar () | |
Check for TAR files. More... | |
testNormalJar () | |
Check for RAR files compressed on Windows systems. More... | |
testNormalZip () | |
Check for ZIP files. More... | |
testNormalDsc () | |
Check for CAB and MSI files. More... | |
testNormalCompressedFile () | |
Check for Z, GZ and BZ2 files. More... | |
testNormalTarball () | |
Check for Z, GZ and BZ2 tarballs. More... | |
testNormalPdf () | |
Check for PDF files. More... | |
testNormalUpx () | |
Check for UPX files. More... | |
testNormalFsImage () | |
Check for disk images (file systems) More... | |
testNormalMultyProcess () | |
Check for multi process flag. More... | |
testNormalEXE () | |
Check for EXE files. More... | |
testNormalcpio () | |
Check for CPIO files. More... | |
Private Attributes | |
$agentDir | |
$ununpack | |
$testDb | |
$testInstaller | |
Test the ununpack agent cli parameters. (Normal)
Definition at line 36 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::setUp | ( | ) |
Setup test repo and db.
Definition at line 60 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::tearDown | ( | ) |
Teardown test repo and db.
Definition at line 88 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalCompressedFile | ( | ) |
Check for Z, GZ and BZ2 files.
Definition at line 392 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalcpio | ( | ) |
Check for CPIO files.
Definition at line 605 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalDsc | ( | ) |
Check for CAB and MSI files.
Check for DSC files
Definition at line 374 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalEXE | ( | ) |
Check for EXE files.
Definition at line 586 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalFsImage | ( | ) |
Check for disk images (file systems)
Definition at line 495 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalIso1 | ( | ) |
Pass an iso to agent.
Command is ununpack -qCR xxxxx -d xxxxx
Definition at line 122 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalIso2 | ( | ) |
Pass an iso to agent.
Definition at line 201 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalJar | ( | ) |
Check for RAR files compressed on Windows systems.
unpack archive lib and xx.deb/xx.udeb file Check for archive lib and deb files
Check for Jar files
Definition at line 307 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalMultyProcess | ( | ) |
Check for multi process flag.
Command is ununpack -qCR -m 10 xxxxx -d xxxxx
-m
flagDefinition at line 563 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalParamI | ( | ) |
Call agent with -i
flag.
-i
flag to initialize dbDefinition at line 107 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalParamL | ( | ) |
Pass a log file to the agent.
Command is ununpack -qCR xxxxx -d xxxxx -L log
-L
flagDefinition at line 143 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalParamr | ( | ) |
Check recurse flag.
Command is ununpack -qC -r 0 -d xxxxx
-r
flagDefinition at line 183 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalParamx | ( | ) |
Check clean flag.
Command is ununpack -qCR -x xxxxx -d xxxxx
-x
flagDefinition at line 164 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalPdf | ( | ) |
Check for PDF files.
Definition at line 461 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalRpm | ( | ) |
Check for RPM files.
Definition at line 217 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalTar | ( | ) |
Check for TAR files.
Definition at line 237 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalTarball | ( | ) |
Check for Z, GZ and BZ2 tarballs.
Definition at line 432 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalUpx | ( | ) |
Check for UPX files.
Definition at line 479 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalZip | ( | ) |
Check for ZIP files.
Definition at line 324 of file cliParamsTest4UnunpackNormal.php.
|
private |
Location of agent directory
Definition at line 41 of file cliParamsTest4UnunpackNormal.php.
|
private |
Test db
Definition at line 50 of file cliParamsTest4UnunpackNormal.php.
|
private |
TestInstaller object
Definition at line 54 of file cliParamsTest4UnunpackNormal.php.
|
private |
Location of agent binary
Definition at line 45 of file cliParamsTest4UnunpackNormal.php.