SimpleExceptionTrappingInvoker Class Reference

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

List of all members.


Public Member Functions

 SimpleExceptionTrappingInvoker ($invoker)
 invoke ($method)


Detailed Description

Definition at line 4 of file exceptions.php.


Member Function Documentation

SimpleExceptionTrappingInvoker::SimpleExceptionTrappingInvoker ( invoker  ) 

Stores the invoker to be wrapped.

Parameters:
SimpleInvoker $invoker Test method runner.

Definition at line 10 of file exceptions.php.

References SimpleInvokerDecorator::SimpleInvokerDecorator().

Here is the call graph for this function:

SimpleExceptionTrappingInvoker::invoke ( method  ) 

Invokes a test method whilst trapping expected exceptions. Any left over unthrown exceptions are then reported as failures.

Parameters:
string $method Test method to call.

Reimplemented from SimpleInvokerDecorator.

Definition at line 20 of file exceptions.php.

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

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:12 2008 for SimpleTest by  1.5.5