From ba62d7868f5fceb574f3631804af1c61e7f21f8b Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Tue, 06 May 2008 16:30:33 +0000
Subject: [PATCH] allow report to display links + add a new xsl to parse client details log
---
opends/tests/system-tests/phases/scheduler/scheduler.xml | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/opends/tests/system-tests/phases/scheduler/scheduler.xml b/opends/tests/system-tests/phases/scheduler/scheduler.xml
index 9cfccb8..2058290 100755
--- a/opends/tests/system-tests/phases/scheduler/scheduler.xml
+++ b/opends/tests/system-tests/phases/scheduler/scheduler.xml
@@ -404,12 +404,14 @@
<call function="'writeMessage'">
{
'content' : 'Details of the client : %s' % logFileDetails,
+ 'xlink' : logFileDetails,
'fileFd' : fileFd
}
</call>
<call function="'writeMessage'">
{
'content' : 'Client outPuts : %s' % outFile,
+ 'xlink' : outFile,
'fileFd' : fileFd
}
</call>
@@ -457,10 +459,18 @@
<!-- ==== Log info ====================================-->
<!--== Write root tag for xml details file -->
+ <script>
+ str = '<?xml version=\"1.0\" encoding=\"UTF-8\"'
+ str = '%s standalone=\"no\"?>\n' % str
+ str = '%s <?xml-stylesheet type="text/xsl"' % str
+ str = '%s href="clientDetails.xsl"?>\n' % str
+ fileFd.write(str)
+ </script>
<call function="'writeStartTagClient'">
{
- 'client' : client,
- 'fileFd' : fileFd
+ 'client' : client,
+ 'extraParameters' : 'xmlns:xlink="http://www.w3.org/1999/xlink"',
+ 'fileFd' : fileFd
}
</call>
--
Gitblit v1.10.0