PlainPHPUnitResultFormatter

Extends \PHPUnitResultFormatter

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

author

Michiel Rook mrook@php.net

version

$Id: 529f9b6ab9ced7b78871e3612cd8afce58261a6f $

package

phing.tasks.ext.phpunit.formatter

since 2.1.0

Methods

Returns the extension used for this formatter

getExtension() : string
inherited

Response

string

the extension

getPreferredOutfile

getPreferredOutfile() 
inherited

startTestSuite

startTestSuite(\PHPUnit_Framework_TestSuite $suite) 
inherited

Arguments

$suite

\PHPUnit_Framework_TestSuite

endTestSuite

endTestSuite(\PHPUnit_Framework_TestSuite $suite) 
inherited

Arguments

$suite

\PHPUnit_Framework_TestSuite

addError

addError(\PHPUnit_Framework_Test $test, \Exception $e, $time) 
inherited

Arguments

$test

\PHPUnit_Framework_Test

$e

\Exception

$time

addFailure

addFailure(\PHPUnit_Framework_Test $test, \PHPUnit_Framework_AssertionFailedError $e, $time) 
inherited

Arguments

$test

\PHPUnit_Framework_Test

$e

\PHPUnit_Framework_AssertionFailedError

$time

addIncompleteTest

addIncompleteTest(\PHPUnit_Framework_Test $test, \Exception $e, $time) 
inherited

Arguments

$test

\PHPUnit_Framework_Test

$e

\Exception

$time

addSkippedTest

addSkippedTest(\PHPUnit_Framework_Test $test, \Exception $e, $time) 
inherited

Arguments

$test

\PHPUnit_Framework_Test

$e

\Exception

$time

formatError

formatError($type, \PHPUnit_Framework_Test $test, \Exception $e = null) 

Arguments

$type

$test

\PHPUnit_Framework_Test

$e

\Exception

endTestRun

endTestRun() 
inherited

Constructor

__construct(\PHPUnitTask $parentTask) 
inherited

Arguments

$parentTask

\PHPUnitTask

Calling Task

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

setOutput(\Writer $out) 
inherited

Arguments

$out

\Writer

processResult

processResult(\PHPUnit_Framework_TestResult $result) 
inherited

Arguments

$result

\PHPUnit_Framework_TestResult

startTestRun

startTestRun() 
inherited

startTest

startTest(\PHPUnit_Framework_Test $test) 
inherited

Arguments

$test

\PHPUnit_Framework_Test

endTest

endTest(\PHPUnit_Framework_Test $test, $time) 
inherited

Arguments

$test

\PHPUnit_Framework_Test

$time

getRunCount

getRunCount() 
inherited

getFailureCount

getFailureCount() 
inherited

getErrorCount

getErrorCount() 
inherited

getIncompleteCount

getIncompleteCount() 
inherited

getSkippedCount

getSkippedCount() 
inherited

getElapsedTime

getElapsedTime() 
inherited

getMicrotime

getMicrotime() 
inherited

Properties

inner

inner : 

out

out : 
inherited

project

project : 
inherited

timers

timers : 
inherited

runCounts

runCounts : 
inherited

failureCounts

failureCounts : 
inherited

errorCounts

errorCounts : 
inherited

incompleteCounts

incompleteCounts : 
inherited

skipCounts

skipCounts : 
inherited