| [ Index ] |
PHP Cross Reference of Limb3 |
[Source view] [Print] [Project Stats]
base include file for SimpleTest
| Version: | $Id: remote.php 5999 2007-06-18 13:13:08Z pachanga $ |
| File Size: | 117 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
RemoteTestCase:: (6 methods):
RemoteTestCase()
getLabel()
run()
_createBrowser()
_createParser()
getSize()
Class: 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. |
| Generated: Sat Nov 22 03:48:54 2008 | Cross-referenced by PHPXref 0.7 |