Public Member Functions | |
SimpleErrorTrappingInvoker (&$invoker) | |
invoke ($method) | |
& | _createErrorQueue () |
Definition at line 9 of file errors.php.
SimpleErrorTrappingInvoker::SimpleErrorTrappingInvoker | ( | &$ | invoker | ) |
Stores the invoker to wrap.
SimpleInvoker | $invoker Test method runner. |
Definition at line 14 of file errors.php.
References SimpleInvokerDecorator::SimpleInvokerDecorator().
SimpleErrorTrappingInvoker::invoke | ( | $ | method | ) |
Invokes a test method and dispatches any untrapped errors. Called back from the visiting runner.
string | $method Test method to call. public |
Reimplemented from SimpleInvokerDecorator.
Definition at line 25 of file errors.php.
References _createErrorQueue().
& SimpleErrorTrappingInvoker::_createErrorQueue | ( | ) |
Wires up the error queue for a single test.
Definition at line 38 of file errors.php.
References SimpleTest::getContext(), and SimpleInvokerDecorator::getTestCase().
Referenced by invoke().