From 86dfc127e601dd93d0625285d1fcab4a2a6bc2a3 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 22 Sep 2006 04:24:42 +0000 Subject: [PATCH] Add stylesheets of 1.0Beta1 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448803 13f79535-47bb-0310-9956-ffa450edef68 --- src/tests/antunit/junit-frames.xsl | 888 +++++++++++++++++++++++++++ src/tests/antunit/junit-noframes.xsl | 484 +++++++++++++++ 2 files changed, 1372 insertions(+) create mode 100644 src/tests/antunit/junit-frames.xsl create mode 100644 src/tests/antunit/junit-noframes.xsl diff --git a/src/tests/antunit/junit-frames.xsl b/src/tests/antunit/junit-frames.xsl new file mode 100644 index 000000000..8a456b9a3 --- /dev/null +++ b/src/tests/antunit/junit-frames.xsl @@ -0,0 +1,888 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AntUnit Test Results. + + + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + +body { + font:normal 68% verdana,arial,helvetica; + color:#000000; +} +table tr td, table tr th { + font-size: 68%; +} +table.details tr th{ + font-weight: bold; + text-align:left; + background:#a6caf0; +} +table.details tr td{ + background:#eeeee0; +} + +p { + line-height:1.5em; + margin-top:0.5em; margin-bottom:1.0em; +} +h1 { + margin: 0px 0px 5px; font: 165% verdana,arial,helvetica +} +h2 { + margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica +} +h3 { + margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica +} +h4 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h5 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h6 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +.Error { + font-weight:bold; color:red; +} +.Failure { + font-weight:bold; color:purple; +} +.Properties { + text-align:right; +} + + + + + + + + + + All Failures + + + All Errors + + + All Tests + + + + + AntUnit Test Results: <xsl:value-of select="$title"/> + + + + + + open('allprojects-frame.html','projectListFrame') + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + + + + + . + + + AntUnit Test Results: <xsl:value-of select="$project.name"/> + + + + + + + + +

Project

+ + + + + +
+ + + +

Failures

+
+ +

Errors

+
+ +

Tests

+
+
+ + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + cur = TestCases['.'] = new Array(); + + + cur[''] = ''; + + + + + + + + + + + AntUnit Test Projects: <xsl:value-of select="$name"/> + + + + + + + + + +
+

+ + <none> +

+
+ +

Projects

+ + + + + + + +
+ +
+ + +
+ + + + + + + All AntUnit Test Projects + + + + + +

Projects

+ + + + +
+ + +
+ + + + + + + + + / + _.html + + + + + + + + + + + + + All AntUnit Test Directories + + + + + +

Home

+

Directories

+ + + + +
+ + +
+ + + + + + + <none> + + + + + + + + + + AntUnit Test Results: Summary + + + + + + open('allprojects-frame.html','projectListFrame') + +

Summary

+ + + + + + + + + + + + + + + + + Error + Failure + Pass + + + + + + + + +
TestsFailuresErrorsSuccess rateTime
+ + + + + + + +
+ + + + +
+ Note: failures are anticipated and checked for with assertions while errors are unanticipated. +
+ +

Directories

+ + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + +
+ + <none> + + + + +
+ + +
+ + + + + + + + + + + + open('directory-frame.html','projectListFrame') + +

Directory

+ + + + + +

Projects

+

+ + + + + +
+

+
+ + +
+ + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + +

AntUnit Test Results

+ + + + + +
Designed for use with AntUnit and Ant.
+
+
+ + + + + Name + Tests + Errors + Failures + Time(s) + Time Stamp + Host + + + + + + + + + Project + + Name + Status + Type + Time(s) + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + Failure + TableRowColor + + + + + + + + + + + + + + + + + + + + + + Failure + + + + Error + + + + Success + + + + + + + + + + + + + + + + + + + + +

+ + + + + + + +
+ + + + + N/A + + + + + + +

+ at line + + + , column + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/src/tests/antunit/junit-noframes.xsl b/src/tests/antunit/junit-noframes.xsl new file mode 100644 index 000000000..7c29f172a --- /dev/null +++ b/src/tests/antunit/junit-noframes.xsl @@ -0,0 +1,484 @@ + + + + + + + + + AntUnit Test Results + + + + + + + + + +
+ + + +
+ + + +
+ + + + + + +
+ + + + + + + + +

Directories

+ Note: directory statistics are not computed recursively, they only sum up all of its testsuites numbers. + + + + + + + + + + + + + + + + + Failure + Error + + + + + + + + + + + +
+ + + +
+
+ + + + + + + + + + + + +

Directory

+ + + + + + +
+ Back to top +

+

+ + + + + + + + +

Project

+ + + + + + + + + + +
+ +

+ + Back to top + + + + +

Summary

+ + + + + + + + + + + + + + + + + Failure + Error + + + + + + + + + +
TestsFailuresErrorsSuccess rateTime
+ + + + + + + +
+ + + + +
+ Note: failures are anticipated and checked for with assertions while errors are unanticipated. +
+
+ + + + + + +

Unit Test Results

+ + + + + +
Designed for use with AntUnit and Ant.
+
+
+ + + + Name + Tests + Errors + Failures + Time(s) + + + + + + + Name + Tests + Errors + Failures + Time(s) + Time Stamp + Host + + + + + + + Name + Status + Type + Time(s) + + + + + + + + + + + Failure + Error + + + + + + + + + + + + + + + + + + + + + + + Error + Failure + TableRowColor + + + + + + Failure + + + + Error + + + + Success + + + + + + + + + + + + + + + + + + + +

+ + + + + + + +
+ + + + + N/A + + + + + + +

+ at line + + + , column + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +