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

author | Michiel Rook
version | $Id: c0fa060b8f439f7d0013a0ec016ede4c5a76b42d $
package | phing.tasks.ext.simpletest
since | 2.2.0

### Methods

## getElapsedTime()

    getElapsedTime()

Inherited

inherited_from | \SimpleTestResultFormatter::getElapsedTime()

## getErrorCount()

    getErrorCount()

Inherited

inherited_from | \SimpleTestResultFormatter::getErrorCount()

## Returns the extension used for this formatter

    getExtension() : string

### Returns

`string`the extension

## getFailureCount()

    getFailureCount()

Inherited

inherited_from | \SimpleTestResultFormatter::getFailureCount()

## getPreferredOutfile()

    getPreferredOutfile()

## getRunCount()

    getRunCount()

Inherited

inherited_from | \SimpleTestResultFormatter::getRunCount()

## getTestName()

    getTestName()

Inherited

inherited_from | \SimpleTestResultFormatter::getTestName()

## paintCaseEnd()

    paintCaseEnd($test_name)

### Parameters

#### $test_name

## paintCaseStart()

    paintCaseStart($test_name)

### Parameters

#### $test_name

## paintError()

    paintError($message)

### Parameters

#### $message

## paintFail()

    paintFail($message)

### Parameters

#### $message

## paintMethodEnd()

    paintMethodEnd($test_name)

Inherited

inherited_from | \SimpleTestResultFormatter::paintMethodEnd()

### Parameters

#### $test_name

## paintMethodStart()

    paintMethodStart($test_name)

Inherited

inherited_from | \SimpleTestResultFormatter::paintMethodStart()

### Parameters

#### $test_name

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

    setOutput(\Writer $out)

Inherited

inherited_from | \SimpleTestResultFormatter::setOutput()

### Parameters

#### $out

## Sets the project

    setProject(\Project $project)

Inherited

inherited_from | \SimpleTestResultFormatter::setProject()

### Parameters

#### $project

`\Project`

the project

## formatError()

    formatError($type, $message)

### Parameters

#### $type

#### $message

### Properties

##

    $out

Inherited

inherited_from | \SimpleTestResultFormatter::$$out

##

    $project

Inherited

inherited_from | \SimpleTestResultFormatter::$$project

##

    $currentTest

Inherited

inherited_from | \SimpleTestResultFormatter::$$currentTest

##

    $errorCount

Inherited

inherited_from | \SimpleTestResultFormatter::$$errorCount

##

    $failureCount

Inherited

inherited_from | \SimpleTestResultFormatter::$$failureCount

##

    $inner

##

    $runCount

Inherited

inherited_from | \SimpleTestResultFormatter::$$runCount

##

    $timer

Inherited

inherited_from | \SimpleTestResultFormatter::$$timer