tasks/ext/simpletest/SimpleTestResultFormatter.php

Show: inherited
Table of Contents

$Id: SimpleTestResultFormatter.php 552 2009-08-29 12:18:13Z 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.

\SimpleTestResultFormatter

Package: phing\tasks\ext\simpletest

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

Parent(s)
\SimpleReporter
Children
\SimpleTestDebugResultFormatter
\SimpleTestCountResultFormatter
\SimpleTestPlainResultFormatter
\SimpleTestXmlResultFormatter
\SimpleTestSummaryResultFormatter
Author
Michiel Rook  
Since
2.2.0  
Version
$Id: SimpleTestResultFormatter.php 552 2009-08-29 12:18:13Z mrook $  

Properties

Propertyprivate  $currentTest= '""'
Default value""Details
Type
n/a
Propertyprivate  $errorCount= '0'
Default value0Details
Type
n/a
Propertyprivate  $failureCount= '0'
Default value0Details
Type
n/a
Propertyprotected  $out= 'NULL'
Default valueNULLDetails
Type
n/a
Propertyprotected  $project= 'NULL'
Default valueNULLDetails
Type
n/a
Propertyprivate  $runCount= '0'
Default value0Details
Type
n/a
Propertyprivate  $timer= 'NULL'
Default valueNULLDetails
Type
n/a

Methods

methodpublicgetElapsedTime( ) : void

methodpublicgetErrorCount( ) : void

methodpublicgetExtension( ) : string

Returns the extension used for this formatter

Returns
Type Description
string the extension
methodpublicgetFailureCount( ) : void

methodpublicgetPreferredOutfile( ) : void

methodpublicgetRunCount( ) : void

methodpublicgetTestName( ) : void

methodpublicpaintCaseEnd(  $test_name ) : void

Parameters
Name Type Description
$test_name
methodpublicpaintCaseStart(  $test_name ) : void

Parameters
Name Type Description
$test_name
methodpublicpaintError(  $message ) : void

Parameters
Name Type Description
$message
methodpublicpaintFail(  $message ) : void

Parameters
Name Type Description
$message
methodpublicpaintMethodEnd(  $test_name ) : void

Parameters
Name Type Description
$test_name
methodpublicpaintMethodStart(  $test_name ) : void

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

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

Parameters
Name Type Description
$out
methodpublicsetProject( \Project $project ) : void

Sets the project

Parameters
Name Type Description
$project \Project

the project

Documentation was generated by DocBlox 0.17.1.