Class TestOfShellTestCase

Description

Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.

Located in /libraries/pear/simpletest/test/shell_tester_test.php (line 6)

RunnableTest
   |
   --SimpleTestCase
      |
      --ShellTestCase
         |
         --TestOfShellTestCase
Variable Summary
 mixed $_mock_shell
Method Summary
 TestOfShellTestCase TestOfShellTestCase ()
 void testExitCode ()
 void testOutput ()
 void &_getShell ()
Variables
Methods
Constructor TestOfShellTestCase (line 9)
TestOfShellTestCase TestOfShellTestCase ()
testExitCode (line 16)
void testExitCode ()
testOutput (line 24)
void testOutput ()
testOutputPatterns (line 30)
void testOutputPatterns ()
_getShell (line 13)
void &_getShell ()

Redefinition of:
ShellTestCase::_getShell()
Accessor for current shell. Used for testing the the tester itself.

Inherited Methods

Inherited From ShellTestCase

 ShellTestCase::ShellTestCase()
 ShellTestCase::assertExitCode()
 ShellTestCase::assertFileExists()
 ShellTestCase::assertFileNotExists()
 ShellTestCase::assertFilePattern()
 ShellTestCase::assertNoFilePattern()
 ShellTestCase::assertNoOutputPattern()
 ShellTestCase::assertOutput()
 ShellTestCase::assertOutputPattern()
 ShellTestCase::dumpOutput()
 ShellTestCase::execute()
 ShellTestCase::_createShell()
 ShellTestCase::_getShell()

Inherited From SimpleTestCase

 SimpleTestCase::SimpleTestCase()
 SimpleTestCase::assertExpectation()
 SimpleTestCase::assertFalse()
 SimpleTestCase::assertTrue()
 SimpleTestCase::dump()
 SimpleTestCase::error()
 SimpleTestCase::fail()
 SimpleTestCase::getAssertionLine()
 SimpleTestCase::invoke()
 SimpleTestCase::pass()
 SimpleTestCase::run()
 SimpleTestCase::sendMessage()
 SimpleTestCase::setUp()
 SimpleTestCase::signal()
 SimpleTestCase::swallowErrors()
 SimpleTestCase::tearDown()
 SimpleTestCase::_createRunner()
 SimpleTestCase::_isConstructor()
 SimpleTestCase::_isTest()

Inherited From RunnableTest

 RunnableTest::RunnableTest()
 RunnableTest::getLabel()
 RunnableTest::getSize()
 RunnableTest::run()

Documentation generated on Fri, 24 Dec 2004 13:03:17 +0000 by phpDocumentor 1.3.0RC3