[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tests/test_tools/simpletest/ -> detached.php (sommaire)

base include file for SimpleTest

Version: $Id: detached.php 1397 2006-09-07 07:55:53Z wei $
Poids: 96 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

DetachedTestCase:: (5 méthodes):
  DetachedTestCase()
  getLabel()
  run()
  getSize()
  _createParser()


Classe: 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.



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7