Class SimpleInvoker

Description

This is called by the class runner to run a single test method. Will also run the setUp() and tearDown() methods.

Located in /invoker.php (line 30)


	
			
Variable Summary
 mixed $_test_case
Method Summary
 SimpleInvoker SimpleInvoker ( &$test_case, SimpleTestCase $test_case)
 void after (string $method)
 void before (string $method)
 void invoke (string $method)
Variables
mixed $_test_case (line 31)
Methods
Constructor SimpleInvoker (line 37)

Stashes the test case for later.

SimpleInvoker SimpleInvoker ( &$test_case, SimpleTestCase $test_case)
after (line 78)

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.
before (line 56)

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.
getTestCase (line 46)

Accessor for test case being run.

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

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

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

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