From ff8ba46e826001d8ce3919f5c050c59088c6ffc7 Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Mon, 05 Mar 2012 10:47:30 +0000
Subject: [PATCH] Show OPENDJ- issues in test report for functional tests

---
 opends/tests/staf-tests/shared/xsl/gen-tests-report.xsl |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/opends/tests/staf-tests/shared/xsl/gen-tests-report.xsl b/opends/tests/staf-tests/shared/xsl/gen-tests-report.xsl
index a1425ef..08ca76a 100644
--- a/opends/tests/staf-tests/shared/xsl/gen-tests-report.xsl
+++ b/opends/tests/staf-tests/shared/xsl/gen-tests-report.xsl
@@ -492,7 +492,14 @@
                     </xsl:otherwise>
                   </xsl:choose>
                 </xsl:attribute>
-                <xsl:value-of select="concat('OPENDS-',@id)"/>
+                <xsl:choose>
+                  <xsl:when test="starts-with(@id,'OPENDJ')">
+                    <xsl:value-of select="concat('OPENDJ-',@id)"/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:value-of select="concat('OPENDS-',@id)"/>
+                  </xsl:otherwise>
+                </xsl:choose>`
               </xsl:element>
             </xsl:for-each>
           </xsl:element>

--
Gitblit v1.10.0