From f33a70b7e5f859d6ab26446b2dbbda312125dd6f Mon Sep 17 00:00:00 2001 From: Stephane Bailliez Date: Tue, 7 Aug 2001 22:38:49 +0000 Subject: [PATCH] Updated the documentation to reflect stylesheet changes and thus customization. Also updated Xalan information with a direct link for Xalan 1.2.2 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269509 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/OptionalTasks/junitreport.html | 41 ++++------------------ 1 file changed, 7 insertions(+), 34 deletions(-) diff --git a/docs/manual/OptionalTasks/junitreport.html b/docs/manual/OptionalTasks/junitreport.html index 435dc90b4..696836ec0 100644 --- a/docs/manual/OptionalTasks/junitreport.html +++ b/docs/manual/OptionalTasks/junitreport.html @@ -10,8 +10,11 @@ Merge the individual XML files generated by the JUnit task and eventually apply a stylesheet on the resulting merged document to provide a browsable report of the testcases results.

Requirements

-

You need  Xalan 1 to use this -task or use the Xalan1 compatibility jar of Xalan2.

+

The task will run with either Xalan 2.x +or Xalan 1.2.2. +

+Note:For a framed format Xalan 1.2.2 will need Xerces(xerces.jar) as well as BSF(bsf.jar) +that can be found in the distribution archive.

Parameters

@@ -56,33 +59,9 @@ element.

@@ -93,12 +72,6 @@ element.

transformation should be written to. - - - - -
styledir The directory where the stylesheets are defined. They must be conforming to the following conventions: -

For the noframes format, only the stylesheet overview-summary.xsl is - used.

-

For the frames format, the result will be javadoc-like. List of package - will be in top left frame, the list of classes in bottom left frame and - the details/summary in the main window.  It uses the following XSLs:

    -
  • all-packages.xsl - creates an all-packages.html file that - contains the list of all packages (top-left frame) with links to their - corresponding package-summary.html files in their respective - location (package name matches path name)
  • -
  • all-classes.xsl - creates an all-classes.html file that contains the - whole list of classes in all packages with links to their - corresponding <classname>-details.html in their - respective package directory.
  • -
  • overview-packages.xsl - creates an overview-packages.html - that makes a summary of all packages and classes not belonging to a - package.
  • -
  • class-details.xsl - creates a detailed page about the testcases of a - testsuite. This this xsl will be applied on all testsuites and written - to the <classname>-details.html file located in their - respective package directory.
  • -
  • package-summary.xsl - create a testsuite summary for a package. This - will be written to package-summary.html in its corresponding package - directory.
  • -
  • classes-list.xsl - creates the list of classes belonging to a - specific package. This will be written to classes-list.html  in - its corresponding package directory.
  • +
  • frames format: the stylesheet must be named junit-frames.xsl.
  • +
  • noframes format: the stylesheet must be named junit-noframes.xsl.
No. Default to embedded stylesheets. No. Default to current directory
extensionThe extension of the generated files, they must include the - dot (ex: .html)No. Default to .html

Example of report