PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Util_Filter

Source Location: /PHPUnit2-3.0.0alpha11/Util/Filter.php

Class Overview


Utility class for code filtering.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 61]
Utility class for code filtering.


[ Top ]


Method Detail

addFileToFilter   [line 113]

void addFileToFilter( string $filename, [string $group = 'DEFAULT'])

Adds a new file to be filtered.
  • Since: Method available since Release 2.1.0
  • Static: This method can be called statically
  • Access: public

Parameters:

string   $filename     
string   $group     

[ Top ]

getFilteredCodeCoverage   [line 151]

array getFilteredCodeCoverage( mixed {if(self::$filter, array $codeCoverageInformation, boolean $filterTests, boolean $filterPHPUnit)

Filters source lines from PHPUnit classes.
  • Static: This method can be called statically
  • Access: public

Parameters:

array   $codeCoverageInformation     
boolean   $filterTests     
boolean   $filterPHPUnit     

[ Top ]

removeFileFromFilter   [line 127]

void removeFileFromFilter( string $filename, [string $group = 'DEFAULT'])

Removes a file from the filter.
  • Since: Method available since Release 2.1.0
  • Static: This method can be called statically
  • Access: public

Parameters:

string   $filename     
string   $group     

[ Top ]


Documentation generated on Tue, 12 Sep 2006 09:37:02 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.