classes/phing/tasks/ext/simpletest/SimpleTestResultFormatter.php

\SimpleTestResultFormatter

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

Extends from
\SimpleReporter
author
Michiel Rook
package
phing.tasks.ext.simpletest
since
2.2.0
version
$Id: SimpleTestResultFormatter.php 552 2009-08-29 12:18:13Z mrook $

Properties

Propertyprivate  $currentTest= ''
Details
Type
Propertyprivate  $errorCount= '0'
Default value0Details
Type
Propertyprivate  $failureCount= '0'
Default value0Details
Type
Propertyprotected  $out= 'NULL'
Default valueNULLDetails
Type
Propertyprotected  $project= 'NULL'
Default valueNULLDetails
Type
Propertyprivate  $runCount= '0'
Default value0Details
Type
Propertyprivate  $timer= 'NULL'
Default valueNULLDetails
Type

Methods

methodpublic  getElapsedTime( ) :
methodpublic  getErrorCount( ) :
methodpublic  getExtension( ) : string
Returns the extension used for this formatter
Returns
Type Description
string
methodpublic  getFailureCount( ) :
methodpublic  getPreferredOutfile( ) :
methodpublic  getRunCount( ) :
methodpublic  getTestName( ) :
methodpublic  paintCaseEnd(  $test_name ) :
Parameters
Name Type Description
$test_name
methodpublic  paintCaseStart(  $test_name ) :
Parameters
Name Type Description
$test_name
methodpublic  paintError(  $message ) :
Parameters
Name Type Description
$message
methodpublic  paintFail(  $message ) :
Parameters
Name Type Description
$message
methodpublic  paintMethodEnd(  $test_name ) :
Parameters
Name Type Description
$test_name
methodpublic  paintMethodStart(  $test_name ) :
Parameters
Name Type Description
$test_name
methodpublic  setOutput(  $out ) :
Sets the writer the formatter is supposed to write its results to.
Parameters
Name Type Description
$out
methodpublic  setProject( \Project $project ) :
Sets the project
Parameters
Name Type Description
$project \Project the project
Documentation was generated by DocBlox 0.13.1.