[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tests/test_tools/simpletest/ -> invoker.php (sommaire)

Base include file for SimpleTest

Version: $Id: invoker.php 1397 2006-09-07 07:55:53Z wei $
Poids: 139 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 classes

SimpleInvoker:: (5 méthodes):
  SimpleInvoker()
  getTestCase()
  before()
  invoke()
  after()

SimpleInvokerDecorator:: (5 méthodes):
  SimpleInvokerDecorator()
  getTestCase()
  before()
  invoke()
  after()


Classe: 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.

Classe: 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.



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7