classes/phing/tasks/ext/phpunit/formatter/PHPUnitResultFormatter.php

\PHPUnitResultFormatter

This abstract class describes classes that format the results of a PHPUnit testrun.

Implements
author
Michiel Rook
package
phing.tasks.ext.phpunit.formatter
since
2.1.0
version
$Id: PHPUnitResultFormatter.php 796 2010-06-24 14:36:00Z mrook $

Properties

Propertyprivate  $errorCounts= 'false'
Default valuefalseDetails
Type
Propertyprivate  $failureCounts= 'false'
Default valuefalseDetails
Type
Propertyprivate  $incompleteCounts= 'false'
Default valuefalseDetails
Type
Propertyprotected  $out= 'NULL'
Default valueNULLDetails
Type
Propertyprotected  $project= 'NULL'
Default valueNULLDetails
Type
Propertyprivate  $runCounts= 'false'
Default valuefalseDetails
Type
Propertyprivate  $skipCounts= 'false'
Default valuefalseDetails
Type
Propertyprivate  $timers= 'false'
Default valuefalseDetails
Type

Methods

methodpublic  __construct( \PHPUnitTask $parentTask ) :
Constructor
Parameters
Name Type Description
$parentTask \PHPUnitTask Calling Task
methodpublic  addError(  $test,  $e,  $time ) :
Parameters
Name Type Description
$test
$e
$time
methodpublic  addFailure(  $test,  $e,  $time ) :
Parameters
Name Type Description
$test
$e
$time
methodpublic  addIncompleteTest(  $test,  $e,  $time ) :
Parameters
Name Type Description
$test
$e
$time
methodpublic  addSkippedTest(  $test,  $e,  $time ) :
Parameters
Name Type Description
$test
$e
$time
methodpublic  endTest(  $test,  $time ) :
Parameters
Name Type Description
$test
$time
methodpublic  endTestRun( ) :
methodpublic  endTestSuite(  $suite ) :
Parameters
Name Type Description
$suite
methodpublic  getElapsedTime( ) :
methodpublic  getErrorCount( ) :
methodpublic  getExtension( ) : string
Returns the extension used for this formatter
Returns
Type Description
string
methodpublic  getFailureCount( ) :
methodpublic  getIncompleteCount( ) :
methodprivate  getMicrotime( ) :
methodpublic  getPreferredOutfile( ) :
methodpublic  getRunCount( ) :
methodpublic  getSkippedCount( ) :
methodpublic  processResult(  $result ) :
Parameters
Name Type Description
$result
methodpublic  setOutput(  $out ) :
Sets the writer the formatter is supposed to write its results to.
Parameters
Name Type Description
$out
methodpublic  startTest(  $test ) :
Parameters
Name Type Description
$test
methodpublic  startTestRun( ) :
methodpublic  startTestSuite(  $suite ) :
Parameters
Name Type Description
$suite
Documentation was generated by DocBlox 0.13.1.