[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
base include file for SimpleTest
Version: | $Id: remote.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 115 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
RemoteTestCase:: (6 méthodes):
RemoteTestCase()
getLabel()
run()
_createBrowser()
_createParser()
getSize()
Classe: RemoteTestCase - X-Ref
Runs an XML formated test on a remote server.RemoteTestCase($url, $dry_url = false) X-Ref |
Sets the location of the remote test. param: string $url Test location. param: string $dry_url Location for dry run. |
getLabel() X-Ref |
Accessor for the test name for subclasses. return: string Name of the test. |
run($reporter) X-Ref |
Runs the top level test for this class. Currently reads the data as a single chunk. I'll fix this once I have added iteration to the browser. returns: boolean True if no failures. param: SimpleReporter $reporter Target of test results. |
_createBrowser() X-Ref |
Creates a new web browser object for fetching the XML report. return: SimpleBrowser New browser. |
_createParser($reporter) X-Ref |
Creates the XML parser. param: SimpleReporter $reporter Target of test results. return: SimpleTestXmlListener XML reader. |
getSize() X-Ref |
Accessor for the number of subtests. return: integer Number of test cases. |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |