Class RemoteTestCase

Description

Runs an XML formated test on a remote server.

Located in /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 ( &$reporter, SimpleReporter $reporter)
 SimpleTestXmlListener &_createParser ( &$reporter, 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 98)

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 ( &$reporter, 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 88)

Creates the XML parser.

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

Documentation generated on Sun, 04 May 2008 09:22:00 -0500 by phpDocumentor 1.3.0