Class DetachedTestCase

Description

Runs an XML formated test in a separate process.

Located in /detached.php (line 21)


	
			
Method Summary
 DetachedTestCase __construct (string $command, [string $dry_command = false])
 SimpleTestXmlListener &createParser ( &$reporter, SimpleReporter $reporter)
 string getLabel ()
 integer getSize ()
 boolean run ( &$reporter, SimpleReporter $reporter)
Methods
Constructor __construct (line 32)

Sets the location of the remote test.

  • access: public
DetachedTestCase __construct (string $command, [string $dry_command = false])
  • string $command: Test script.
  • string $dry_command: Script for dry run.
createParser (line 92)

Creates the XML parser.

  • return: XML reader.
  • access: protected
SimpleTestXmlListener &createParser ( &$reporter, SimpleReporter $reporter)
getLabel (line 43)

Accessor for the test name for subclasses.

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

Accessor for the number of subtests.

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

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)

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