Class SimpleErrorTrappingInvoker

Description

Extension that traps errors into an error queue.

Located in /errors.php (line 22)

SimpleInvokerDecorator
   |
   --SimpleErrorTrappingInvoker
Method Summary
 SimpleErrorTrappingInvoker __construct (SimpleInvoker $invoker)
 void invoke (string $method)
Methods
Constructor __construct (line 28)

Stores the invoker to wrap.

SimpleErrorTrappingInvoker __construct (SimpleInvoker $invoker)

Redefinition of:
SimpleInvokerDecorator::__construct()
Stores the invoker to wrap.
createErrorQueue (line 52)

Wires up the error queue for a single test.

  • return: Queue connected to the test.
  • access: protected
SimpleErrorQueue createErrorQueue ()
invoke (line 39)

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:
SimpleInvokerDecorator::invoke()
Invokes a test method and buffered with setUp() and tearDown() calls.

Inherited Methods

Inherited From SimpleInvokerDecorator

 SimpleInvokerDecorator::__construct()
 SimpleInvokerDecorator::after()
 SimpleInvokerDecorator::before()
 SimpleInvokerDecorator::getTestCase()
 SimpleInvokerDecorator::invoke()

Documentation generated on Sun, 31 Oct 2010 16:31:22 -0500 by phpDocumentor 1.4.3