Class RemoteTestCase

Description

Runs an XML formated test on a remote server.

Located in /libraries/pear/simpletest/remote.php (line 22)


	
			
Variable Summary
 mixed $_dry_url
 mixed $_size
 mixed $_url
Method Summary
 RemoteTestCase RemoteTestCase (string $url, [string $dry_url = false])
 string getLabel ()
 integer getSize ()
 boolean run (SimpleReporter &$reporter)
 SimpleTestXmlListener &_createParser (SimpleReporter &$reporter)
Variables
mixed $_dry_url (line 24)
mixed $_size (line 25)
mixed $_url (line 23)
Methods
Constructor RemoteTestCase (line 33)

Sets the location of the remote test.

  • access: public
RemoteTestCase RemoteTestCase (string $url, [string $dry_url = false])
  • string $url: Test location.
  • string $dry_url: Location for dry run.
getLabel (line 44)

Accessor for the test name for subclasses.

  • return: Name of the test.
  • access: public
string getLabel ()
getSize (line 96)

Accessor for the number of subtests.

  • return: Number of test cases.
  • access: public
integer getSize ()
run (line 56)

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.

  • return: True if no failures.
  • access: public
boolean run (SimpleReporter &$reporter)
_createBrowser (line 77)

Creates a new web browser object for fetching the XML report.

  • return: New browser.
  • access: protected
SimpleBrowser &_createBrowser ()
_createParser (line 87)

Creates the XML parser.

  • return: XML reader.
  • access: protected
SimpleTestXmlListener &_createParser (SimpleReporter &$reporter)

Documentation generated on Fri, 11 Feb 2005 18:13:56 +0000 by phpDocumentor 1.3.0RC3