SimpleErrorTrappingInvoker Class Reference

Inheritance diagram for SimpleErrorTrappingInvoker:
[legend]
Collaboration diagram for SimpleErrorTrappingInvoker:
[legend]

List of all members.


Public Member Functions

 SimpleErrorTrappingInvoker (&$invoker)
 invoke ($method)
_createErrorQueue ()


Detailed Description

Definition at line 9 of file errors.php.


Member Function Documentation

SimpleErrorTrappingInvoker::SimpleErrorTrappingInvoker ( &$  invoker  ) 

Stores the invoker to wrap.

Parameters:
SimpleInvoker $invoker Test method runner.

Definition at line 14 of file errors.php.

References SimpleInvokerDecorator::SimpleInvokerDecorator().

Here is the call graph for this function:

SimpleErrorTrappingInvoker::invoke ( method  ) 

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

Parameters:
string $method Test method to call. public

Reimplemented from SimpleInvokerDecorator.

Definition at line 25 of file errors.php.

References _createErrorQueue().

Here is the call graph for this function:

& SimpleErrorTrappingInvoker::_createErrorQueue (  ) 

Wires up the error queue for a single test.

Returns:
SimpleErrorQueue Queue connected to the test. private

Definition at line 38 of file errors.php.

References SimpleTest::getContext(), and SimpleInvokerDecorator::getTestCase().

Referenced by invoke().

Here is the call graph for this function:


The documentation for this class was generated from the following file:

Generated on Mon Jun 2 15:09:11 2008 for SimpleTest by  1.5.5