Transform a PHPUnit xml report using XSLT.
This transformation generates an html report in either framed or non-framed style. The non-framed style is convenient to have a concise report via mail, the framed report is much more convenient if you want to browse into different packages or testcases since it is a Javadoc like report.
author |
Michiel Rook mrook@php.net |
---|---|
version |
$Id: 73ee928b954e62bad8f9e4b644a28e56c1e0df85 $ |
package |
phing.tasks.ext.phpunit |
since | 2.1.0 |
fixDocument(\DOMDocument $document)
\DOMDocument
getDescription() : string
string
The text description of the task
getLocation() : \Location
getOwningTarget() : \Target
getProject() : \Project
getRegisterSlot(string $slotName) : \RegisterSlot
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getStyleSheet()
throws | |
---|---|
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws | |
---|---|
log(string $msg, integer $level = \Project::MSG_INFO) : void
string
The message to be logged.
integer
The message's priority at this message should have
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
maybeConfigure()
perform()
throws | |
---|---|
setDescription(string $desc)
string
The text describing the task
setFormat( $format) : void
setInFile(\PhingFile $inFile) : void
setLocation(\Location $location)
setOwningTarget(\Target $target)
setProject(\Project $project) : void
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setStyleDir( $styleDir) : void
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
setToDir(\PhingFile $toDir) : void
setUseSortTable(boolean $useSortTable) : void
boolean
transform(\DOMDocument $document)
throws | |
---|---|
\DOMDocument
format :
styleDir :
useSortTable : boolean
var |
---|
boolean
inFile :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project