SimpleInvoker Class Reference

List of all members.


Public Member Functions

 SimpleInvoker (&$test_case)
getTestCase ()
 before ($method)
 invoke ($method)
 after ($method)

Public Attributes

 $_test_case


Detailed Description

Definition at line 11 of file invoker.php.


Member Function Documentation

SimpleInvoker::SimpleInvoker ( &$  test_case  ) 

Stashes the test case for later.

Parameters:
SimpleTestCase $test_case Test case to run.

Definition at line 18 of file invoker.php.

& SimpleInvoker::getTestCase (  ) 

Accessor for test case being run.

Returns:
SimpleTestCase Test case. public

Definition at line 27 of file invoker.php.

SimpleInvoker::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 37 of file invoker.php.

SimpleInvoker::invoke ( method  ) 

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

Parameters:
string $method Test method to call. public

Definition at line 47 of file invoker.php.

SimpleInvoker::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 59 of file invoker.php.


Member Data Documentation

SimpleInvoker::$_test_case

Definition at line 12 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