From b276edf04ff87f8f58b6424e0fb9e9d891d01b7e Mon Sep 17 00:00:00 2001
From: smaguin <smaguin@localhost>
Date: Fri, 07 Dec 2007 15:41:58 +0000
Subject: [PATCH] fix identation pb
---
opends/tests/functional-tests/testcases/tasks/export-ldif.xml | 251 ++++++++++++++++++++++++-------------------------
1 files changed, 123 insertions(+), 128 deletions(-)
diff --git a/opends/tests/functional-tests/testcases/tasks/export-ldif.xml b/opends/tests/functional-tests/testcases/tasks/export-ldif.xml
index cceabde..8fa9adf 100644
--- a/opends/tests/functional-tests/testcases/tasks/export-ldif.xml
+++ b/opends/tests/functional-tests/testcases/tasks/export-ldif.xml
@@ -24,19 +24,18 @@
! CDDL HEADER END
!
! Portions Copyright 2006-2007 Sun Microsystems, Inc.
- ! -->
+! -->
<stax>
<defaultcall function="export-ldif"/>
<function name="export-ldif" scope="local">
<block name="STAXCurrentFunction">
- <sequence>
- <script>
- CurrentTestPath['suite']=STAXCurrentFunction
- </script>
- <call function="'testSuite_Preamble'" />
-
-
- <!--- Test Suite information
+ <sequence>
+ <script>
+ CurrentTestPath['suite']=STAXCurrentFunction
+ </script>
+ <call function="'testSuite_Preamble'" />
+
+ <!--- Test Suite information
#@TestSuiteName Tasks
#@TestSuitePurpose Verify that the basic export functionality is working in mode task
#@TestSuiteID export Tests
@@ -47,7 +46,7 @@
-->
- <!--- Test Case information
+ <!--- Test Case information
#@TestMarker Backend export Tests
#@TestName Backend: export: LDIF Default
#@TestID LDIF Default
@@ -59,45 +58,42 @@
#@TestResult
-->
- <testcase name="getTestCaseName('schedule export-ldif task for immediate execution in asynchronous mode')">
- <sequence>
- <call function="'testCase_Preamble'"/>
-
-
-
- <call function="'exportLdif'">
- { 'location' : STAF_REMOTE_HOSTNAME ,
- 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
- 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
- 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
- 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
- 'ldifFile' : '%s/tasks/export_asynchronous' % logsRemoteDataDir,
- 'startTask' : '0',
- 'backEnd' : 'userRoot'}
- </call>
-
- <message>'--- Check log files export_asynchronous ---'</message>
- <call function="'listFolder'">
- { 'location' : '%s' % (STAF_REMOTE_HOSTNAME),
- 'foldername' : '%s/tasks' % logsRemoteDataDir,
- 'filename' : 'export_asynchronous'
- }
- </call>
-
- <!-- check the export ldif file has been created-->
- <if expr="len(cmdResult) == 0">
- <call function="'testFailed'"/>
+ <testcase name="getTestCaseName('schedule export-ldif task for immediate execution in asynchronous mode')">
+ <sequence>
+ <call function="'testCase_Preamble'"/>
+
+ <call function="'exportLdif'">
+ { 'location' : STAF_REMOTE_HOSTNAME ,
+ 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
+ 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
+ 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
+ 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
+ 'ldifFile' : '%s/tasks/export_asynchronous' % logsRemoteDataDir,
+ 'startTask' : '0',
+ 'backEnd' : 'userRoot'}
+ </call>
+ <message>'--- Check log files export_asynchronous ---'</message>
+ <call function="'listFolder'">
+ { 'location' : '%s' % (STAF_REMOTE_HOSTNAME),
+ 'foldername' : '%s/tasks' % logsRemoteDataDir,
+ 'filename' : 'export_asynchronous'
+ }
+ </call>
+
+ <!-- check the export ldif file has been created-->
+ <if expr="len(cmdResult) == 0">
+ <call function="'testFailed'"/>
<else>
- <call function="'testPassed'"/>
+ <call function="'testPassed'"/>
</else>
- </if>
-
- <call function="'testCase_Postamble'"/>
- </sequence>
- </testcase>
-
-
- <!--- Test Case information
+ </if>
+
+ <call function="'testCase_Postamble'"/>
+ </sequence>
+ </testcase>
+
+
+ <!--- Test Case information
#@TestMarker Backend export Tests
#@TestName Backend: export: LDIF Default
#@TestID LDIF Default
@@ -109,43 +105,42 @@
#@TestResult
-->
- <testcase name="getTestCaseName('schedule export-ldif task for immediate execution in synchronous mode')">
- <sequence>
- <call function="'testCase_Preamble'"/>
-
-
- <call function="'exportLdif'">
- { 'location' : STAF_REMOTE_HOSTNAME ,
- 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
- 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
- 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
- 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
- 'ldifFile' : '%s/tasks/export_synchronous' % logsRemoteDataDir,
- 'backEnd' : 'userRoot'}
- </call>
-
-
- <message>'--- Check log files ---'</message>
- <call function="'listFolder'">
- { 'location' : '%s' % (STAF_REMOTE_HOSTNAME),
- 'foldername' : '%s/tasks' % logsRemoteDataDir,
- 'filename' : 'export_synchronous'
- }
- </call>
- <!-- check the export ldif file has been created-->
- <if expr="len(cmdResult) == 0">
- <call function="'testFailed'"/>
+ <testcase name="getTestCaseName('schedule export-ldif task for immediate execution in synchronous mode')">
+ <sequence>
+ <call function="'testCase_Preamble'"/>
+
+ <call function="'exportLdif'">
+ { 'location' : STAF_REMOTE_HOSTNAME ,
+ 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
+ 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
+ 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
+ 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
+ 'ldifFile' : '%s/tasks/export_synchronous' % logsRemoteDataDir,
+ 'backEnd' : 'userRoot'}
+ </call>
+
+
+ <message>'--- Check log files ---'</message>
+ <call function="'listFolder'">
+ { 'location' : '%s' % (STAF_REMOTE_HOSTNAME),
+ 'foldername' : '%s/tasks' % logsRemoteDataDir,
+ 'filename' : 'export_synchronous'
+ }
+ </call>
+ <!-- check the export ldif file has been created-->
+ <if expr="len(cmdResult) == 0">
+ <call function="'testFailed'"/>
<else>
- <call function="'testPassed'"/>
+ <call function="'testPassed'"/>
</else>
- </if>
-
- <call function="'testCase_Postamble'"/>
- </sequence>
- </testcase>
-
-
- <!--- Test Case information
+ </if>
+
+ <call function="'testCase_Postamble'"/>
+ </sequence>
+ </testcase>
+
+
+ <!--- Test Case information
#@TestMarker Backend export Tests
#@TestName Backend: export: LDIF Default
#@TestID LDIF Default
@@ -157,55 +152,55 @@
#@TestResult
-->
- <testcase name="getTestCaseName('schedule export-ldif task for scheduled execution in asynchronous mode')">
- <sequence>
- <call function="'testCase_Preamble'"/>
-
-
- <call function="'exportLdif'">
- { 'location' : STAF_REMOTE_HOSTNAME ,
- 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
- 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
- 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
- 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
- 'ldifFile' : '%s/tasks/export_schedule_asynchronous' % logsRemoteDataDir,
- 'startTask' : '20061212000000',
- 'backEnd' : 'userRoot'}
- </call>
-
- <message>'--- Check log files export_asynchronous ---'</message>
- <call function="'listFolder'">
- { 'location' : '%s' % (STAF_REMOTE_HOSTNAME),
- 'foldername' : '%s/tasks' % logsRemoteDataDir,
- 'filename' : 'export_schedule_asynchronous'
- }
- </call>
-
- <!-- check the export ldif file has been created-->
- <if expr="len(cmdResult) == 0">
- <call function="'testFailed'"/>
+ <testcase name="getTestCaseName('schedule export-ldif task for scheduled execution in asynchronous mode')">
+ <sequence>
+ <call function="'testCase_Preamble'"/>
+
+
+ <call function="'exportLdif'">
+ { 'location' : STAF_REMOTE_HOSTNAME ,
+ 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
+ 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
+ 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
+ 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
+ 'ldifFile' : '%s/tasks/export_schedule_asynchronous' % logsRemoteDataDir,
+ 'startTask' : '20061212000000',
+ 'backEnd' : 'userRoot'}
+ </call>
+
+ <message>'--- Check log files export_asynchronous ---'</message>
+ <call function="'listFolder'">
+ { 'location' : '%s' % (STAF_REMOTE_HOSTNAME),
+ 'foldername' : '%s/tasks' % logsRemoteDataDir,
+ 'filename' : 'export_schedule_asynchronous'
+ }
+ </call>
+
+ <!-- check the export ldif file has been created-->
+ <if expr="len(cmdResult) == 0">
+ <call function="'testFailed'"/>
<else>
- <call function="'testPassed'"/>
+ <call function="'testPassed'"/>
</else>
- </if>
-
-
- <call function="'RestartDs'">
- { 'dsHost' : DIRECTORY_INSTANCE_HOST,
+ </if>
+
+
+ <call function="'RestartDs'">
+ { 'dsHost' : DIRECTORY_INSTANCE_HOST,
'dsPort' : DIRECTORY_INSTANCE_PORT,
'dsBindDN' : DIRECTORY_INSTANCE_DN,
'dsBindPwd' : DIRECTORY_INSTANCE_PSWD
- }
- </call>
-
-
- <call function="'testCase_Postamble'"/>
- </sequence>
- </testcase>
-
-
- <call function="'testSuite_Postamble'" />
- </sequence>
- </block>
-</function>
+ }
+ </call>
+
+
+ <call function="'testCase_Postamble'"/>
+ </sequence>
+ </testcase>
+
+
+ <call function="'testSuite_Postamble'" />
+ </sequence>
+ </block>
+ </function>
</stax>
--
Gitblit v1.10.0