Class Horde_Argv_HelpTest

Description

Located in /Argv/test/Horde/Argv/HelpTest.php (line 11)

PHPUnit_Framework_TestCase
   |
   --Horde_Argv_TestBase
      |
      --Horde_Argv_HelpTest
Variable Summary
Method Summary
 void assertHelpEquals ( $expectedOutput)
 void makeParser ( $columns)
 void setUp ()
 void tearDown ()
 void tesHelpOldUsage ()
 void testHelp ()
 void testWrapColumns ()
Variables
static mixed $expected_help_basic = 'Usage: bar.php [options]

Options:
-a APPLE throw APPLEs at basket
-b NUM, --boo=NUM shout "boo!" NUM times (in order to frighten away all the
evil spirits that cause trouble and mayhem)
--foo=FOO store FOO in the foo list for later fooing
-h, --help show this help message and exit
'
(line 14)
  • access: public
static mixed $expected_help_long_opts_first = 'Usage: bar.php [options]

Options:
-a APPLE throw APPLEs at basket
--boo=NUM, -b NUM shout "boo!" NUM times (in order to frighten away all the
evil spirits that cause trouble and mayhem)
--foo=FOO store FOO in the foo list for later fooing
--help, -h show this help message and exit
'
(line 24)
  • access: public
static mixed $expected_help_short_lines = 'Usage: bar.php [options]

Options:
-a APPLE throw APPLEs at basket
-b NUM, --boo=NUM shout "boo!" NUM times (in order to
frighten away all the evil spirits
that cause trouble and mayhem)
--foo=FOO store FOO in the foo list for later
fooing
-h, --help show this help message and exit
'
(line 47)
  • access: public
static mixed $expected_help_title_formatter = 'Usage
=====
bar.php [options]

Options
=======
-a APPLE throw APPLEs at basket
--boo=NUM, -b NUM shout "boo!" NUM times (in order to frighten away all the
evil spirits that cause trouble and mayhem)
--foo=FOO store FOO in the foo list for later fooing
--help, -h show this help message and exit
'
(line 34)
  • access: public
Methods
assertHelpEquals (line 94)
  • access: public
void assertHelpEquals ( $expectedOutput)
  • $expectedOutput
makeParser (line 74)
  • access: public
void makeParser ( $columns)
  • $columns
setUp (line 59)
  • access: public
void setUp ()
tearDown (line 65)
  • access: public
void tearDown ()
tesHelpOldUsage (line 113)
  • access: public
void tesHelpOldUsage ()
testHelp (line 108)
  • access: public
void testHelp ()
testHelpDescriptionGroups (line 140)
  • access: public
void testHelpDescriptionGroups ()
testHelpLongOptsFirst (line 119)
  • access: public
void testHelpLongOptsFirst ()
testHelpTitleFormatter (line 125)
  • access: public
void testHelpTitleFormatter ()
testWrapColumns (line 131)
  • access: public
void testWrapColumns ()

Inherited Methods

Inherited From Horde_Argv_TestBase

 Horde_Argv_TestBase::assertHelp()
 Horde_Argv_TestBase::assertOutput()
 Horde_Argv_TestBase::assertParseFail()
 Horde_Argv_TestBase::assertParseOK()
 Horde_Argv_TestBase::assertRaises()
 Horde_Argv_TestBase::assertTypeError()
 Horde_Argv_TestBase::makeOption()

Documentation generated on Sun, 30 Jan 2011 05:17:59 +0000 by phpDocumentor 1.4.3