tasks/ext/phpunit/formatter/XMLPHPUnitResultFormatter.php
\XMLPHPUnitResultFormatter
Package: phing\tasks\ext\formatter
Prints XML output of the test to a specified Writer
- Parent(s)
- \PHPUnitResultFormatter < ?\PHPUnit_Framework_TestListener
- Author
- Michiel Rook
- Since
- 2.1.0
- Version
- $Id: 3d9c47a29ded9b67b3a3e10c55602b0ab2a9ea38 $
Properties

$errorCounts= 'false'
inheritedInherited from:
\PHPUnitResultFormatter::$$errorCounts
Default value
falseDetails- Type
- n/a
- Inherited_from
- \PHPUnitResultFormatter::$$errorCounts

$failureCounts= 'false'
inheritedInherited from:
\PHPUnitResultFormatter::$$failureCounts
Default value
falseDetails- Type
- n/a
- Inherited_from
- \PHPUnitResultFormatter::$$failureCounts

$incompleteCounts= 'false'
inheritedInherited from:
\PHPUnitResultFormatter::$$incompleteCounts
Default value
falseDetails- Type
- n/a
- Inherited_from
- \PHPUnitResultFormatter::$$incompleteCounts

$out= 'NULL'
inheritedInherited from:
\PHPUnitResultFormatter::$$out
Default value
NULLDetails- Type
- n/a
- Inherited_from
- \PHPUnitResultFormatter::$$out

$project= 'NULL'
inheritedInherited from:
\PHPUnitResultFormatter::$$project
Default value
NULLDetails- Type
- n/a
- Inherited_from
- \PHPUnitResultFormatter::$$project

$runCounts= 'false'
inheritedInherited from:
\PHPUnitResultFormatter::$$runCounts
Default value
falseDetails- Type
- n/a
- Inherited_from
- \PHPUnitResultFormatter::$$runCounts

$skipCounts= 'false'
inheritedInherited from:
\PHPUnitResultFormatter::$$skipCounts
Default value
falseDetails- Type
- n/a
- Inherited_from
- \PHPUnitResultFormatter::$$skipCounts

$timers= 'false'
inheritedInherited from:
\PHPUnitResultFormatter::$$timers
Default value
falseDetails- Type
- n/a
- Inherited_from
- \PHPUnitResultFormatter::$$timers
Methods

__construct(
\PHPUnitTask $parentTask
)
:
voidConstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $parentTask | \PHPUnitTask | Calling Task |

addSkippedTest(
$test, $e, $time
)
:
void
inherited
Inherited from:
\PHPUnitResultFormatter::addSkippedTest()
Parameters
| Name | Type | Description |
|---|---|---|
| $test | ||
| $e | ||
| $time |

getExtension(
)
:
stringReturns the extension used for this formatter
Returns
| Type | Description |
|---|---|
| string | the extension |

getIncompleteCount(
)
:
void
inherited
Inherited from:
\PHPUnitResultFormatter::getIncompleteCount()

processResult(
$result
)
:
void
inherited
Inherited from:
\PHPUnitResultFormatter::processResult()
Parameters
| Name | Type | Description |
|---|---|---|
| $result |

setOutput(
$out
)
:
void
inherited
Sets the writer the formatter is supposed to write its results to.
Inherited from: \PHPUnitResultFormatter::setOutput()
Parameters
| Name | Type | Description |
|---|---|---|
| $out |