[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/phing/tasks/ext/phpunit2/ -> BatchTest.php (sommaire)

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see <http://phing.info>.

Poids: 171 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

BatchTest:: (9 méthodes):
  __construct()
  setExclude()
  setClasspath()
  createClasspath()
  getClasspath()
  addFileSet()
  getFilenames()
  filterTests()
  elements()


Classe: BatchTest  - X-Ref

Scans a list of (.php) files given by the fileset attribute, extracts
all subclasses of PHPUnit2_Framework_TestCase.

__construct(Project $project)   X-Ref
Create a new batchtest instance

param: Project the project it depends on.

setExclude($exclude)   X-Ref
Sets the classes to exclude


setClasspath(Path $classpath)   X-Ref
Sets the classpath


createClasspath()   X-Ref
Creates a new Path object


getClasspath()   X-Ref
Returns the classpath


addFileSet(FileSet $fileset)   X-Ref
Add a new fileset containing the XML results to aggregate

param: FileSet the new fileset containing XML results.

getFilenames()   X-Ref
Iterate over all filesets and return the filename of all files
that end with .php.

return: array an array of filenames

filterTests($input)   X-Ref
Filters an array of classes, removes all classes that are not subclasses of PHPUnit2_Framework_TestCase,
or classes that are declared abstract


elements()   X-Ref
Returns an array of PHPUnit2_Framework_TestCase classes that are declared
by the files included by the filesets

return: array an array of PHPUnit2_Framework_TestCase classes.



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7