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

Public Member Functions

 SimpleInvokerDecorator (&$invoker)
getTestCase ()
 before ($method)
 invoke ($method)
 after ($method)

Data Fields

 $_invoker

Detailed Description

Definition at line 100 of file invoker.php.


Member Function Documentation

after ( method)

Runs test level clean up. Used for changing the mechanics of base test cases.

Parameters:
string$methodTest method to call. public

Reimplemented in EclipseInvoker.

Definition at line 146 of file invoker.php.

before ( method)

Runs test level set up. Used for changing the mechanics of base test cases.

Parameters:
string$methodTest method to call. public

Reimplemented in EclipseInvoker.

Definition at line 126 of file invoker.php.

& getTestCase ( )

Accessor for test case being run.

Returns:
SimpleTestCase Test case. public

Definition at line 116 of file invoker.php.

Here is the caller graph for this function:

invoke ( method)

Invokes a test method and buffered with setUp() and tearDown() calls.

Parameters:
string$methodTest method to call. public

Reimplemented in SimpleErrorTrappingInvoker, and SimpleExceptionTrappingInvoker.

Definition at line 136 of file invoker.php.

SimpleInvokerDecorator ( &$  invoker)

Stores the invoker to wrap.

Parameters:
SimpleInvoker$invokerTest method runner.

Definition at line 107 of file invoker.php.

Here is the caller graph for this function:


Field Documentation

$_invoker

Definition at line 101 of file invoker.php.


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