PHP Class SimpleErrorTrappingInvoker, simpletest

@package SimpleTest
Inheritance: extends SimpleInvokerDecorator
Afficher le fichier Open project: simpletest/simpletest

Méthodes publiques

Méthode Description
__construct ( SimpleInvoker $invoker ) Stores the invoker to wrap.
invoke ( string $method ) Invokes a test method and dispatches any untrapped errors.

Méthodes protégées

Méthode Description
createErrorQueue ( ) : SimpleErrorQueue Wires up the error queue for a single test.

Method Details

__construct() public méthode

Stores the invoker to wrap.
public __construct ( SimpleInvoker $invoker )
$invoker SimpleInvoker Test method runner.

createErrorQueue() protected méthode

Wires up the error queue for a single test.
protected createErrorQueue ( ) : SimpleErrorQueue
Résultat SimpleErrorQueue Queue connected to the test.

invoke() public méthode

Called back from the visiting runner.
public invoke ( string $method )
$method string Test method to call.