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

Class: PHPUnit2_Util_Filter

Source Location: /PHPUnit2-2.3.6/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 138]

void addFileToFilter( string $filename)

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     

[ Top ]

getCanonicalFilename   [line 222]

string getCanonicalFilename( string $filename)

Canonicalizes a source file name.
  • Static: This method can be called statically
  • Access: protected

Parameters:

string   $filename     

[ Top ]

getFilteredCodeCoverage   [line 174]

array getFilteredCodeCoverage( array $codeCoverageInformation)

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

Parameters:

array   $codeCoverageInformation     

[ Top ]

getFilteredStacktrace   [line 194]

string getFilteredStacktrace( mixed Exception$e, Exception $e)

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

Parameters:

Exception   $e     

[ Top ]

isFiltered   [line 246]

boolean isFiltered( string $filename)

  • Since: Method available since Release 2.1.3
  • Static: This method can be called statically
  • Access: protected

Parameters:

string   $filename     

[ Top ]

removeFileFromFilter   [line 154]

void removeFileFromFilter( string $filename)

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     

[ Top ]


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