[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/tests_runner/lib/simpletest/ -> invoker.php (summary)

Base include file for SimpleTest

Version: $Id: invoker.php 5999 2007-06-18 13:13:08Z pachanga $
File Size: 139 lines (4 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

SimpleInvoker:: (5 methods):
  SimpleInvoker()
  getTestCase()
  before()
  invoke()
  after()

SimpleInvokerDecorator:: (5 methods):
  SimpleInvokerDecorator()
  getTestCase()
  before()
  invoke()
  after()


Class: SimpleInvoker  - X-Ref

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

SimpleInvoker(&$test_case)   X-Ref
Stashes the test case for later.

param: SimpleTestCase $test_case  Test case to run.

getTestCase()   X-Ref
Accessor for test case being run.

return: SimpleTestCase    Test case.

before($method)   X-Ref
Runs test level set up. Used for changing
the mechanics of base test cases.

param: string $method    Test method to call.

invoke($method)   X-Ref
Invokes a test method and buffered with setUp()
and tearDown() calls.

param: string $method    Test method to call.

after($method)   X-Ref
Runs test level clean up. Used for changing
the mechanics of base test cases.

param: string $method    Test method to call.

Class: SimpleInvokerDecorator  - X-Ref

Do nothing decorator. Just passes the invocation
straight through.

SimpleInvokerDecorator(&$invoker)   X-Ref
Stores the invoker to wrap.

param: SimpleInvoker $invoker  Test method runner.

getTestCase()   X-Ref
Accessor for test case being run.

return: SimpleTestCase    Test case.

before($method)   X-Ref
Runs test level set up. Used for changing
the mechanics of base test cases.

param: string $method    Test method to call.

invoke($method)   X-Ref
Invokes a test method and buffered with setUp()
and tearDown() calls.

param: string $method    Test method to call.

after($method)   X-Ref
Runs test level clean up. Used for changing
the mechanics of base test cases.

param: string $method    Test method to call.



Generated: Sat Nov 22 03:48:54 2008 Cross-referenced by PHPXref 0.7