From 139a4e427bf7128fee93b33af3da9884172c32f8 Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Mon, 07 Mar 2011 14:26:29 +0000
Subject: [PATCH] functional test reports link to OpenDS JIRA issues

---
 opends/tests/staf-tests/shared/xsl/testspec-stylesheet.xsl |    5 +++--
 opends/tests/staf-tests/shared/xsl/gen-tests-report.xsl    |    5 +++--
 2 files changed, 6 insertions(+), 4 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 7a926ad..a252c78 100644
--- a/opends/tests/staf-tests/shared/xsl/gen-tests-report.xsl
+++ b/opends/tests/staf-tests/shared/xsl/gen-tests-report.xsl
@@ -25,6 +25,7 @@
  ! CDDL HEADER END
  !
  !      Copyright 2008-2009 Sun Microsystems, Inc.
+ !      Portions Copyright 2011 ForgeRock AS
  ! -->
 
 <xsl:output method="html" version="4.0" encoding="iso-8859-1" indent="yes"/>
@@ -482,9 +483,9 @@
               <xsl:value-of select="' '"/>
               <xsl:element name="a">
                 <xsl:attribute name="href">
-                  <xsl:value-of select="concat('https://opends.dev.java.net/issues/show_bug.cgi?id=',@id)"/>
+                  <xsl:value-of select="concat('http://java.net/jira/browse/OPENDS-',@id)"/>
                 </xsl:attribute>
-                <xsl:value-of select="@id"/>
+                <xsl:value-of select="concat('OPENDS-',@id)"/>
               </xsl:element>
             </xsl:for-each>
           </xsl:element>
diff --git a/opends/tests/staf-tests/shared/xsl/testspec-stylesheet.xsl b/opends/tests/staf-tests/shared/xsl/testspec-stylesheet.xsl
index 4eee528..8de24cb 100644
--- a/opends/tests/staf-tests/shared/xsl/testspec-stylesheet.xsl
+++ b/opends/tests/staf-tests/shared/xsl/testspec-stylesheet.xsl
@@ -25,6 +25,7 @@
  ! CDDL HEADER END
  !
  !      Copyright 2007-2008 Sun Microsystems, Inc.
+ !      Portions Copyright 2011 ForgeRock AS
  ! -->
 
 <xsl:output method="html"/>
@@ -319,9 +320,9 @@
                 <xsl:element name="td">
                   <xsl:element name="a">
                     <xsl:attribute name="href">
-                      <xsl:value-of select="concat('https://opends.dev.java.net/issues/show_bug.cgi?id=',testissue)"/>
+                      <xsl:value-of select="concat('http://java.net/jira/browse/OPENDS-',testissue)"/>
                     </xsl:attribute>
-                    <xsl:value-of select="testissue"/>
+                    <xsl:value-of select="concat('OPENDS-',testissue)"/>
                   </xsl:element>
                 </xsl:element>
               </xsl:element>

--
Gitblit v1.10.0