From 94191c3f6bfa29d75c519803da8de08bc9e7cc7d Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Fri, 04 Apr 2008 14:52:15 +0000
Subject: [PATCH] add client tag management for the reports
---
opends/tests/system-tests/scenario/sample2/post_configuration.xml | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/opends/tests/system-tests/scenario/sample2/post_configuration.xml b/opends/tests/system-tests/scenario/sample2/post_configuration.xml
index 821a357..5389031 100644
--- a/opends/tests/system-tests/scenario/sample2/post_configuration.xml
+++ b/opends/tests/system-tests/scenario/sample2/post_configuration.xml
@@ -41,6 +41,11 @@
suffix class
</function-arg-description>
</function-arg-def>
+ <function-arg-def name="scheduler" type="required">
+ <function-arg-description>
+ suffix class
+ </function-arg-description>
+ </function-arg-def>
</function-map-args>
<sequence>
@@ -111,6 +116,34 @@
</iterate>
+ <!-- ================= Display client names ================ -->
+ <!--== Get the enabled clients list from all modules ==-->
+ <call function="'getEnabledClients'">{'scheduler':scheduler}</call>
+ <script>clients = STAXResult </script>
+
+ <iterate in="clients" var="client">
+ <sequence>
+ <!-- == Write tag for xml report -->
+ <call function="'writeStartTagClient'">
+ {
+ 'client' : client,
+ 'fileFd' : LOG_MAIN_FD
+ }
+ </call>
+
+ <call function="'writeMessage'">
+ {
+ 'fileFd' : LOG_MAIN_FD,
+ 'content' : 'my client is : %s' % client.getName()
+ }
+ </call>
+
+ <!-- == Write tag for xml report -->
+ <call function="'writeEndTagClient'">
+ { 'fileFd' : LOG_MAIN_FD }
+ </call>
+ </sequence>
+ </iterate>
<!-- ================= Call postambule ======================= -->
--
Gitblit v1.10.0