|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| RemoteTestCase ($url, $dry_url=false) | |
| getLabel () | |
| run (&$reporter) | |
| & | _createBrowser () |
| & | _createParser (&$reporter) |
| getSize () | |
Data Fields | |
| $_url | |
| $_dry_url | |
| $_size | |
Definition at line 22 of file remote.php.
| & _createBrowser | ( | ) |
Creates a new web browser object for fetching the XML report.
Definition at line 77 of file remote.php.

| & _createParser | ( | &$ | reporter | ) |
Creates the XML parser.
| SimpleReporter | $reporter | Target of test results. |
Definition at line 88 of file remote.php.

| getLabel | ( | ) |
Accessor for the test name for subclasses.
Definition at line 44 of file remote.php.
| getSize | ( | ) |
Accessor for the number of subtests.
Definition at line 98 of file remote.php.

| RemoteTestCase | ( | $ | url, |
| $ | dry_url = false |
||
| ) |
Sets the location of the remote test.
| string | $url | Test location. |
| string | $dry_url | Location for dry run. public |
Definition at line 33 of file remote.php.
| run | ( | &$ | reporter | ) |
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.
| SimpleReporter | $reporter | Target of test results. |
Definition at line 56 of file remote.php.

| $_dry_url |
Definition at line 24 of file remote.php.
| $_size |
Definition at line 25 of file remote.php.
| $_url |
Definition at line 23 of file remote.php.