Class RemoteTestCase

Description

Runs an XML formated test on a remote server.

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

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

Inherited Variables

Inherited from RunnableTest

RunnableTest::$_label
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.
getSize (line 88)

Accessor for the number of subtests.

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

Redefinition of:
RunnableTest::getSize()
Accessor for the number of subtests.
run (line 48)

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)

Redefinition of:
RunnableTest::run()
Runs the top level test for this class.
_createBrowser (line 69)

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

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

Creates the XML parser.

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

Inherited Methods

Inherited From RunnableTest

 RunnableTest::RunnableTest()
 RunnableTest::getLabel()
 RunnableTest::getSize()
 RunnableTest::run()

Documentation generated on Fri, 10 Dec 2004 18:26:15 +0000 by phpDocumentor 1.3.0RC3