From 90d2715be23a2bc05a6c4ffcccf3a5ea1a773a5c Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Sat, 9 Sep 2006 19:45:32 +0000 Subject: [PATCH] tweak JUnitReport stylesheets to work with AntUnit's XML output git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@441849 13f79535-47bb-0310-9956-ffa450edef68 --- src/etc/junit-frames.xsl | 33 +++++--- src/etc/junit-noframes.xsl | 149 +++++++++++++++++++--------------- src/etc/testcases/antunit.xml | 6 ++ 3 files changed, 113 insertions(+), 75 deletions(-) diff --git a/src/etc/junit-frames.xsl b/src/etc/junit-frames.xsl index 82e405b..8a456b9 100644 --- a/src/etc/junit-frames.xsl +++ b/src/etc/junit-frames.xsl @@ -694,7 +694,7 @@ h6 { - +
Designed for use with AntUnit and Ant.Designed for use with AntUnit and Ant.

@@ -739,7 +739,7 @@ h6 { - + @@ -827,6 +827,15 @@ h6 { + +

+ + + + + + +
@@ -837,15 +846,17 @@ h6 {
- -

- - - - - - - + + +

+ at line + + + , column + + +
+
diff --git a/src/etc/junit-noframes.xsl b/src/etc/junit-noframes.xsl index 031ddac..7c29f17 100644 --- a/src/etc/junit-noframes.xsl +++ b/src/etc/junit-noframes.xsl @@ -5,21 +5,23 @@ doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" /> +http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> @@ -127,12 +131,12 @@
- - + +
- - + +
@@ -145,24 +149,24 @@ - - + + - -

Packages

- Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers. + +

Directories

+ Note: directory statistics are not computed recursively, they only sum up all of its testsuites numbers. - + - - - - - + + + + + - + @@ -180,8 +184,8 @@ - - + +
@@ -189,21 +193,21 @@ - + - - + + -

Package

+

Directory

- +
Back to top @@ -217,7 +221,7 @@ -

TestCase

+

Project

@@ -232,12 +236,14 @@
+

Back to top @@ -246,10 +252,10 @@

Summary

- - - - + + + + @@ -295,13 +301,15 @@ Write properties into a JavaScript data structure. This is based on the original idea by Erik Hatcher (ehatcher@apache.org) --> + @@ -309,7 +317,7 @@
- +
Designed for use with JUnit and Ant.Designed for use with AntUnit and Ant.

@@ -355,19 +363,19 @@ - Failure - Error + Failure + Error - - - + + + - + @@ -379,7 +387,9 @@ - Error + Error + Failure + TableRowColor @@ -399,7 +409,7 @@ - + @@ -412,6 +422,15 @@ + +

+ + + + + + +
@@ -422,15 +441,17 @@ - - -

- - - -
- - + + +

+ at line + + + , column + + +
+
diff --git a/src/etc/testcases/antunit.xml b/src/etc/testcases/antunit.xml index 4b6567f..4111848 100644 --- a/src/etc/testcases/antunit.xml +++ b/src/etc/testcases/antunit.xml @@ -78,11 +78,17 @@ under the License. + + + + + + At least one test has failed \ No newline at end of file