# tasks/ext/phpunit/formatter/PlainPHPUnitResultFormatter.php

$Id: PlainPHPUnitResultFormatter.php 1357 2011-11-01 21:31:14Z mrook $

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see http://phing.info.

## \PlainPHPUnitResultFormatter
jump to top

Package: phing\tasks\ext\phpunit\formatter

Prints plain text output of the test to a specified Writer.

Parent(s)
  \PHPUnitResultFormatter
Author
  Michiel Rook
Since
  2.1.0
Version
  $Id: PlainPHPUnitResultFormatter.php 1357 2011-11-01 21:31:14Z mrook $

### Properties

`$errorCounts= 'false'`
inherited Inherited from: \PHPUnitResultFormatter::$$errorCounts
Default value `false` Details

Type
  n/a
Inherited_from
  \PHPUnitResultFormatter::$$errorCounts

`$failureCounts= 'false'`
inherited Inherited from: \PHPUnitResultFormatter::$$failureCounts
Default value `false` Details

Type
  n/a
Inherited_from
  \PHPUnitResultFormatter::$$failureCounts

`$incompleteCounts= 'false'`
inherited Inherited from: \PHPUnitResultFormatter::$$incompleteCounts
Default value `false` Details

Type
  n/a
Inherited_from
  \PHPUnitResultFormatter::$$incompleteCounts

`$inner= '""'`
Default value`""`Details

Type
  n/a

`$out= 'NULL'`
inherited Inherited from: \PHPUnitResultFormatter::$$out
Default value `NULL` Details

Type
  n/a
Inherited_from
  \PHPUnitResultFormatter::$$out

`$project= 'NULL'`
inherited Inherited from: \PHPUnitResultFormatter::$$project
Default value `NULL` Details

Type
  n/a
Inherited_from
  \PHPUnitResultFormatter::$$project

`$runCounts= 'false'`
inherited Inherited from: \PHPUnitResultFormatter::$$runCounts
Default value `false` Details

Type
  n/a
Inherited_from
  \PHPUnitResultFormatter::$$runCounts

`$skipCounts= 'false'`
inherited Inherited from: \PHPUnitResultFormatter::$$skipCounts
Default value `false` Details

Type
  n/a
Inherited_from
  \PHPUnitResultFormatter::$$skipCounts

`$timers= 'false'`
inherited Inherited from: \PHPUnitResultFormatter::$$timers
Default value `false` Details

Type
  n/a
Inherited_from
  \PHPUnitResultFormatter::$$timers

### Methods

`__construct( \PHPUnitTask $parentTask ) : void`
inherited

Constructor

Inherited from: \PHPUnitResultFormatter::__construct()
Parameters

Name | Type | Description
--- | --- | ---
$parentTask | \PHPUnitTask | Calling Task

`addError( $test, $e, $time ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$test |  |
$e |  |
$time |  |

`addFailure( $test, $e, $time ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$test |  |
$e |  |
$time |  |

`addIncompleteTest( $test, $e, $time ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$test |  |
$e |  |
$time |  |

`addSkippedTest( $test, $e, $time ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$test |  |
$e |  |
$time |  |

`endTest( $test, $time ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::endTest()
Parameters

Name | Type | Description
--- | --- | ---
$test |  |
$time |  |

`endTestRun( ) : void`

`endTestSuite( $suite ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$suite |  |

`formatError( $type, $test, $e = null ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$type |  |
$test |  |
$e |  |

`getElapsedTime( ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::getElapsedTime()
`getErrorCount( ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::getErrorCount()
`getExtension( ) : string`

Returns the extension used for this formatter

Returns

Type | Description
--- | ---
string | the extension

`getFailureCount( ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::getFailureCount()
`getIncompleteCount( ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::getIncompleteCount()
`getMicrotime( ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::getMicrotime()
`getPreferredOutfile( ) : void`

`getRunCount( ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::getRunCount()
`getSkippedCount( ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::getSkippedCount()
`processResult( $result ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::processResult()
Parameters

Name | Type | Description
--- | --- | ---
$result |  |

`setOutput( $out ) : void`
inherited

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

Inherited from: \PHPUnitResultFormatter::setOutput()
Parameters

Name | Type | Description
--- | --- | ---
$out |  |

`startTest( $test ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::startTest()
Parameters

Name | Type | Description
--- | --- | ---
$test |  |

`startTestRun( ) : void`
inherited

Inherited from: \PHPUnitResultFormatter::startTestRun()
`startTestSuite( $suite ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$suite |  |

Documentation was generated by DocBlox 0.17.1.