X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsrc%2Fpharext%2FCliCommandTest.php;h=f8f4da442ea9d2ad58294bb77fdd37bbb0a2dd3a;hb=cd81df9ffcfe5af24c098a49b76721439bb5cf40;hp=7fd24487d2888318328fce30d3ca7d2649b4819f;hpb=e1c1b76f0a87c7573e30468763d47c0b97b11e8e;p=pharext%2Fpharext diff --git a/tests/src/pharext/CliCommandTest.php b/tests/src/pharext/CliCommandTest.php index 7fd2448..f8f4da4 100644 --- a/tests/src/pharext/CliCommandTest.php +++ b/tests/src/pharext/CliCommandTest.php @@ -2,6 +2,11 @@ namespace pharext; +require __DIR__."/../../autoload.php"; + +use pharext\Cli\Args as CliArgs; +use pharext\Cli\Command as CliCommand; + class CliCommandTest extends \PHPUnit_Framework_TestCase { use CliCommand; @@ -37,14 +42,14 @@ class CliCommandTest extends \PHPUnit_Framework_TestCase $this->expectOutputString(<<] + $ testprog [-hvq] [-p|-n|-c ] [-s []] -h|--help Display help -v|--verbose More output -q|--quiet Less output -p|--prefix PHP installation prefix if phpize is not in \$PATH, e.g. /opt/php7 -n|--common-name PHP common program name, e.g. php5 or zts-php [php] - -c|--configure Additional extension configure flags, e.g. -c --with-flag + -c|--configure Additional extension configure flags, e.g. -c --with-flag (MULTIPLE) -s|--sudo [] Installation might need increased privileges [sudo -S %s]