SimpleInvokerDecorator Class Reference

Inheritance diagram for SimpleInvokerDecorator:
[legend]

List of all members.


Public Member Functions

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

Public Attributes

 $_invoker


Detailed Description

Definition at line 70 of file invoker.php.


Member Function Documentation

SimpleInvokerDecorator::SimpleInvokerDecorator ( &$  invoker  ) 

Stores the invoker to wrap.

Parameters:
SimpleInvoker $invoker Test method runner.

Definition at line 77 of file invoker.php.

Referenced by SimpleErrorTrappingInvoker::SimpleErrorTrappingInvoker(), and SimpleExceptionTrappingInvoker::SimpleExceptionTrappingInvoker().

& SimpleInvokerDecorator::getTestCase (  ) 

Accessor for test case being run.

Returns:
SimpleTestCase Test case. public

Definition at line 86 of file invoker.php.

Referenced by SimpleErrorTrappingInvoker::_createErrorQueue(), and SimpleExceptionTrappingInvoker::invoke().

SimpleInvokerDecorator::before ( method  ) 

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

Parameters:
string $method Test method to call. public

Definition at line 96 of file invoker.php.

SimpleInvokerDecorator::invoke ( method  ) 

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

Parameters:
string $method Test method to call. public

Reimplemented in SimpleErrorTrappingInvoker, and SimpleExceptionTrappingInvoker.

Definition at line 106 of file invoker.php.

SimpleInvokerDecorator::after ( method  ) 

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

Parameters:
string $method Test method to call. public

Definition at line 116 of file invoker.php.


Member Data Documentation

SimpleInvokerDecorator::$_invoker

Definition at line 71 of file invoker.php.


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