|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer
org.fest.swing.junit.ant.ReportTransformer
public class ReportTransformer
Transforms a JUnit XML report. The default transformation generates an HTML report in either framed or non-framed style.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer |
---|
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.Format |
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer |
---|
dbfactory, document, format, FRAMES, NOFRAMES, styleDir, task, toDir |
Constructor Summary | |
---|---|
ReportTransformer(org.apache.tools.ant.Task task)
Creates a new . |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer |
---|
checkOptions, getDocumentBuilderFactory, getStylesheetSystemId, setExtension, setFormat, setStyledir, setTodir, setXmlDocument, setXmlfile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportTransformer(org.apache.tools.ant.Task task)
ReportTransformer
.
task
- task delegating to this class.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |