public class ReportTransformer
extends org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer
Constructor and Description |
---|
ReportTransformer(org.apache.tools.ant.Task task)
Creates a new
. |
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Creates the current classpath.
|
org.apache.tools.ant.taskdefs.XSLTProcess.Param |
createParam()
Create an instance of an XSL parameter for configuration by Ant.
|
protected org.apache.tools.ant.types.Resource |
getStylesheet()
Access the stylesheet to be used as a resource.
|
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Sets an additional classpath.
|
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
Sets a reference to a classpath.
|
void |
transform()
Performs the XSLT transformation to generate the HTML report.
|
public ReportTransformer(org.apache.tools.ant.Task task)
ReportTransformer
.task
- task delegating to this class.public org.apache.tools.ant.taskdefs.XSLTProcess.Param createParam()
createParam
in class org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer
Param
class to be configured.public void transform() throws org.apache.tools.ant.BuildException
transform
in class org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer
org.apache.tools.ant.BuildException
- thrown if something goes wrong with the transformation.protected org.apache.tools.ant.types.Resource getStylesheet()
getStylesheet
in class org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer
public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath
- the additional classpath to append to the current one.public void setClasspathRef(org.apache.tools.ant.types.Reference r)
r
- the reference to set.public org.apache.tools.ant.types.Path createClasspath()
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.