From f5eac9a33a1cb42528e346a4a58f0af7d7991060 Mon Sep 17 00:00:00 2001
From: smaguin <smaguin@localhost>
Date: Wed, 08 Aug 2007 14:51:56 +0000
Subject: [PATCH] in dsconfig function, replace parameters name
---
opends/tests/functional-tests/shared/functions/dsconfig.xml | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/opends/tests/functional-tests/shared/functions/dsconfig.xml b/opends/tests/functional-tests/shared/functions/dsconfig.xml
index 101c617..ea8dcfc 100755
--- a/opends/tests/functional-tests/shared/functions/dsconfig.xml
+++ b/opends/tests/functional-tests/shared/functions/dsconfig.xml
@@ -25,6 +25,7 @@
!
! Portions Copyright 2006-2007 Sun Microsystems, Inc.
! -->
+
<stax>
<function name="_dsconfigCommonArgs">
@@ -207,6 +208,9 @@
</function>
+
+
+
<!-- generic wrapper on dsconfig -->
<!-- can be used to list, get or set a list of attribues -->
@@ -264,16 +268,16 @@
<function-arg-property name="type" value="string"/>
</function-arg-def>
- <function-arg-def name="propertyName" type="optional">
+ <function-arg-def name="objectType" type="optional">
<function-arg-description>
- Property type to modify, e.g. backend-name
+ Object type to modify, e.g. backend-name
</function-arg-description>
<function-arg-property name="type" value="string"/>
</function-arg-def>
- <function-arg-def name="propertyValue" type="optional">
+ <function-arg-def name="objectName" type="optional">
<function-arg-description>
- Property to modify, e.g. enabled
+ object name to modify, e.g. userroot
</function-arg-description>
<function-arg-property name="type" value="string"/>
</function-arg-def>
@@ -307,8 +311,8 @@
STAFCmdParamsList=[]
STAFCmdParamsList.append('%s' % (subcommand))
- if propertyName:
- STAFCmdParamsList.append('--%s "%s" ' % (propertyName,propertyValue))
+ if objectType:
+ STAFCmdParamsList.append('--%s "%s" ' % (objectType,objectName))
if optionsString:
STAFCmdParamsList.append(' %s' % (optionsString))
</script>
@@ -1780,8 +1784,4 @@
</sequence>
</function>
-
-
-
-
-</stax>
+</stax>
\ No newline at end of file
--
Gitblit v1.10.0