phing-tasks-ext-phpunit-formatter

# Class: PlainPHPUnitResultFormatter Source Location: /tasks/ext/phpunit/formatter/PlainPHPUnitResultFormatter.php
### Class Overview
    PHPUnitResultFormatter
       |
       --PlainPHPUnitResultFormatter
Prints plain text output of the test to a specified Writer. #### Author(s): Michiel Rook <michiel.rook@gmail.com> #### Version: $Id: PlainPHPUnitResultFormatter.php -1 $ | ### Methods addError addFailure addIncompleteTest addSkippedTest endTestRun endTestSuite getExtension getPreferredOutfile startTestSuite
### Inherited Variables #### Class: PHPUnitResultFormatter PHPUnitResultFormatter::$out PHPUnitResultFormatter::$project | ### Inherited Methods #### Class: PHPUnitResultFormatter PHPUnitResultFormatter::addError() PHPUnitResultFormatter::addFailure() PHPUnitResultFormatter::addIncompleteTest() PHPUnitResultFormatter::addSkippedTest() PHPUnitResultFormatter::endTest() PHPUnitResultFormatter::endTestRun() PHPUnitResultFormatter::endTestSuite() PHPUnitResultFormatter::getElapsedTime() PHPUnitResultFormatter::getErrorCount() PHPUnitResultFormatter::getExtension() Returns the extension used for this formatter PHPUnitResultFormatter::getFailureCount() PHPUnitResultFormatter::getIncompleteCount() PHPUnitResultFormatter::getPreferredOutfile() PHPUnitResultFormatter::getRunCount() PHPUnitResultFormatter::getSkippedCount() PHPUnitResultFormatter::setOutput() Sets the writer the formatter is supposed to write its results to. PHPUnitResultFormatter::setProject() Sets the project PHPUnitResultFormatter::startTest() PHPUnitResultFormatter::startTestRun() PHPUnitResultFormatter::startTestSuite()
### Class Details [line 32] Prints plain text output of the test to a specified Writer. #### Tags:
author: | Michiel Rook <michiel.rook@gmail.com>
version: | $Id: PlainPHPUnitResultFormatter.php -1 $
since: | 2.1.0
[ Top ] ### Class Methods ### method addError [line 72]
`void addError( $test, $e, $time)`
Overrides PHPUnitResultFormatter::addError() (parent method not documented) #### Parameters:
PHPUnit_Framework_Test | $test |
Exception | $e |
| $time |
[ Top ] ### method addFailure [line 79]
`void addFailure( $test, $e, $time)`
Overrides PHPUnitResultFormatter::addFailure() (parent method not documented) #### Parameters:
PHPUnit_Framework_Test | $test |
PHPUnit_Framework_AssertionFailedError | $e |
| $time |
[ Top ] ### method addIncompleteTest [line 85]
`void addIncompleteTest( $test, $e, $time)`
Overrides PHPUnitResultFormatter::addIncompleteTest() (parent method not documented) #### Parameters:
PHPUnit_Framework_Test | $test |
Exception | $e |
| $time |
[ Top ] ### method addSkippedTest [line 92]
`void addSkippedTest( $test, $e, $time)`
Overrides PHPUnitResultFormatter::addSkippedTest() (parent method not documented) #### Parameters:
PHPUnit_Framework_Test | $test |
Exception | $e |
| $time |
[ Top ] ### method endTestRun [line 113]
`void endTestRun( )`
Overrides PHPUnitResultFormatter::endTestRun() (parent method not documented) [ Top ] ### method endTestSuite [line 53]
`void endTestSuite( $suite)`
Overrides PHPUnitResultFormatter::endTestSuite() (parent method not documented) #### Parameters:
PHPUnit_Framework_TestSuite | $suite |
[ Top ] ### method getExtension [line 36]
`void getExtension( )`
Overrides PHPUnitResultFormatter::getExtension() (Returns the extension used for this formatter) [ Top ] ### method getPreferredOutfile [line 41]
`void getPreferredOutfile( )`
Overrides PHPUnitResultFormatter::getPreferredOutfile() (parent method not documented) [ Top ] ### method startTestSuite [line 46]
`void startTestSuite( $suite)`
Overrides PHPUnitResultFormatter::startTestSuite() (parent method not documented) #### Parameters:
PHPUnit_Framework_TestSuite | $suite |
[ Top ] Documentation generated on Mon, 19 Oct 2009 10:51:44 +0200 by phpDocumentor 1.4.3