Class RemoteTestCase

Description

Runs an XML formated test on a remote server.

Located in /remote.php (line 22)


	
			
Method Summary
 RemoteTestCase __construct (string $url, [string $dry_url = false])
 SimpleTestXmlListener createParser (SimpleReporter $reporter)
 string getLabel ()
 integer getSize ()
 boolean run (SimpleReporter $reporter)
Methods
Constructor __construct (line 33)

Sets the location of the remote test.

  • access: public
RemoteTestCase __construct (string $url, [string $dry_url = false])
  • string $url: Test location.
  • string $dry_url: Location for dry run.
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)
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)

Documentation generated on Sun, 31 Oct 2010 16:32:12 -0500 by phpDocumentor 1.4.3