FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Test cli parameter i and v and rpm file and no parameters. More...
Public Member Functions | |
setUp () | |
Set up test environment. More... | |
testHelp () | |
Test help message. More... | |
testI () | |
Test DB init flag. More... | |
testOneRPM () | |
Test CLI with single RPM. More... | |
testOneRPMV () | |
Test CLI in verbose with one RPM. More... | |
Public Attributes | |
$agentDir | |
$pkgagent | |
$cwd | |
Protected Member Functions | |
tearDown () | |
Protected Attributes | |
$testfile = __DIR__.'/../testdata/fossology-1.2.0-1.el5.i386.rpm' | |
Private Attributes | |
$testDb | |
$testInstaller | |
Test cli parameter i and v and rpm file and no parameters.
Definition at line 25 of file ft_cliPkgagentTest.php.
ft_cliPkgagentTest::setUp | ( | ) |
Set up test environment.
Definition at line 40 of file ft_cliPkgagentTest.php.
ft_cliPkgagentTest::testHelp | ( | ) |
Test help message.
-h
on pkgagent CLIDefinition at line 89 of file ft_cliPkgagentTest.php.
ft_cliPkgagentTest::testI | ( | ) |
Test DB init flag.
-i
on pkgagent CLIDefinition at line 109 of file ft_cliPkgagentTest.php.
ft_cliPkgagentTest::testOneRPM | ( | ) |
Test CLI with single RPM.
Definition at line 132 of file ft_cliPkgagentTest.php.
ft_cliPkgagentTest::testOneRPMV | ( | ) |
Test CLI in verbose with one RPM.
-vv
flagDefinition at line 167 of file ft_cliPkgagentTest.php.