tasks/ext/phpunit/formatter/PHPUnitResultFormatter.php

Show: inherited
Table of Contents

\PHPUnitResultFormatter

Package: phing\tasks\ext\phpunit\formatter

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

Parent(s)
?\PHPUnit_Framework_TestListener
Children
\SummaryPHPUnitResultFormatter
\XMLPHPUnitResultFormatter
\PlainPHPUnitResultFormatter
\CloverPHPUnitResultFormatter
Author
Michiel Rook  
Since
2.1.0  
Version
$Id: cbf356a8395e116cd6ecddb7f5a822d4b6edf01c $  

Properties

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

Methods

methodpublic__construct( \PHPUnitTask $parentTask ) : void

Constructor

Parameters
Name Type Description
$parentTask \PHPUnitTask

Calling Task

methodpublicaddError(  $test,  $e,  $time ) : void

Parameters
Name Type Description
$test
$e
$time
methodpublicaddFailure(  $test,  $e,  $time ) : void

Parameters
Name Type Description
$test
$e
$time
methodpublicaddIncompleteTest(  $test,  $e,  $time ) : void

Parameters
Name Type Description
$test
$e
$time
methodpublicaddSkippedTest(  $test,  $e,  $time ) : void

Parameters
Name Type Description
$test
$e
$time
methodpublicendTest(  $test,  $time ) : void

Parameters
Name Type Description
$test
$time
methodpublicendTestRun( ) : void

methodpublicendTestSuite(  $suite ) : void

Parameters
Name Type Description
$suite
methodpublicgetElapsedTime( ) : void

methodpublicgetErrorCount( ) : void

methodpublicgetExtension( ) : string

Returns the extension used for this formatter

Returns
Type Description
string the extension
methodpublicgetFailureCount( ) : void

methodpublicgetIncompleteCount( ) : void

methodprivategetMicrotime( ) : void

methodpublicgetPreferredOutfile( ) : void

methodpublicgetRunCount( ) : void

methodpublicgetSkippedCount( ) : void

methodpublicprocessResult(  $result ) : void

Parameters
Name Type Description
$result
methodpublicsetOutput(  $out ) : void

Sets the writer the formatter is supposed to write its results to.

Parameters
Name Type Description
$out
methodpublicstartTest(  $test ) : void

Parameters
Name Type Description
$test
methodpublicstartTestRun( ) : void

methodpublicstartTestSuite(  $suite ) : void

Parameters
Name Type Description
$suite
Documentation was generated by DocBlox 0.18.1.