From 2854630bca527d8a3f59fca0163b0467ad2e5dba Mon Sep 17 00:00:00 2001 From: Eibwen Date: Fri, 9 Aug 2013 17:51:06 -0500 Subject: [PATCH] Hacked together fixes for html generation to be more userfriendly and accurate --HG-- extra : amend_source : db8db157b4e5279da5c29b008b80226d50713f50 --- .../xsl/NUnit-NoFrame.xsl | 51 ++++++++++++++----- src/NUnit2Report.Console/xsl/toolkit.xsl | 31 +++++++++-- 2 files changed, 65 insertions(+), 17 deletions(-) diff --git a/src/NUnit2Report.Console/xsl/NUnit-NoFrame.xsl b/src/NUnit2Report.Console/xsl/NUnit-NoFrame.xsl index db7b0d5..9ed91a7 100644 --- a/src/NUnit2Report.Console/xsl/NUnit-NoFrame.xsl +++ b/src/NUnit2Report.Console/xsl/NUnit-NoFrame.xsl @@ -33,18 +33,27 @@ span.covered { background: #00df00; border:#9c9c9c 1px solid; + display:block; + height:14px; + float:left; } span.uncovered { background: #df0000; border-top:#9c9c9c 1px solid; border-bottom:#9c9c9c 1px solid; border-right:#9c9c9c 1px solid; + display:block; + height:14px; + float:left; } span.ignored { background: #ffff00; border-top:#9c9c9c 1px solid; border-bottom:#9c9c9c 1px solid; border-right:#9c9c9c 1px solid; + display:block; + height:14px; + float:left; } td { @@ -248,9 +257,10 @@ - + - + + @@ -260,16 +270,17 @@ Failure Error + Ignored Pass - + Failure - + @@ -282,33 +293,47 @@ +   - - width:px - + + width:px + + Success + +   + width:px + + Errors + +   - - width:px - + + width:px + + Failures + +   + + - - + + - + diff --git a/src/NUnit2Report.Console/xsl/toolkit.xsl b/src/NUnit2Report.Console/xsl/toolkit.xsl index e7d5f9c..802c21f 100644 --- a/src/NUnit2Report.Console/xsl/toolkit.xsl +++ b/src/NUnit2Report.Console/xsl/toolkit.xsl @@ -121,6 +121,9 @@ Errors + + Ignored + Success Rate @@ -149,6 +152,9 @@ Failures + + Ignored + Time(s) @@ -186,8 +192,9 @@

Summary

+ - + @@ -198,7 +205,8 @@ Failure - Error + Error + Ignored Pass @@ -208,6 +216,9 @@ + + + @@ -222,19 +233,27 @@ width:px + + Success + 1 +   - + - width:px + width:px + + Errors + +   @@ -242,12 +261,16 @@ width:px + + Failures + 1 +