phing-tasks-ext-formatter

# Class: XMLPHPUnitResultFormatter Source Location: /tasks/ext/phpunit/formatter/XMLPHPUnitResultFormatter.php
### Class Overview
    PHPUnitResultFormatter
       |
       --XMLPHPUnitResultFormatter
Prints XML output of the test to a specified Writer #### Author(s): Michiel Rook <michiel.rook@gmail.com> #### Version: $Id: XMLPHPUnitResultFormatter.php -1 $ | ### Methods __construct addError addFailure addIncompleteTest endTest endTestRun endTestSuite getExtension getPreferredOutfile startTest 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 34] Prints XML output of the test to a specified Writer #### Tags:
author: | Michiel Rook <michiel.rook@gmail.com>
version: | $Id: XMLPHPUnitResultFormatter.php -1 $
since: | 2.1.0
[ Top ] ### Class Methods ### constructor __construct [line 41]
`XMLPHPUnitResultFormatter __construct( )`
[ Top ] ### method addError [line 85]
`void addError( $test, $e, $time)`
Overrides PHPUnitResultFormatter::addError() (parent method not documented) #### Parameters:
PHPUnit_Framework_Test | $test |
Exception | $e |
| $time |
[ Top ] ### method addFailure [line 92]
`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 99]
`void addIncompleteTest( $test, $e, $time)`
Overrides PHPUnitResultFormatter::addIncompleteTest() (parent method not documented) #### Parameters:
PHPUnit_Framework_Test | $test |
Exception | $e |
| $time |
[ Top ] ### method endTest [line 78]
`void endTest( $test, $time)`
Overrides PHPUnitResultFormatter::endTest() (parent method not documented) #### Parameters:
PHPUnit_Framework_Test | $test |
| $time |
[ Top ] ### method endTestRun [line 106]
`void endTestRun( )`
Overrides PHPUnitResultFormatter::endTestRun() (parent method not documented) [ Top ] ### method endTestSuite [line 64]
`void endTestSuite( $suite)`
Overrides PHPUnitResultFormatter::endTestSuite() (parent method not documented) #### Parameters:
PHPUnit_Framework_TestSuite | $suite |
[ Top ] ### method getExtension [line 47]
`void getExtension( )`
Overrides PHPUnitResultFormatter::getExtension() (Returns the extension used for this formatter) [ Top ] ### method getPreferredOutfile [line 52]
`void getPreferredOutfile( )`
Overrides PHPUnitResultFormatter::getPreferredOutfile() (parent method not documented) [ Top ] ### method startTest [line 71]
`void startTest( $test)`
Overrides PHPUnitResultFormatter::startTest() (parent method not documented) #### Parameters:
PHPUnit_Framework_Test | $test |
[ Top ] ### method startTestSuite [line 57]
`void startTestSuite( $suite)`
Overrides PHPUnitResultFormatter::startTestSuite() (parent method not documented) #### Parameters:
PHPUnit_Framework_TestSuite | $suite |
[ Top ] Documentation generated on Mon, 19 Oct 2009 10:52:25 +0200 by phpDocumentor 1.4.3