Class SimpleInvokerDecorator

Description

Do nothing decorator. Just passes the invocation straight through.

Located in /invoker.php (line 89)


	
			
Direct descendents
Class Description
 class SimpleExceptionTrappingInvoker Extension that traps exceptions and turns them into an error message. PHP5 only.
 class SimpleErrorTrappingInvoker Extension that traps errors into an error queue.
 class EclipseInvoker Invoker decorator for Eclipse. Captures output until the end of the test.
Variable Summary
 mixed $_invoker
Method Summary
 SimpleInvokerDecorator SimpleInvokerDecorator ( &$invoker, SimpleInvoker $invoker)
 void after (string $method)
 void before (string $method)
 void invoke (string $method)
Variables
mixed $_invoker (line 90)
Methods
Constructor SimpleInvokerDecorator (line 96)

Stores the invoker to wrap.

SimpleInvokerDecorator SimpleInvokerDecorator ( &$invoker, SimpleInvoker $invoker)
after (line 135)

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

  • access: public
void after (string $method)
  • string $method: Test method to call.

Redefined in descendants as:
before (line 115)

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

  • access: public
void before (string $method)
  • string $method: Test method to call.

Redefined in descendants as:
getTestCase (line 105)

Accessor for test case being run.

  • return: Test case.
  • access: public
SimpleTestCase &getTestCase ()
invoke (line 125)

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

  • access: public
void invoke (string $method)
  • string $method: Test method to call.

Redefined in descendants as:

Documentation generated on Sun, 04 May 2008 09:21:42 -0500 by phpDocumentor 1.3.0