phing-tasks-ext-simpletest
[ class tree: phing-tasks-ext-simpletest ] [ index: phing-tasks-ext-simpletest ] [ all elements ]

Class: SimpleTestResultFormatter

Source Location: /tasks/ext/simpletest/SimpleTestResultFormatter.php

Class Overview

SimpleReporter
   |
   --SimpleTestResultFormatter

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


Author(s):

Version:

  • $Id: SimpleTestResultFormatter.php 552 2009-08-29 12:18:13Z mrook $

Variables

Methods


Child classes:

SimpleTestDebugResultFormatter
Prints plain text output of the test to a specified Writer.
SimpleTestCountResultFormatter
Dummy result formatter used to count SimpleTest results
SimpleTestPlainResultFormatter
Prints plain text output of the test to a specified Writer.
SimpleTestXmlResultFormatter
Prints plain text output of the test to a specified Writer.
SimpleTestSummaryResultFormatter
Prints short summary output of the test to Phing's logging system.

Class Details

[line 34]
This abstract class describes classes that format the results of a SimpleTest testrun.



Tags:

author:  Michiel Rook <michiel.rook@gmail.com>
version:  $Id: SimpleTestResultFormatter.php 552 2009-08-29 12:18:13Z mrook $
abstract:  
since:  2.2.0


[ Top ]


Class Variables

$out =  NULL

[line 36]



Tags:

access:  protected

Type:   mixed


[ Top ]

$project =  NULL

[line 38]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


method getElapsedTime [line 150]

void getElapsedTime( )



[ Top ]

method getErrorCount [line 140]

void getErrorCount( )



[ Top ]

method getExtension [line 63]

string getExtension( )

Returns the extension used for this formatter



Tags:

return:  the extension


Overridden in child classes as:

SimpleTestPlainResultFormatter::getExtension()
SimpleTestXmlResultFormatter::getExtension()

[ Top ]

method getFailureCount [line 135]

void getFailureCount( )



[ Top ]

method getPreferredOutfile [line 78]


method getRunCount [line 130]

void getRunCount( )



[ Top ]

method getTestName [line 145]

void getTestName( )



[ Top ]

method paintCaseEnd [line 109]


method paintCaseStart [line 97]

void paintCaseStart( $test_name)



Overridden in child classes as:

SimpleTestDebugResultFormatter::paintCaseStart()
SimpleTestPlainResultFormatter::paintCaseStart()
SimpleTestXmlResultFormatter::paintCaseStart()

Parameters:

   $test_name  

[ Top ]

method paintError [line 116]

void paintError( $message)



Overridden in child classes as:

SimpleTestDebugResultFormatter::paintError()
SimpleTestPlainResultFormatter::paintError()
SimpleTestXmlResultFormatter::paintError()

Parameters:

   $message  

[ Top ]

method paintFail [line 123]

void paintFail( $message)



Overridden in child classes as:

SimpleTestDebugResultFormatter::paintFail()
SimpleTestPlainResultFormatter::paintFail()
SimpleTestXmlResultFormatter::paintFail()

Parameters:

   $message  

[ Top ]

method paintMethodEnd [line 90]

void paintMethodEnd( $test_name)



Overridden in child classes as:

SimpleTestDebugResultFormatter::paintMethodEnd()
SimpleTestXmlResultFormatter::paintMethodEnd()

Parameters:

   $test_name  

[ Top ]

method paintMethodStart [line 83]

void paintMethodStart( $test_name)



Overridden in child classes as:

SimpleTestDebugResultFormatter::paintMethodStart()
SimpleTestXmlResultFormatter::paintMethodStart()

Parameters:

   $test_name  

[ Top ]

method setOutput [line 53]

void setOutput( $out)

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



Parameters:

Writer   $out  

[ Top ]

method setProject [line 73]

void setProject( $project)

Sets the project



Parameters:

Project   $project   the project

[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:52:00 +0200 by phpDocumentor 1.4.3