| [ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
PHP Version 4 Copyright (c) 2002-2005, Sebastian Bergmann <sb@sebastian-bergmann.de>. All rights reserved.
| Author: | Sebastian Bergmann <sb@sebastian-bergmann.de> |
| Copyright: | 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> |
| License: | http://www.opensource.org/licenses/bsd-license.php BSD License |
| Version: | CVS: $Id: TestResult.php,v 1.18 2005/11/10 09:47:15 sebastian Exp $ |
| Poids: | 347 lignes (9 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 1 fois |
| Nécessite: | 0 fichiers |
PHPUnit_TestResult:: (19 méthodes):
addError()
addFailure()
addListener()
addPassedTest()
endTest()
errorCount()
errors()
failureCount()
failures()
passedTests()
removeListener()
run()
runCount()
shouldStop()
startTest()
stop()
toHTML()
toString()
wasSuccessful()
Classe: PHPUnit_TestResult - X-Ref
A TestResult collects the results of executing a test case.| addError(&$test, &$t) X-Ref |
| Adds an error to the list of errors. The passed in exception caused the error. param: object param: object |
| addFailure(&$test, &$t) X-Ref |
| Adds a failure to the list of failures. The passed in exception caused the failure. param: object param: object |
| addListener(&$listener) X-Ref |
| Registers a TestListener. param: object |
| addPassedTest(&$test) X-Ref |
| Adds a passed test to the list of passed tests. param: object |
| endTest(&$test) X-Ref |
| Informs the result that a test was completed. param: object |
| errorCount() X-Ref |
| Gets the number of detected errors. return: integer |
| errors() X-Ref |
| Returns an Enumeration for the errors. return: array |
| failureCount() X-Ref |
| Gets the number of detected failures. return: integer |
| failures() X-Ref |
| Returns an Enumeration for the failures. return: array |
| passedTests() X-Ref |
| Returns an Enumeration for the passed tests. return: array |
| removeListener(&$listener) X-Ref |
| Unregisters a TestListener. This requires the Zend Engine 2 (to work properly). param: object |
| run(&$test) X-Ref |
| Runs a TestCase. param: object |
| runCount() X-Ref |
| Gets the number of run tests. return: integer |
| shouldStop() X-Ref |
| Checks whether the test run should stop. |
| startTest(&$test) X-Ref |
| Informs the result that a test will be started. param: object |
| stop() X-Ref |
| Marks that the test run should stop. |
| toHTML() X-Ref |
| Returns a HTML representation of the test result. return: string |
| toString() X-Ref |
| Returns a text representation of the test result. return: string |
| wasSuccessful() X-Ref |
| Returns whether the entire test was successful or not. return: boolean |
| Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
|