phing-tasks-ext-phpunit
[ class tree: phing-tasks-ext-phpunit ] [ index: phing-tasks-ext-phpunit ] [ all elements ]

Class: BatchTest

Source Location: /tasks/ext/phpunit/BatchTest.php

Class Overview


Scans a list of files given by the fileset attribute, extracts valid test cases


Author(s):

Version:

  • $Id: BatchTest.php 552 2009-08-29 12:18:13Z mrook $

Methods



Class Details

[line 32]
Scans a list of files given by the fileset attribute, extracts valid test cases



Tags:

author:  Michiel Rook <michiel.rook@gmail.com>
version:  $Id: BatchTest.php 552 2009-08-29 12:18:13Z mrook $
since:  2.1.0


[ Top ]


Class Methods


constructor __construct [line 51]

BatchTest __construct( $project)

Create a new batchtest instance



Parameters:

Project   $project   the project it depends on.

[ Top ]

method addFileSet [line 101]

void addFileSet( $fileset)

Add a new fileset containing the XML results to aggregate



Parameters:

FileSet   $fileset   the new fileset containing XML results.

[ Top ]

method createClasspath [line 82]

void createClasspath( )

Creates a new Path object



[ Top ]

method elements [line 156]

array elements( )

Returns an array of test cases and test suites that are declared by the files included by the filesets



Tags:

return:  an array of tests.


[ Top ]

method getClasspath [line 91]

void getClasspath( )

Returns the classpath



[ Top ]

method setClasspath [line 67]

void setClasspath( $classpath)

Sets the classpath



Parameters:

Path   $classpath  

[ Top ]

method setExclude [line 59]

void setExclude( $exclude)

Sets the classes to exclude



Parameters:

   $exclude  

[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:50:25 +0200 by phpDocumentor 1.4.3