From e14ed0ae5032b80c3ee37ca440c757723403ae25 Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Thu, 08 Mar 2012 17:13:25 +0000
Subject: [PATCH] Re-write of password policy functional tests part 1

---
 opends/tests/staf-tests/shared/functions/topology.xml |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/opends/tests/staf-tests/shared/functions/topology.xml b/opends/tests/staf-tests/shared/functions/topology.xml
index f8d917f..1e043ff 100755
--- a/opends/tests/staf-tests/shared/functions/topology.xml
+++ b/opends/tests/staf-tests/shared/functions/topology.xml
@@ -2109,13 +2109,19 @@
         </function-arg-description>
         <function-arg-property name="type" value="structure"/>
       </function-arg-def>
+     <function-arg-def name="friendlyName" type="optional" default="'Common'">
+        <function-arg-description>
+          Friendly name for the common setup launcher
+        </function-arg-description>
+        <function-arg-property name="type" value="structure"/>
+      </function-arg-def>
     </function-map-args>
 
     <sequence>
 
       <block name="'common-setup'">
 
-        <testcase name="getTestCaseName('Common Setup')">
+        <testcase name="getTestCaseName('%s Setup' % friendlyName)">
 
           <try>      
         
@@ -2334,12 +2340,18 @@
         </function-arg-description>
         <function-arg-property name="type" value="boolean"/>
      </function-arg-def>
+     <function-arg-def name="friendlyName" type="optional" default="'Common'">
+        <function-arg-description>
+          Friendly name for the common cleanup launcher
+        </function-arg-description>
+        <function-arg-property name="type" value="structure"/>
+      </function-arg-def>
    </function-map-args>
     <sequence>
 
       <block name="'common-cleanup'">
 
-        <testcase name="getTestCaseName('Common Cleanup')">
+        <testcase name="getTestCaseName('%s Cleanup' % friendlyName)">
 
           <try>
           

--
Gitblit v1.10.0