From 9dde9d2af6504fa06e7a2d4fb43549a74dd5e868 Mon Sep 17 00:00:00 2001
From: ugaston <ugaston@localhost>
Date: Tue, 10 Jul 2007 20:50:17 +0000
Subject: [PATCH] New basic replication testcases + new shared functions library (tools.xml)
---
opends/tests/functional-tests/testcases/replication/replication_setup.xml | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/opends/tests/functional-tests/testcases/replication/replication_setup.xml b/opends/tests/functional-tests/testcases/replication/replication_setup.xml
index b80ec43..88d08e0 100644
--- a/opends/tests/functional-tests/testcases/replication/replication_setup.xml
+++ b/opends/tests/functional-tests/testcases/replication/replication_setup.xml
@@ -30,23 +30,27 @@
<defaultcall function="replication_setup"/>
<function name="replication_setup">
-
+ <function-map-args>
+ <function-arg-def name="topologyFile" type="optional" default="'%s/config/replication/basic_topology.txt' % TESTS_DIR">
+ <function-arg-description>
+ Pathname to file describing the topology.
+ </function-arg-description>
+ <function-arg-property name="type" value="filepath"/>
+ </function-arg-def>
+ </function-map-args>
+
<sequence>
<block name="'replication-setup'">
<sequence>
-
- <script>
- basicTopologyFile = '%s/config/replication/basic_topology.txt' % TESTS_DIR
- </script>
<message>
- 'Create DS topology as described in %s' % basicTopologyFile
+ 'Create DS topology as described in %s' % topologyFile
</message>
<call function="'createTopology'">
- { 'topologyDescFile' : basicTopologyFile,
+ { 'topologyDescFile' : topologyFile,
'sharedDataFolder' : 'replication' }
</call>
--
Gitblit v1.10.0