Class SimpleErrorTrappingRunner

Description

Extension that traps errors into an error queue.

Located in /libraries/pear/simpletest/simple_test.php (line 206)

SimpleRunner
   |
   --SimpleErrorTrappingRunner
Method Summary
 SimpleErrorTrappingRunner SimpleErrorTrappingRunner (SimpleTestCase &$test_case, SimpleScorer &$scorer)
 void invoke (string $method)
Variables
Methods
Constructor SimpleErrorTrappingRunner (line 213)

Takes in the test case and reporter to mediate between.

SimpleErrorTrappingRunner SimpleErrorTrappingRunner (SimpleTestCase &$test_case, SimpleScorer &$scorer)
invoke (line 224)

Invokes a test method and dispatches any untrapped errors. Called back from the visiting runner.

  • access: public
void invoke (string $method)
  • string $method: Test method to call.

Redefinition of:
SimpleRunner::invoke()
Invokes a test method and buffered with setUp() and tearDown() calls.

Inherited Methods

Inherited From SimpleRunner

 SimpleRunner::SimpleRunner()
 SimpleRunner::invoke()
 SimpleRunner::paintError()
 SimpleRunner::paintException()
 SimpleRunner::paintFail()
 SimpleRunner::paintFormattedMessage()
 SimpleRunner::paintMessage()
 SimpleRunner::paintMethodEnd()
 SimpleRunner::paintMethodStart()
 SimpleRunner::paintPass()
 SimpleRunner::paintSignal()
 SimpleRunner::run()
 SimpleRunner::_getTestCase()
 SimpleRunner::_isConstructor()
 SimpleRunner::_isTest()

Documentation generated on Fri, 11 Feb 2005 18:14:05 +0000 by phpDocumentor 1.3.0RC3