From 694f29b025f9f4adc657ceba572b3188c5500787 Mon Sep 17 00:00:00 2001
From: ugaston <ugaston@localhost>
Date: Fri, 18 May 2007 10:49:53 +0000
Subject: [PATCH] Setting execution granularity at Suite level: Part 3

---
 opends/tests/functional-tests/testcases/backends/export.xml |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/backends/export.xml b/opends/tests/functional-tests/testcases/backends/export.xml
index b382ab6..1719a20 100644
--- a/opends/tests/functional-tests/testcases/backends/export.xml
+++ b/opends/tests/functional-tests/testcases/backends/export.xml
@@ -39,6 +39,8 @@
         <sequence>
   
           <script>
+            if not CurrentTestPath.has_key('group'):
+              CurrentTestPath['group']='backends'						  
             CurrentTestPath['suite']=STAXCurrentBlock
           </script>
       
@@ -52,8 +54,17 @@
             #@TestGroup           Backend
             #@TestScript          export.xml
             #@TestHTMLLink        http://opends.dev.java.net/
-         -->    
-                
+          -->
+
+
+          <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
+            file="'%s/testcases/backends/backend_setup.xml' % (TESTS_DIR)"/>
+          <call function="'backend_setup'"> 
+            { 'startDS' : False,
+			  'loadBackend' : True } 
+		  </call>	  
+												    
+			                
                 
          <!-- Create a second instance to import data that was exported from the first instance -->
          <message>
@@ -78,8 +89,9 @@
           
           <!-- Set the server backup the way it was before the backend tests -->
           <call function="'main_quickstart'" />
-          
-          
+
+			          
+         
           <!--- Test Case information
             #@TestMarker          Backend Export Tests
             #@TestName            Backend: Export: LDIF Default 
@@ -2028,8 +2040,16 @@
             #@TestPostamble
             #@TestResult          Success if exportLDIF, importLDIF, and checkImport returns 0
           -->
-                 <!-- Need to know what the error codes are -->
-    
+
+
+                 <!-- Need to know what the error codes are -->									
+
+
+          <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
+            file="'%s/testcases/backends/backend_cleanup.xml' % (TESTS_DIR)"/>
+          <call function="'backend_cleanup'"> { 'stopDS' : False } </call>
+
+												    
         </sequence>
     
       </block>

--
Gitblit v1.10.0