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)


	
			
Method Summary
 SimpleInvoker __construct (SimpleTestCase $test_case)
 void after (string $method)
 void before (string $method)
 void invoke (string $method)
Methods
Constructor __construct (line 37)

Stashes the test case for later.

SimpleInvoker __construct (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, 31 Oct 2010 16:31:39 -0500 by phpDocumentor 1.4.3