[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/tests_runner/lib/simpletest/ -> detached.php (summary)

base include file for SimpleTest

Version: $Id: detached.php 5999 2007-06-18 13:13:08Z pachanga $
File Size: 96 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

DetachedTestCase:: (5 methods):
  DetachedTestCase()
  getLabel()
  run()
  getSize()
  _createParser()


Class: DetachedTestCase  - X-Ref

Runs an XML formated test in a separate process.

DetachedTestCase($command, $dry_command = false)   X-Ref
Sets the location of the remote test.

param: string $command       Test script.
param: string $dry_command   Script for dry run.

getLabel()   X-Ref
Accessor for the test name for subclasses.

return: string       Name of the test.

run(&$reporter)   X-Ref
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.

returns: boolean                   True if no failures.
param: SimpleReporter $reporter    Target of test results.

getSize()   X-Ref
Accessor for the number of subtests.

return: integer       Number of test cases.

_createParser(&$reporter)   X-Ref
Creates the XML parser.

param: SimpleReporter $reporter    Target of test results.
return: SimpleTestXmlListener      XML reader.



Generated: Sat Nov 22 03:48:54 2008 Cross-referenced by PHPXref 0.7