Moodle  2.2.1
http://www.collinsharper.com
SimpleExceptionTrappingInvoker Class Reference
Inheritance diagram for SimpleExceptionTrappingInvoker:
Collaboration diagram for SimpleExceptionTrappingInvoker:

Public Member Functions

 SimpleExceptionTrappingInvoker ($invoker)
 invoke ($method)

Detailed Description

Definition at line 22 of file exceptions.php.


Member Function Documentation

invoke ( method)

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

Parameters:
string$methodTest method to call.

Reimplemented from SimpleInvokerDecorator.

Definition at line 38 of file exceptions.php.

Here is the call graph for this function:

Stores the invoker to be wrapped.

Parameters:
SimpleInvoker$invokerTest method runner.

Definition at line 28 of file exceptions.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations